Skip to content

Python: Fix 06 memory notebook missing plugin name.#4906

Merged
moonbox3 merged 3 commits intomicrosoft:mainfrom
moonbox3:fix_memory_notebook
Feb 8, 2024
Merged

Python: Fix 06 memory notebook missing plugin name.#4906
moonbox3 merged 3 commits intomicrosoft:mainfrom
moonbox3:fix_memory_notebook

Conversation

@moonbox3
Copy link
Collaborator

@moonbox3 moonbox3 commented Feb 6, 2024

Motivation and Context

The Python 06 notebook had a failing cell due to a missing plugin_name. Also the KernelFunction wasn't visible from the semantic_kernel import due to it missing from the init file. Fixes: #4905.

Description

Fix the notebook by suppling a plugin_name for the memory store. Add the KernelFunction to the sk init.py file. Fix a comment related to an incorrectly named PromptExecutionSetting class.

Contribution Checklist

@moonbox3 moonbox3 requested a review from a team as a code owner February 6, 2024 20:47
@shawncal shawncal added the python Pull requests for the Python Semantic Kernel label Feb 6, 2024
@moonbox3 moonbox3 enabled auto-merge February 6, 2024 21:37
@moonbox3 moonbox3 closed this Feb 6, 2024
auto-merge was automatically disabled February 6, 2024 21:50

Pull request was closed

@moonbox3 moonbox3 reopened this Feb 6, 2024
@moonbox3 moonbox3 enabled auto-merge February 8, 2024 17:08
@moonbox3 moonbox3 added this pull request to the merge queue Feb 8, 2024
Merged via the queue into microsoft:main with commit fc333f4 Feb 8, 2024
@moonbox3 moonbox3 deleted the fix_memory_notebook branch February 8, 2024 17:37
Bryan-Roe pushed a commit to Bryan-Roe-ai/semantic-kernel that referenced this pull request Oct 6, 2024
### Motivation and Context

The Python 06 notebook had a failing cell due to a missing plugin_name.
Also the KernelFunction wasn't visible from the semantic_kernel import
due to it missing from the init file. Fixes: microsoft#4905.

<!-- 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

Fix the notebook by suppling a plugin_name for the memory store. Add the
KernelFunction to the sk __init__.py file. Fix a comment related to an
incorrectly named PromptExecutionSetting class.

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

### 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 😄
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.

Python: 06-memory-and-embedding notebook fails due to missing plugin name

4 participants