Update LLM-Connections.md (#1071)

ollama integration example code bug fixed.
This commit is contained in:
fastali
2024-08-10 14:56:30 +03:00
committed by GitHub
parent 95a9691a8b
commit fd87d930a7

View File

@@ -56,7 +56,7 @@ from langchain_ollama import ChatOllama
import os
os.environ["OPENAI_API_KEY"] = "NA"
llm = Ollama(
llm = ChatOllama(
model = "llama3.1",
base_url = "http://localhost:11434")