How to Use Semantic Kernel Prompt Template in Agentic Framework Using Python? #10247
-
I have referred to Semantic Kernel's Documentation (https://learn.microsoft.com/en-us/semantic-kernel/concepts/semantic-kernel-components?pivots=programming-language-python), And cam across Prompt Templates, Below are the few points which I have captured from this Documentation: Below is my Whole code which includes my prompts, classes I have made, and native functions, please provide me method and also explain how I can use Prompt Template. class Agent:
from azure.core.credentials import AzureKeyCredential class Plugins:
]) -> List[str]:
############################################################################################################ TEACHER_AGENT_DESCRIPTION = "Teacher Assigned for Generation of Lesson Plan for specific day." ############################################################################################################ TEACHER_AGENT_PROMPT = """
BELOW IS THE MAIN CODEfrom Classes.Agent import Agent azure_ai_endpoint = "ABC" async def main():
if name == "main": |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@lovedeepatsgit support for prompt template config in SK Python is pending: #8699 and #8022. |
Beta Was this translation helpful? Give feedback.
@lovedeepatsgit this is supported as of #10298 and will be included in our next release this week. FYI.