Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Update langchainpy.md (#4037)
Christian Frantzen5950c176caf5
diff --git a/docs/tutorials/langchainpy.md b/docs/tutorials/langchainpy.mdindex f6ee4fa31..b0235679f 100644--- a/docs/tutorials/langchainpy.md+++ b/docs/tutorials/langchainpy.md@@ -17,10 +17,12 @@ Let's start by asking a simple question that we can get an answer to from the **Then we can create a model and ask the question:```python-from langchain.llms import Ollama-ollama = Ollama(base_url='http://localhost:11434',-model="llama2")-print(ollama("why is the sky blue"))+from langchain_community.llms import Ollama+ollama = Ollama(+ base_url='http://localhost:11434',+ model="llama3"+)+print(ollama.invoke("why is the sky blue"))```Notice that we are defining the model and the base URL for Ollama.