AIOps Peach

Agents · Tool Calling & Tavily Search · Bài 5/7

Custom tools, security and tool descriptions

A custom tool subclasses BaseTool with a name, a description, a Pydantic args_schema and _run / _arun methods. API keys are never hardcoded - they come from environment variables (a .env file via load_dotenv) or a secret manager such as Azure Key Vault. A clear, detailed tool description says what the tool does, when to use it, what input it expects and what it returns.

Nội dung bài học, quiz và tab Command mở trên site sau khi đăng nhập và được admin cấp quyền học AIOps Peach.

Vào học →