From ea25f6232df130778cc6edbdffe65c0b02819e07 Mon Sep 17 00:00:00 2001 From: Rob Clevenger Date: Tue, 30 Apr 2024 00:59:34 -0700 Subject: [PATCH] Python: Fix typo in line to instantiate Kernel. (#6020) Kernel is already imported and there's no sk reference anymore since it was removed last week in: Python: fixing python readme (https://github.com/microsoft/semantic-kernel/pull/5903) ### Motivation and Context ### Description ### Contribution Checklist - [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 :smile: --- python/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/README.md b/python/README.md index dc82f6c8b7..bc1894426d 100644 --- a/python/README.md +++ b/python/README.md @@ -39,7 +39,7 @@ from semantic_kernel.connectors.ai.open_ai import OpenAIChatCompletion, AzureCha from semantic_kernel.prompt_template import PromptTemplateConfig from semantic_kernel.utils.settings import openai_settings_from_dot_env, azure_openai_settings_from_dot_env -kernel = sk.Kernel() +kernel = Kernel() # Prepare OpenAI service using credentials stored in the `.env` file api_key, org_id = openai_settings_from_dot_env()