AIPlugin#

class langchain_community.tools.plugin.AIPlugin[source]#

Bases: BaseModel

AI Plugin Definition.

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.

param api: ApiConfig [Required]#
param auth: dict | None = None#
param contact_email: str | None [Required]#
param description_for_human: str [Required]#
param description_for_model: str [Required]#
param legal_info_url: str | None [Required]#
param logo_url: str | None [Required]#
param name_for_human: str [Required]#
param name_for_model: str [Required]#
param schema_version: str [Required]#
classmethod from_url(url: str) AIPlugin[source]#

Instantiate AIPlugin from a URL.

Parameters:

url (str)

Return type:

AIPlugin