-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
pythonPull requests for the Python Semantic KernelPull requests for the Python Semantic Kernel
Description
I checked 2 PRs(#1115, #1316) for streaming. Both PRs are defining kernel = sk.Kernel() but not using them at all.
Current chat streaming is complex to use with Kernel.
hope streaming can be used via kernel like below
kernel = sk.Kernel()
kernel.add_chat_service(
"gpt-3.5-turbo",
sk_oai.AzureChatCompletion(
"gpt-35-turbo",
os.environ.get("AZURE_OPENAI_ENDPOINT"),
os.environ.get("AZURE_OPENAI_KEY"),
),
)
skills = kernel.import_semantic_skill_from_directory(skill_dir, skill)
kernel.run_stream_async(skill["TranslationSkill"]["toEnglish"], input_vars=...)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
pythonPull requests for the Python Semantic KernelPull requests for the Python Semantic Kernel
Type
Projects
Status
Sprint: Done