Library / RAG & Knowledge Bases
RAG & Knowledge Bases
Answer Questions on Notion Data with OpenAI
On a schedule, it embeds Notion content into Supabase, and when a chat message arrives OpenAI answers from the stored vectors.
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
19 steps in total.
Similar automations
RAG & Knowledge BasesAnswer Questions on Notion Content with OpenAI RAG22 stepsRAG & Knowledge BasesAnswer HR Policy Questions from BambooHR with OpenAI39 stepsRAG & Knowledge BasesStore Notion Pages as Vectors in Supabase with OpenAI8 stepsRAG & Knowledge BasesIndex Zoom meeting recordings for Telegram Q&A with OpenAI and Supabase52 steps