semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

Python: Fix OpenAI/API plugins based on samples path changes. Black formatting for notebooks.

Open moonbox3 opened this issue 1 year ago • 1 comments

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

moonbox3 avatar May 08 '24 19:05 moonbox3

Py3.10 Test Coverage

Python 3.10 Test Coverage Report •
FileStmtsMissCoverMissing
semantic_kernel/connectors/openapi_plugin
   openapi_manager.py1411589%15, 61–74, 104, 145, 150, 280, 350–363
TOTAL565288784% 

Python 3.10 Unit Test Overview

Tests Skipped Failures Errors Time
1280 1 :zzz: 0 :x: 0 :fire: 16.169s :stopwatch:

markwallace-microsoft avatar May 08 '24 19:05 markwallace-microsoft

Was fixed in a subsequent PR. Closing.

moonbox3 avatar May 20 '24 18:05 moonbox3