Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Update 00-getting-started.ipynb #2766

Merged
merged 2 commits into from
Sep 13, 2023

Conversation

vivekgarudi
Copy link
Contributor

@vivekgarudi vivekgarudi commented Sep 8, 2023

deployment name is required instead of kernel.add_chat_service("chat_completion", AzureChatCompletion("gpt-35-turbo", endpoint, api_key))

Fixes #2772

Motivation and Context

Description

Contribution Checklist

deployment name is required instead of kernel.add_chat_service("chat_completion", AzureChatCompletion("gpt-35-turbo", endpoint, api_key))
@vivekgarudi vivekgarudi requested a review from a team as a code owner September 8, 2023 17:27
@shawncal shawncal added the python Pull requests for the Python Semantic Kernel label Sep 8, 2023
@github-actions github-actions bot changed the title Update 00-getting-started.ipynb Python: Update 00-getting-started.ipynb Sep 8, 2023
@lemillermicrosoft lemillermicrosoft added this pull request to the merge queue Sep 13, 2023
Merged via the queue into microsoft:main with commit 2b94161 Sep 13, 2023
26 checks passed
SOE-YoungS pushed a commit to SOE-YoungS/semantic-kernel that referenced this pull request Nov 1, 2023
deployment name is required instead of
kernel.add_chat_service("chat_completion",
AzureChatCompletion("gpt-35-turbo", endpoint, api_key))

Fixes microsoft#2772

### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  For notebook to work.
  2. What problem does it solve?
  current fails with error deployment not exist.
  3. What scenario does it contribute to?
  Getting started
  7. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Just replaced hardcoded deployment name to use deployment parameter
from .env file! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] 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
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 馃槃

Co-authored-by: Lee Miller <lemiller@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests for the Python Semantic Kernel
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Python: Deployment shouldn't be hard coded in getting-started.ipynb
4 participants