Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

doc: Place remote install before local install

Clémence Lesné884eb3028909
diff --git a/README.md b/README.md
index e65c4a8..c86aa9c 100644
--- a/README.md
+++ b/README.md
@@ -195,6 +195,56 @@ sequenceDiagram
PSTN->>Customer: Forward voice
```
+## Remote deployment
+
+Container is available on GitHub Actions, at:
+
+- Latest version from a branch: `ghcr.io/clemlesne/claim-ai-phone-bot:main`
+- Specific tag: `ghcr.io/clemlesne/claim-ai-phone-bot:0.1.0` (recommended)
+
+Create a local `config.yaml` file (most of the fields are filled automatically by the deployment script):
+
+```yaml
+# config.yaml
+api: {}
+
+database:
+ cosmos_db: {}
+
+resources: {}
+
+workflow:
+ agent_phone_number: "+33612345678"
+ bot_company: Contoso
+ bot_name: Robert
+
+communication_service:
+ phone_number: "+33612345678"
+ voice_name: fr-FR-DeniseNeural
+
+cognitive_service:
+ endpoint: https://xxx.cognitiveservices.azure.com
+
+openai: {}
+
+ai_search:
+ index: trainings
+ semantic_configuration: default
+
+content_safety:
+ blocklists: []
+```
+
+Steps to deploy:
+
+1. Create an `Communication Services` resource plus a `Phone Number`
+2. Create the local `config.yaml`
+3. Connect to your Azure environment (e.g. `az login`)
+4. Run deployment with `make deploy name=my-instance`
+5. Wait for the deployment to finish (if it fails for a `'null' not found` error, retry the command)
+6. Create the AI Search index
+7. Get the logs with `make logs name=my-instance`
+
## Local installation
### Prerequisites
@@ -287,56 +337,6 @@ make tunnel
make dev
```
-## Remote deployment
-
-Container is available on GitHub Actions, at:
-
-- Latest version from a branch: `ghcr.io/clemlesne/claim-ai-phone-bot:main`
-- Specific tag: `ghcr.io/clemlesne/claim-ai-phone-bot:0.1.0` (recommended)
-
-Create a local `config.yaml` file (most of the fields are filled automatically by the deployment script):
-
-```yaml
-# config.yaml
-api: {}
-
-database:
- cosmos_db: {}
-
-resources: {}
-
-workflow:
- agent_phone_number: "+33612345678"
- bot_company: Contoso
- bot_name: Robert
-
-communication_service:
- phone_number: "+33612345678"
- voice_name: fr-FR-DeniseNeural
-
-cognitive_service:
- endpoint: https://xxx.cognitiveservices.azure.com
-
-openai: {}
-
-ai_search:
- index: trainings
- semantic_configuration: default
-
-content_safety:
- blocklists: []
-```
-
-Steps to deploy:
-
-1. Create an `Communication Services` resource plus a `Phone Number`
-2. Create the local `config.yaml`
-3. Connect to your Azure environment (e.g. `az login`)
-4. Run deployment with `make deploy name=my-instance`
-5. Wait for the deployment to finish (if it fails for a `'null' not found` error, retry the command)
-6. Create the AI Search index
-7. Get the logs with `make logs name=my-instance`
-
## Advanced usage
### Add my custom training data