Publication date: Jul 16, 2023
‘, sources= )Note that the agent figures out that it first needs to first call the load tool (denoted by the original name of the tool, search_data). “””. ..If a tool spec is initialized, it can be converted into a list of tools that can be fed into an agent with to_tool_list . The Tool Repository consists of 15+ Tool Specs that an agent can use. During execution, we first load data from the data loader, index it (for instance with a vector store), and then query it on-demand. All three of these steps happen in a single tool call. Oftentimes this can be preferable to figuring out how to load and index API data yourself. The tool can be called with all the parameters needed to trigger load_data from the data loader, along with a natural language query string. Each tool spec may contain read/write endpoints that allow an agent to interact with a service in meaningful ways.
Concepts | Keywords |
---|---|
Cookbook | Abstractions |
From_toolsloadandsearchtoolspec | Agent |
Integers | Agents |
Rich | Api |
Walkthroughlets | Create |
Index | |
Interact | |
Llamahub | |
Load | |
Query | |
Search | |
Spec | |
Structured | |
Tool | |
Tools |
Semantics
Type | Source | Name |
---|---|---|
drug | DRUGBANK | Huperzine B |
drug | DRUGBANK | Coenzyme M |
drug | DRUGBANK | Nonoxynol-9 |
drug | DRUGBANK | Alpha-1-proteinase inhibitor |