Skip to content

Commit 4b47a78

Browse files
demongodYYshawncalawharrison-28
authored
Python: Update 03-semantic-function-inline.ipynb (#2425)
### Motivation and Context Example notebook has some params error when I learn from it, so I fix this simple params error. ### Description Fix AzureChatCompletion params error, Azure OpenAI Service should pass DEPLOY_NAME, but not MODEL_NAME ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 Co-authored-by: Shawn Callegari <[email protected]> Co-authored-by: Abby Harrison <[email protected]>
1 parent b4c18f3 commit 4b47a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/notebooks/03-semantic-function-inline.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
" deployment, api_key, endpoint = sk.azure_openai_settings_from_dot_env()\n",
206206
" kernel.add_chat_service(\n",
207207
" \"chat_completion\",\n",
208-
" AzureChatCompletion(\"gpt-35-turbo\", endpoint, api_key),\n",
208+
" AzureChatCompletion(deployment, endpoint, api_key),\n",
209209
" )\n",
210210
"else:\n",
211211
" api_key, org_id = sk.openai_settings_from_dot_env()\n",

0 commit comments

Comments
 (0)