{"product_id":"n8n-rag-demo-workflow-ecohash-chat-bge-reranker","title":"n8n RAG Demo Workflow: EcoHash Chat + BGE Reranker","description":"\u003ch3\u003eInstantly demo Retrieval-Augmented Generation (RAG) in n8n with EcoHash\u003c\/h3\u003e\n\u003cp\u003eThis n8n RAG Demo Workflow creates a tiny in-memory vector store, generates embeddings with \u003cstrong\u003eEcoHash\u003c\/strong\u003e, and uses an \u003cstrong\u003eEcoHash chat model + BGE reranker\u003c\/strong\u003e to retrieve the most relevant sentence—via an AI Agent tool call.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStarts on “Test workflow”\u003c\/strong\u003e in n8n.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates five sample documents\u003c\/strong\u003e as plain text items.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLoads the text as documents\u003c\/strong\u003e, generates embeddings with \u003cstrong\u003eEcoHash\u003c\/strong\u003e, and inserts them into an \u003cstrong\u003ein-memory vector store\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExposes the vector store as a retriever tool\u003c\/strong\u003e that returns top matches and \u003cstrong\u003ereranks results using the EcoHash BGE reranker\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns an AI Agent\u003c\/strong\u003e on the \u003cstrong\u003eEcoHash chat model\u003c\/strong\u003e that calls the retriever tool to find the document sentence mentioning \u003cstrong\u003ethe capital of France\u003c\/strong\u003e, then outputs \u003cstrong\u003eonly the exact matching sentence\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRAG prototyping\u003c\/strong\u003e for n8n users who want to see end-to-end retrieval + reranking quickly.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSaaS operators\u003c\/strong\u003e evaluating EcoHash embeddings and relevance reranking behavior on short text corpora.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomation engineers\u003c\/strong\u003e testing agent\/tool patterns in n8n: retriever tool → rerank → exact sentence output.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow trigger:\u003c\/strong\u003e Manual trigger (run via \u003cem\u003eTest workflow\u003c\/em\u003e in n8n).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes \/ stack:\u003c\/strong\u003e code, sticky note, \u003cstrong\u003en8nn8n-nodes-langchainagent\u003c\/strong\u003e (AI Agent), \u003cstrong\u003en8n-nodes-ecohashlm chat eco hash\u003c\/strong\u003e (EcoHash Chat Model), \u003cstrong\u003en8n-nodes-ecohash\u003c\/strong\u003e embeddings (EcoHash embeddings), and \u003cstrong\u003en8n-nodes-ecohash reranker\u003c\/strong\u003e (BGE reranker).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKey requirement:\u003c\/strong\u003e Use the \u003cstrong\u003esame in-memory vector store memory key\u003c\/strong\u003e (example: \u003ccode\u003eecohash_smoke_vs\u003c\/code\u003e) in both the insert and retrieve nodes.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup (requirements)\u003c\/h3\u003e\n\u003cp\u003eCreate an EcoHash account at \u003ca href=\"https:\/\/ecohash.com\"\u003ehttps:\/\/ecohash.com\u003c\/a\u003e (new accounts include free starter credit for testing), generate an API key in \u003ca href=\"https:\/\/console.ecohash.com\"\u003ehttps:\/\/console.ecohash.com\u003c\/a\u003e, and add it to n8n as an EcoHash credential. Select it on the EcoHash Chat Model, Embeddings EcoHash, and EcoHash Reranker nodes.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45824200376499,"sku":"N8N-18182","price":55.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/sM384TI0FYyBeuPYJbwp2_JfEGk27b.png?v=1786611892","url":"https:\/\/buyflowscripts.com\/products\/n8n-rag-demo-workflow-ecohash-chat-bge-reranker","provider":"N8N Commerce","version":"1.0","type":"link"}