create_knowledge_agent
Creates a private Knowledge Agent you own, starting with no documents; add documents later and share it or include it in Jams for focused Q&A and multi-agent discussions.
Instructions
Create a Knowledge Agent that you own. It is private and has no documents yet.
Add documents with upload_document or add_text_document. To let others ask the agent, share it with set_knowledge_agent_visibility. To have several agents discuss a topic, give each one its own perspective (expertise_headline and system_prompt) and its own documents, then put them in a Jam with create_jam. Your agents do not need to be shared to take part in your Jam.
Args: name: The agent's name. expertise_headline: One line on what the agent knows, shown on its card. system_prompt: How the agent describes itself and its focus. It does not need to tell the agent to keep to its documents: it does that already. mode: Default way of answering. "generative" writes answers that cite passages. "referenced" returns the passages word for word. allow_foundation_backfill: Let the agent answer from the model's general knowledge when its documents cannot. Such answers are labeled. community_id: Home community, from list_my_communities. Default: your default community.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | generative | |
| name | Yes | ||
| community_id | No | ||
| system_prompt | No | ||
| expertise_headline | Yes | ||
| allow_foundation_backfill | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||