Using Redis with Langchain code

Hello everyone! I want to use YandexGPT in my project. I have installed all the necessary packages without any issues.

But now I can’t figure out how to write and retrieve data in Redis through ai_memory in the LangChain Code node.

Does anyone have a simple example?

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:

Hey @mesaich

I wasn’t sure if you meant Redis for chat memory or vector store, but I created a tutorial here - Using Redis VectorStore Search in n8n - with Langchain Code Node examples for the interacting with Redis vector store.

Hope this helps!

Thank you for the response! I am interested in working with the Redis chat memory subnode.

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