Skip to content

Commit

Permalink
Function Call Feature
Browse files Browse the repository at this point in the history
  • Loading branch information
akshata29 committed Aug 10, 2023
1 parent e2e3e6b commit a8ed0d9
Show file tree
Hide file tree
Showing 15 changed files with 575 additions and 341 deletions.
6 changes: 3 additions & 3 deletions Deployment/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@
"properties": {
"model": {
"format": "OpenAI",
"name": "embedding",
"name": "text-embedding-ada-002",
"version": "2"
},
"versionUpgradeOption": "OnceNewDefaultVersionAvailable",
Expand Down Expand Up @@ -766,7 +766,7 @@
},
{
"name": "OpenAiVersion",
"value": "2023-05-15"
"value": "2023-07-01-preview"
},
{
"name": "PineconeEnv",
Expand Down Expand Up @@ -973,7 +973,7 @@
},
{
"name": "OpenAiVersion",
"value": "2023-05-15"
"value": "2023-07-01-preview"
},
{
"name": "PineconeEnv",
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The repo provides a way to upload your own data so it's ready to try end to end.

## Updates

* 8/9/2023 - Added Function calling in the ChatGpt interface as checkbox. Sample demonstrate ability to call functions. Currently [Weather API](https://rapidapi.com/apishub/api/yahoo-weather5), [Stock API](https://rapidapi.com/alphavantage/api/alpha-vantage) and Bing Search is supported. Function calling is in preview and supported only from "API Version" of "2023-07-01-preview", so make sure you update existing deployment to use that version. Details on calling [Functions](https://github.com/Azure-Samples/openai/blob/main/Basic_Samples/Functions/working_with_functions.ipynb). For existing deployment add `WeatherEndPoint`, `WeatherHost`, `StockEndPoint`, `StockHost` and `RapidApiKey` configuration to Azure Function App.
* 8/5/2023 - Added Chat Interface with "Stream" Option. This feature allows you to stream the conversation to the client. You will need to add `OpenAiChat`, `OpenAiChat16k`, `OpenAiEmbedding`, `OpenAiEndPoint`, `OpenAiKey`, `OpenAiApiKey`, `OpenAiService`, `OpenAiVersion`, `PineconeEnv`, `PineconeIndex`, `PineconeKey`, `RedisAddress`, `RedisPassword`, `RedisPort` property in Azure App Service (Webapp) to enable the feature for existing deployment.
* 7/30/2023 - Removed unused Code - SummaryAndQa and Chat
* 7/28/2023 - Started removing the Davinci model usage. For now removed the usage from all functionality except workshop. Refactored Summarization functionality based on the feedback to allow user to specify the prompt and pre-defined Topics to summarize it on.
Expand Down
304 changes: 72 additions & 232 deletions Workshop/10_PibCoPilot.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit a8ed0d9

Please sign in to comment.