Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 2.62 KB

File metadata and controls

43 lines (31 loc) · 2.62 KB

Semantic Kernel Agents - Getting Started

This project contains a step by step guide to get started with Semantic Kernel Agents in Python.

PyPI:

  • For the use of Chat Completion agents, the minimum allowed Semantic Kernel pypi version is 1.3.0.
  • For the use of OpenAI Assistant agents, the minimum allowed Semantic Kernel pypi version is 1.4.0.
  • For the use of Agent Group Chat, the minimum allowed Semantic kernel pypi version is 1.6.0.
  • For the use of Streaming OpenAI Assistant agents, the minimum allowed Semantic Kernel pypi version is 1.11.0

Source

Examples

The getting started with agents examples include:

Example Description
step1_agent How to create and use an agent.
step2_plugins How to associate plugins with an agent.
step3_chat How to create a conversation between agents.
step4_kernel_function_strategies How to utilize a KernelFunction as a chat strategy.
step5_json_result How to have an agent produce JSON.
step6_logging How to enable logging for agents.
step7_assistant How to create and use an OpenAI Assistant agent.
step8_assistant_vision How to provide an image as input to an Open AI Assistant agent.
step9_assistant_tool_code_interpreter How to use the code-interpreter tool for an Open AI Assistant agent.
step10_assistant_tool_file_search How to use the file-search tool for an Open AI Assistant agent.

Note: As we strive for parity with .NET, more getting_started_with_agent samples will be added. The current steps and names may be revised to further align with our .NET counterpart.

Configuring the Kernel

Similar to the Semantic Kernel Python concept samples, it is necessary to configure the secrets and keys used by the kernel. See the follow "Configuring the Kernel" guide for more information.

Running Concept Samples

Concept samples can be run in an IDE or via the command line. After setting up the required api key for your AI connector, the samples run without any extra command line arguments.