Library / RAG & Knowledge Bases
RAG & Knowledge Bases
Answer Questions on Notion Content with OpenAI RAG
On a schedule or when a chat message arrives, the workflow embeds Notion content into Supabase and an OpenAI chain answers questions from it.
What it does
## Adjust chunk size and overlap For more accurate search results, increase the overlap. For the *text-embedding-ada-002* model the chunk size plus overlap must not exceed 8191
The steps
- Embeddings OpenAI
- Token Splitter
- Loop Over Items
- Question and Answer Chain
- Vector Store Retriever
- OpenAI Chat Model
- When chat message received
- Schedule Trigger
- Limit
- Limit1
- Delete old embeddings if exist
- Get page blocks
- Default Data Loader
- Input Reference
22 steps in total.
Similar automations
RAG & Knowledge BasesAnswer Questions on Notion Data with OpenAI19 stepsRAG & Knowledge BasesStore Notion Pages as Vectors in Supabase with OpenAI8 stepsRAG & Knowledge BasesAnswer HR Policy Questions from BambooHR with OpenAI39 stepsRAG & Knowledge BasesRecursive Hybrid RAG for Google Drive Files with Supabase23 steps