Knowledge
A knowledge base is content an agent can search: help articles, policies, closed tickets. Use one when the content is too long to fit in the agent's instructions.
The quickest way to create one is to attach the files to a chat and ask Flow for an agent that uses them. The rest of this page covers doing it by hand.
Set an embedding model
Flow needs an embedding model to search text by meaning. You set it once for the site.
- Under Settings > Models, add an embedding model such as
openai/text-embedding-3-small. - Under Settings > Knowledge > Settings, choose it as the Embedding Model.
Create a knowledge base
- Go to Settings > Knowledge and click New knowledge base.
- Write a Description. The agent reads it to decide when to search.
- Add one or more sources.
- Open the agent and add the knowledge base under Knowledge Bases.
| Source | What Flow indexes |
|---|---|
| Text | Text you paste in. |
| File | A PDF, Word, Excel, text or image file. |
| URL | A public web page of up to 10 MB. Enter the final address, because Flow doesn't follow redirects. |
| DocType | The records of a DocType, such as closed tickets. Turn on Auto Sync to pick up new records every day. |
Last updated 4 hours ago
Was this helpful?