Library / Chatbots & Messaging Bots
Chatbots & Messaging Bots
Chat with Mistral-7B Through Hugging Face
When a chat message is received, a basic LLM chain sends it to the open-source Mistral-7B model on Hugging Face and returns the answer.
What it does
## This is an example of basic LLM Chain connected to an open-source model ### The Chain is connected to the Mistral-7B-Instruct-v0.1 model, but you can change this Please note the initial prompt that guides the model: You are a helpful assistant. Please reply politely to the users. Use emojis and a text. Q: {{ $json.input }} A: This way the model "knows" that it needs to answer the question right after the A: . Since Hugging Face node is this is an inference mode, it does not support LangChain Agents at the moment. Please use Ollama Chat Model node for that
The steps
- When chat message received
- Basic LLM Chain
- Hugging Face Inference Model
Similar automations
Chatbots & Messaging BotsScore chatbot replies, log reviews, and alert your team with Mistral and Telegram11 stepsContent Writing & GenerationSave Hugging Face Papers to Notion with OpenAI Summaries11 stepsContent Writing & GenerationSummarize Hugging Face Papers into Notion with OpenAI11 stepsDocuments, PDF & OCRSummarize Tenant Screening with a Hugging Face RAG Agent10 steps