Example
The following agent can search and analyze knowledge bases:Toolkit Params
| Parameter | Type | Default | Description |
|---|---|---|---|
knowledge | Knowledge | None | Knowledge base instance (required). |
enable_think | bool | True | Enable reasoning capabilities. |
enable_search | bool | True | Enable knowledge search functionality. |
enable_analyze | bool | True | Enable knowledge analysis capabilities. |
instructions | Optional[str] | None | Custom instructions for knowledge operations. |
add_instructions | bool | True | Whether to add instructions to the agent. |
add_few_shot | bool | False | Whether to include few-shot examples. |
few_shot_examples | Optional[str] | None | Custom few-shot examples. |
Toolkit Functions
| Function | Description |
|---|---|
think | Apply reasoning to knowledge-based problems and questions. |
search | Search the knowledge base for relevant information. |
analyze | Perform detailed analysis of knowledge base content. |