langchain_community.tools.plugin.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: Optional[dict] = None¶
param contact_email: Optional[str] = None¶
param description_for_human: str [Required]¶
param description_for_model: str [Required]¶
param legal_info_url: Optional[str] = None¶
param logo_url: Optional[str] = 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