Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / RAG & Knowledge Bases

RAG & Knowledge Bases

Build a RAG Agent with Milvus and Cohere

When a new file appears in Google Drive, it embeds it with Cohere into Milvus, and an OpenAI agent answers chat questions from it.

What it does

# RAG AI Agent with Milvus and Cohere ## Overview Automated workflow: RAG AI Agent with Milvus and Cohere. This workflow integrates 13 different services: stickyNote, googleDriveTrigger, textSplitterRecursiveCharacterTextSplitter, agent, googleDrive. It contains 18 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 18 - Node Types: 13 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Default Data Loader: documentDefaultDataLoader - Embeddings Cohere: embeddingsCohere - When chat message received: chatTrigger - Watch New Files: googleDriveTrigger - Download New: googleDrive - Insert into Milvus: vectorStoreMilvus - RAG Agent: agent - Retrieve from Milvus: vectorStoreMilvus - OpenAI 4o: lmChatOpenAi - Memory: memoryBufferWindow - ... and 8 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

The steps

  1. Default Data Loader
  2. Embeddings Cohere
  3. When chat message received
  4. Watch New Files
  5. Download New
  6. Insert into Milvus
  7. RAG Agent
  8. Retrieve from Milvus
  9. OpenAI 4o
  10. Memory
  11. Cohere embeddings
  12. Set Chunks
  13. Extract from File
  14. Error Handler for 23004477

18 steps in total.

Similar automations