Share via


core_plugins Package

Packages

crew_ai
sessions_python_tool

Modules

conversation_summary_plugin
http_plugin
math_plugin
text_memory_plugin
text_plugin
time_plugin
wait_plugin
web_search_engine_plugin

Classes

ConversationSummaryPlugin

Semantic plugin that enables conversations summarization.

Initializes a new instance of the ConversationSummaryPlugin.

The template for this plugin is built-in, and will overwrite any template passed in the prompt_template_config.

HttpPlugin

A plugin that provides HTTP functionality.

Usage: kernel.add_plugin(HttpPlugin(), "http")

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

MathPlugin

Description: MathPlugin provides a set of functions to make Math calculations.

Usage: kernel.add_plugin(MathPlugin(), plugin_name="math")

SessionsPythonTool

A plugin for running Python code in an Azure Container Apps dynamic sessions code interpreter.

Initializes a new instance of the SessionsPythonTool class.

TextMemoryPlugin

A plugin to interact with a Semantic Text Memory.

Initialize a new instance of the TextMemoryPlugin.

TextPlugin

TextPlugin provides a set of functions to manipulate strings.

Usage: kernel.add_plugin(TextPlugin(), plugin_name="text")

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

TimePlugin

TimePlugin provides a set of functions to get the current time and date.

Usage: kernel.add_plugin(TimePlugin(), plugin_name="time")

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

WebSearchEnginePlugin

A plugin that provides web search engine functionality.

Usage: connector = BingConnector(bing_search_api_key) kernel.add_plugin(WebSearchEnginePlugin(connector), plugin_name="WebSearch")

Initializes a new instance of the WebSearchEnginePlugin class.