Skip to content

Commit

Permalink
update deployment version
Browse files Browse the repository at this point in the history
  • Loading branch information
wangchao1230 committed Apr 12, 2024
1 parent 933e53a commit 5107ee2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/prompty/basic/basic.prompty
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ model:
api: chat
configuration:
connection: open_ai_connection
azure_deployment: gpt-4
azure_deployment: gpt-35-turbo-0125
parameters:
max_tokens: 128
temperature: 0.2
Expand Down
3 changes: 2 additions & 1 deletion examples/prompty/basic/prompty-quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@
"metadata": {},
"outputs": [],
"source": [
"pf.visualize([base_run, eval_run])"
"# TODO: fix the visualization\n",
"# pf.visualize([base_run, eval_run])"
]
},
{
Expand Down
1 change: 1 addition & 0 deletions examples/prompty/chat-basic/chat-with-prompty.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@
"metadata": {},
"outputs": [],
"source": [
"# TODO: fix the visualization\n",
"pf.visualize([base_run, eval_run])"
]
},
Expand Down
4 changes: 3 additions & 1 deletion examples/prompty/chat-basic/chat.prompty
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ model:
api: chat
configuration:
connection: open_ai_connection
azure_deployment: gpt-4
azure_deployment: gpt-35-turbo-0125
parameters:
max_tokens: 256
temperature: 0.2
response_format:
type: json_object
inputs:
firstName:
type: string
Expand Down
2 changes: 1 addition & 1 deletion examples/prompty/eval-apology/apology.prompty
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ model:
configuration
connection: open_ai_connection
parameters:
deployment_name: gpt-4
deployment_name: gpt-35-turbo-0125
temperature: 0.5
response_format: { "type": "json_object" }

Expand Down
2 changes: 1 addition & 1 deletion examples/prompty/eval-basic/eval.prompty
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ model:
api: chat
configuration:
connection: open_ai_connection
azure_deployment: gpt-4
azure_deployment: gpt-35-turbo-0125
parameters:
temperature: 0.2
max_tokens: 200
Expand Down

0 comments on commit 5107ee2

Please sign in to comment.