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

dev: Add an example to run Functions Apps locally

Clémence Lesné6a975c324997
diff --git a/Makefile b/Makefile
index 43ddc59..cce7a69 100644
--- a/Makefile
+++ b/Makefile
@@ -89,8 +89,7 @@ tunnel:
devtunnel host $(tunnel_name)
dev:
- VERSION=$(version_full) PUBLIC_DOMAIN=$(tunnel_url) func start \
- --port 8080
+ VERSION=$(version_full) PUBLIC_DOMAIN=$(tunnel_url) func start
deploy:
@echo "👀 Current subscription:"
diff --git a/local.settings.example.json b/local.settings.example.json
new file mode 100644
index 0000000..d41304d
--- /dev/null
+++ b/local.settings.example.json
@@ -0,0 +1,14 @@
+{
+ "IsEncrypted": false,
+ "Values": {
+ "APPLICATIONINSIGHTS_CONNECTION_STRING": "InstrumentationKey=xxx;IngestionEndpoint=xxx;LiveEndpoint=xxx",
+ "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=xxx;AccountKey=xxx;EndpointSuffix=core.windows.net",
+ "FUNCTIONS_WORKER_RUNTIME": "python"
+ },
+ "Host": {
+ "CORS": "*",
+ "CORSCredentials": false,
+ "LocalHttpPort": 8080
+ },
+ "ConnectionStrings": {}
+}