mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
### Motivation and Context KernelConfig isn't needed as it's less pythonic and is not used independently from Kernel. This moves all its methods and members into Kernel. ### Description - Removed KernelConfig - Put KernelConfig's methods and variables into Kernel - Ran unit and end-to-end tests - Did not run notebooks because they are out of date with the current repo. --------- Co-authored-by: Shawn Callegari <[email protected]>
37 lines
1.2 KiB
Python
37 lines
1.2 KiB
Python
# Copyright (c) Microsoft. All rights reserved.
|
|
|
|
from semantic_kernel import core_skills, memory
|
|
from semantic_kernel.kernel import Kernel
|
|
from semantic_kernel.orchestration.context_variables import ContextVariables
|
|
from semantic_kernel.orchestration.sk_context import SKContext
|
|
from semantic_kernel.orchestration.sk_function_base import SKFunctionBase
|
|
from semantic_kernel.semantic_functions.chat_prompt_template import ChatPromptTemplate
|
|
from semantic_kernel.semantic_functions.prompt_template import PromptTemplate
|
|
from semantic_kernel.semantic_functions.prompt_template_config import (
|
|
PromptTemplateConfig,
|
|
)
|
|
from semantic_kernel.semantic_functions.semantic_function_config import (
|
|
SemanticFunctionConfig,
|
|
)
|
|
from semantic_kernel.utils.null_logger import NullLogger
|
|
from semantic_kernel.utils.settings import (
|
|
azure_openai_settings_from_dot_env,
|
|
openai_settings_from_dot_env,
|
|
)
|
|
|
|
__all__ = [
|
|
"Kernel",
|
|
"NullLogger",
|
|
"openai_settings_from_dot_env",
|
|
"azure_openai_settings_from_dot_env",
|
|
"PromptTemplateConfig",
|
|
"PromptTemplate",
|
|
"ChatPromptTemplate",
|
|
"SemanticFunctionConfig",
|
|
"ContextVariables",
|
|
"SKFunctionBase",
|
|
"SKContext",
|
|
"memory",
|
|
"core_skills",
|
|
]
|