Перейти к содержанию
НОВОЕДоктор ошибок и Сторожевая башня: сбои запусков n8n объясняются простыми словами и приходят вам на почту. Что нового

Библиотека / Чат-боты и боты для мессенджеров

Чат-боты и боты для мессенджеров

Чат с локальными LLM через n8n и Ollama

При получении сообщения чата на него отвечает самостоятельно размещённая языковая модель Ollama через простую цепочку чата.

Что делает

## Chat with local LLMs using n8n and Ollama This n8n workflow allows you to seamlessly interact with your self-hosted Large Language Models (LLMs) through a user-friendly chat interface. By connecting to Ollama, a powerful tool for managing local LLMs, you can send prompts and receive AI-generated responses directly within n8n. ### How it works 1. When chat message received: Captures the user's input from the chat interface. 2. Chat LLM Chain: Sends the input to the Ollama server and receives the AI-generated response. 3. Delivers the LLM's response back to the chat interface. ### Set up steps * Make sure Ollama is installed and running on your machine before executing this workflow. * Edit the Ollama address if different from the default.

Шаги

  1. When chat message received
  2. Ollama Chat Model
  3. Chat LLM Chain

Похожие автоматизации