Библиотека / RAG и базы знаний
RAG и базы знаний
RAG-чат с поиском по файлам OpenAI и цитатами
При получении сообщения в чате ассистент OpenAI извлекает информацию из загруженных файлов, а ответ содержит цитаты исходных документов.
Что делает
# Make OpenAI Citation for File Retrieval RAG ## Overview Automated workflow: Make OpenAI Citation for File Retrieval RAG. This workflow integrates 11 different services: stickyNote, httpRequest, markdown, code, splitOut. It contains 24 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 24 - Node Types: 11 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Aggregate: aggregate - Window Buffer Memory: memoryBufferWindow - Sticky Note4: stickyNote - Sticky Note: stickyNote - Create a simple Trigger to have the Chat button within N8N: chatTrigger - OpenAI Assistant with Vector Store: openAi - Sticky Note1: stickyNote - Get ALL Thread Content: httpRequest - Sticky Note2: stickyNote - Split all message iterations from a thread: splitOut - ... and 14 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible
Шаги
- Manual Trigger
- Aggregate
- Window Buffer Memory
- Create a simple Trigger to have the Chat button within N8N
- OpenAI Assistant with Vector Store
- Get ALL Thread Content
- Split all message iterations from a thread
- Split all content from a single message
- Split all citations from a single message
- Retrieve file name from a file ID
- Regularize output
- Optional Markdown to HTML
- Finnaly format the output
- Error Handler
Всего шагов: 33.
Похожие автоматизации
RAG и базы знанийСравнение RAG-процесса и RAG-агента для поддержки клиентовШагов: 19RAG и базы знанийПоиск по истории писем с Gmail, Qdrant и OpenAI RAGШагов: 20RAG и базы знанийПоиск по новым письмам Gmail с PGVector и OpenAI RAGШагов: 11RAG и базы знанийRAG-чат-бот в Telegram на основе ссылок на сайтыШагов: 112