Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

Update LLM-Connections.md (#1071)

fastalifd87d930a7c1
diff --git a/docs/how-to/LLM-Connections.md b/docs/how-to/LLM-Connections.md
index ae3a88da0..162c5d197 100644
--- a/docs/how-to/LLM-Connections.md
+++ b/docs/how-to/LLM-Connections.md
@@ -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")