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 if the input data cannot be parsed to form a valid model.

param api: ApiConfig [Required]#
param auth: dict | None = None#
param contact_email: str | None = None#
param description_for_human: str [Required]#
param description_for_model: str [Required]#
param legal_info_url: str | None = None#
param logo_url: str | None = None#
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