How to Retrieve Text with Variables Unchanged from a Vector Database?

Hello! I’m using a vector database to store texts containing variables. I need to ensure that when a bot queries the database, the text is returned exactly as stored, regardless of how the query is phrased. In other words, the request may be formulated differently, but the most relevant response should be retrieved based on the overall context while keeping the text unchanged.

How can I achieve this in n8n? Which nodes should I use for semantic search and extracting the original text? I’d appreciate any advice or examples!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.