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

Local File RAG with Mistral Embeddings and Chat

When a file appears in a local folder, it splits and embeds the content with Mistral so a chat agent can answer questions from it.

What it does

# Localfiletrigger Workflow ## Overview Automated workflow: Localfiletrigger Workflow. This workflow integrates 23 different services: convertToFile, stickyNote, embeddingsMistralCloud, textSplitterRecursiveCharacterTextSplitter, lmChatMistralCloud. It contains 49 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 49 - Node Types: 23 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Local File Trigger: localFileTrigger - Default Data Loader: documentDefaultDataLoader - Recursive Character Text Splitter: textSplitterRecursiveCharacterTextSplitter - Embeddings Mistral Cloud: embeddingsMistralCloud - Mistral Cloud Chat Model: lmChatMistralCloud - Mistral Cloud Chat Model1: lmChatMistralCloud - Prep Incoming Doc: set - Settings: set - Merge: merge - Get Doc Types: set - ... and 39 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. Local File Trigger
  2. Default Data Loader
  3. Recursive Character Text Splitter
  4. Embeddings Mistral Cloud
  5. Mistral Cloud Chat Model
  6. Mistral Cloud Chat Model1
  7. Prep Incoming Doc
  8. Settings
  9. Merge
  10. Get Doc Types
  11. Split Out Doc Types
  12. For Each Doc Type...
  13. Item List Output Parser
  14. Vector Store Retriever

43 steps in total.

Similar automations