diff --git a/samples/react-command-ai-document-assistant/API/O365C.AIDocument.Assistant/.gitignore b/samples/react-command-ai-document-assistant/API/O365C.AIDocument.Assistant/.gitignore index ff5b00c50..fea9bfe33 100644 --- a/samples/react-command-ai-document-assistant/API/O365C.AIDocument.Assistant/.gitignore +++ b/samples/react-command-ai-document-assistant/API/O365C.AIDocument.Assistant/.gitignore @@ -2,7 +2,7 @@ ## files generated by popular Visual Studio add-ons. # Azure Functions localsettings file -local.settings.json +#local.settings.json # User-specific files *.suo diff --git a/samples/react-command-ai-document-assistant/API/O365C.AIDocument.Assistant/local.settings.json b/samples/react-command-ai-document-assistant/API/O365C.AIDocument.Assistant/local.settings.json new file mode 100644 index 000000000..b642f94ab --- /dev/null +++ b/samples/react-command-ai-document-assistant/API/O365C.AIDocument.Assistant/local.settings.json @@ -0,0 +1,16 @@ +{ + "Host": { + "LocalHttpPort": 4321, + "CORS": "https://tenant.sharepoint.com" + }, + "IsEncrypted": false, + "Values": { + "AzureWebJobsStorage": "UseDevelopmentStorage=true", + "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated", + "AzureAd:ClientId": "xxxx", + "AzureAd:ClientSecret": "xxxx", + "AzureAd:TenantId": "xxxx", + "AzureOpenAI:APIKey": "xxxx", + "AzureOpenAI:Endpoint": "https://api.openai.com" + } +}