Skip to content

Commit

Permalink
Update LLM-Connections.md (#1071)
Browse files Browse the repository at this point in the history
ollama integration example code bug fixed.
  • Loading branch information
fastali authored Aug 10, 2024
1 parent 95a9691 commit fd87d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how-to/LLM-Connections.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit fd87d93

Please sign in to comment.