Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
feat: Default database is SQLite
Clémence Lesné7ea2519464f6
diff --git a/README.md b/README.mdindex 99d6775..942011d 100644--- a/README.md+++ b/README.md@@ -250,15 +250,6 @@ Place a file called `config.yaml` in the root of the project with the followingapi:root_path: "/"-database:- # mode: cosmos_db- # cosmos_db:- # access_key: xxx- # container: calls- # database: claim-ai- # endpoint: https://xxx.documents.azure.com:443- sqlite: {}-resources:public_url: "https://xxx.blob.core.windows.net/public"diff --git a/helpers/config_models/database.py b/helpers/config_models/database.pyindex c187b6a..b3da8de 100644--- a/helpers/config_models/database.py+++ b/helpers/config_models/database.py@@ -34,7 +34,7 @@ class SqliteModel(BaseModel, frozen=True):class DatabaseModel(BaseModel, frozen=True):cosmos_db: Optional[CosmosDbModel] = Nonemode: ModeEnum = ModeEnum.SQLITE- sqlite: Optional[SqliteModel] = None+ sqlite: Optional[SqliteModel] = SqliteModel() # Object is fully defined by default@field_validator("cosmos_db")def validate_cosmos_db(diff --git a/helpers/config_models/root.py b/helpers/config_models/root.pyindex 5bb0f68..6be4110 100644--- a/helpers/config_models/root.py+++ b/helpers/config_models/root.py@@ -33,7 +33,7 @@ class RootModel(BaseSettings):cognitive_service: CognitiveServiceModelcommunication_service: CommunicationServiceModelcontent_safety: ContentSafetyModel- database: DatabaseModel+ database: DatabaseModel = DatabaseModel() # Object is fully defined by defaultmonitoring: MonitoringModel = (MonitoringModel()) # Object is fully defined by default