'Defined Automatically by the Model' Not Working for Me in Qdrant

I have a Qdrant vector store with multiple collections. Each collection has different information in it. I wanted to let the LLM choose which collection but it is not working.
Whether I use Gemini or OpenAI, it simply does not choose a collection name and therefore Qdrant’s response is .

Perhaps I am doing something wrong?

Information on your n8n setup

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

The issue is your $fromAI expression.
Try a simpler approach to it and increase the complexity to debug the issue.

If that doesn’t work, use metadata instead of collections to organize your documents! That usually works pretty well.

If my reply answers your question, please remember to mark it as a solution.

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