Step 4 – Add your own knowledge (optional)
Optional: let the AI node answer from your own documents with a knowledge base. Uses a small UNESCO sample.
Without a knowledge base, the AI node answers from what the language model already knows. With one, it answers from your documents – product sheets, FAQs, terms and conditions.
This step uses a small sample: ten short text files about UNESCO.
Create the index
Download the sample above and unzip it on your computer.
In the project sidebar, open Design › Knowledge base and click Create.
Enter the Name
unescoand keep the Local tab with the default settings.Click Upload and select all ten
.txtfiles.Click Create. Wait until the files are processed – hover over the upload icon in the top bar to see each file reach COMPLETED.


More about indexes: Knowledge base.
Connect it to the AI node
Go back to Design › Flow and open AI_ASSISTANT.
In Essential › Tools, click + Add, choose Knowledge base and confirm with Done.
Below the new Knowledge base chip, choose the Index name
unesco.Add a sentence to Behaviour, so the model knows when to search:
Close the node and click Save.

Now the agent answers UNESCO questions from the sample files. Try "What is UNESCO?" or "Which science programmes does UNESCO run?" in the next step.
Next: Step 5 – Train and test
Last updated
Was this helpful?