Function Details

Retrieve Knowledge

⚠️ Before using this node, make sure that you have uploaded some documents to your project's knowledge base.

This fetches relevant chunks of information using semantic search from your project's knowledge base.

Outputs

This node outputs text.

Example

After you've added some documents from the knowledge base by syncing information from a website for example we used the Moonlit website.

Given the input:

What is Moonlit?

It would return the chunk of text most relevant to this query:

Moonlit is a no-code platform

Use Cases

This is most commonly used for enriching LLMs (such as ChatGPT) with more context. You can also create a very simple app the just uses this node and then pass it to one of your AI Agents so it can retreive knowledge and answer queries according to the information you have in the knowledge base.