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: pysdk issue 3897 - update notebooks #4177

Merged
merged 19 commits into from
Dec 14, 2023

Conversation

rewrlution
Copy link
Contributor

@rewrlution rewrlution commented Dec 11, 2023

Motivation and Context

Description

#3897

In this PR, I updated the notebooks to use the latest version of the python SDK.

To make the notebooks work, I need to:

  1. Use keyword arguments
  2. Change the default value in the ContextVariables from int/float to str
  3. Update TextMemorySkill
  4. Update some inputs, such as ChatMessage

I have noted some inconsistency issues in the #3897

Contribution Checklist

@shawncal shawncal added the python Pull requests for the Python Semantic Kernel label Dec 11, 2023
@github-actions github-actions bot changed the title pysdk issue 3897 - update notebooks Python: pysdk issue 3897 - update notebooks Dec 11, 2023
@moonbox3
Copy link
Contributor

LGTM. Thank you for doing this. There is one conflict we'll need to resolve: we had to update the pyproject.toml version to 0.4.2 yesterday for a release. Once this is resolved, feel free to convert from a draft to a PR. Thanks!

Huijing Huang added 17 commits December 13, 2023 11:17
1. use keyword arguments
2. set my own deployment name for Azure OpenAI
3. update chat message
1. use latest version of sk
2. use keyword argument
3. set own deployment name
4. update message
1. install SK
2. remove unused cell
3. remove unused statements
4. use keyword arguments
1. use latest version of sk
2. remove unused import
3. remove duplicate sk init cell
4. change the default value & input value from int to str
5. use keyword arguments
1. Increase version number of the SDK
2. Update the default value of `TextMemorySkill` from int/float to str
3. Use keyword arguments
1. Use the latest version of sdk
2. Use keyword arguments
1. Use latest version of SDK
2. Use keyword arguments
1. Use the latest version of SDK
2. Use keyword arguments
1. Use latest version
2. Use keyword arguments
1. Use the latest SDK
2. Use keyword arguments
1. Use latest version of the SDK
2. Use keyword arguments
1. Use latest sdk
2. Use keyword arguments
@rewrlution rewrlution marked this pull request as ready for review December 13, 2023 19:17
@rewrlution rewrlution requested a review from a team as a code owner December 13, 2023 19:17
@rewrlution
Copy link
Contributor Author

LGTM. Thank you for doing this. There is one conflict we'll need to resolve: we had to update the pyproject.toml version to 0.4.2 yesterday for a release. Once this is resolved, feel free to convert from a draft to a PR. Thanks!

I have resolved the conflict and rebased the branch.

Copy link
Contributor

@alexchaomander alexchaomander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@alexchaomander alexchaomander added this pull request to the merge queue Dec 14, 2023
Merged via the queue into microsoft:main with commit 49a1cb8 Dec 14, 2023
26 checks passed
zengin pushed a commit to microsoftgraph/semantic-kernel that referenced this pull request Jan 5, 2024
### 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?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

microsoft#3897

In this PR, I updated the notebooks to use the latest version of the
python SDK.

To make the notebooks work, I need to:
1. Use keyword arguments
2. Change the default value in the `ContextVariables` from `int/float`
to `str`
3. Update `TextMemorySkill`
4. Update some inputs, such as `ChatMessage`

I have noted some inconsistency issues in the
microsoft#3897

### 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: Huijing Huang <huijinghuang@microsoft.com>
Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
@rewrlution rewrlution deleted the pysdk-issue-3897 branch February 17, 2024 00:39
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
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants