Skip to content

Commit

Permalink
v1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Spendolini authored and Brian Spendolini committed Nov 7, 2023
1 parent f2a92e8 commit 07adcfc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Includes:
* Move to table APIs for insert/update/delete
* Added SQL Trigger Binding for Azure Functions
* Added the usage of the Always Free Azure SQL Database
* CI/CD via GitHub Actions


<a name="1.0.0"></a>
Expand Down
8 changes: 4 additions & 4 deletions docs/6-invoke-REST.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ Additional Best Practices from the documentation:
from person
where person_id = 1);
declare @url nvarchar(4000) = N'https://vslive-openai.openai.azure.com/openai/deployments/chattycathy/chat/completions?api-version=2023-06-01-preview';
declare @headers nvarchar(102) = N'{"api-key":"589ca34db9d0458db6a67137716e6258"}'
declare @url nvarchar(4000) = N'https://pass2023demo.openai.azure.com/openai/deployments/chattycathy/chat/completions?api-version=2023-07-01-preview';
declare @headers nvarchar(102) = N'{"api-key":"9b83fdec53e64e928098d235e82c0692"}'
declare @payload nvarchar(max) = N'{"messages":[{"role":"system","content":"'+(@adcopy)+'"}]}'
declare @ret int, @response nvarchar(max);
Expand Down Expand Up @@ -416,8 +416,8 @@ In this next section, we will be using the Todo application against our Free Azu
AS
declare @translated_task VARCHAR(1000);
declare @url nvarchar(4000) = N'https://skynetbeta.openai.azure.com/openai/deployments/chattykathy/chat/completions?api-version=2023-07-01-preview';
declare @headers nvarchar(102) = N'{"api-key":"XXXXX"}'
declare @url nvarchar(4000) = N'https://pass2023demo.openai.azure.com/openai/deployments/chattycathy/chat/completions?api-version=2023-07-01-preview';
declare @headers nvarchar(102) = N'{"api-key":"9b83fdec53e64e928098d235e82c0692"}'
declare @payload nvarchar(max) = N'{"messages":[{"role":"system","content":"Translate \"'+(@title)+'\" into german, only respond with the translation"}]}'
declare @ret int, @response nvarchar(max);
Expand Down

0 comments on commit 07adcfc

Please sign in to comment.