Before you start
- You completed 2. Upload files.
A knowledge base is built from files: workspace files, personal files, agent outputs, an agent’s own files, or an external source. Published analytic models are not a knowledge-base source. You connect the model from part 1 to the agent directly in part 4, and the agent uses both side by side.
1. Create the knowledge base
1
Open Context
Click Files on the left navigation rail. In the Files & context panel beside the list, click All contexts under Context, then click New context.
2
Name it
3
Pick the sources
Under Raw data, select the folder you uploaded in part 2. Selecting a folder keeps tracking it, so a later rebuild picks up files added since.
4
Create
Click Create. The context builder opens.
2. Build it with the AI builder
The builder works in its own sandbox. The selected files are copied in read-only as inputs; nothing you build is saved until you publish.1
Explore the sources
Start with the suggested prompt What is in the sources? The builder summarizes the documents it found.
2
Describe the knowledge base
Tell the builder how to organize the content for the agent.
Example prompt
3
Review the result
Check the generated file tree and ask for changes until it reads well.
3. Publish
- Click Publish context in the header. The button shows how many changes you are publishing.
- In Publish this context, add Release notes (optional), for example
First version from the reference documents. - Click Publish.
Optional: keep it up to date with an automation
Optional: keep it up to date with an automation
On the knowledge base’s Automations tab, click New automation. Enter a Name, describe the job in What should it do?, add a Scheduled trigger, and click Save automation. Scheduled runs only update the draft; they never publish, so you review and publish the result yourself.
What you built
- A published knowledge base built from your documents, with version history.
Previous: Upload files
Upload the reference documents.
Next: Build an agent
Put the model and the knowledge base to work.