İçeriğe geç
YENİPazar yeri ve trig8n Agent: geliştirdiğinizi satın; planlar ve değişiklikler siz görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Sohbet Botları ve Mesajlaşma Botları

Sohbet Botları ve Mesajlaşma Botları

Hugging Face Üzerinden Mistral-7B ile Sohbet

Bir sohbet mesajı alındığında temel bir LLM zinciri bunu Hugging Face'teki açık kaynaklı Mistral-7B modeline gönderir ve yanıtı döndürür.

Ne yapar

## 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

Adımlar

  1. When chat message received
  2. Basic LLM Chain
  3. Hugging Face Inference Model

Benzer otomasyonlar