semantic-kernel
semantic-kernel copied to clipboard
Python: Fix OpenAI/API plugins based on samples path changes. Black formatting for notebooks.
Motivation and Context
After kernel plugin revamp and restructing samples, the OpenAI/API plugin samples were not working.
Description
This PR fixes:
- The OpenAI/API plugin concept examples.
- Updates the 3rd getting_started notebook to match the behavior of dotnet where only chat completion is used, instead of text completion.
- Reformats via Black 2 getting_started notebooks.
Contribution Checklist
- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone :smile:
Python 3.10 Unit Test Overview
| Tests | Skipped | Failures | Errors | Time |
|---|---|---|---|---|
| 1280 | 1 :zzz: | 0 :x: | 0 :fire: | 16.169s :stopwatch: |
Was fixed in a subsequent PR. Closing.