Unverified Commit 4c33a9ac authored by Güvenç Usanmaz's avatar Güvenç Usanmaz Committed by GitHub
Browse files

Update langchainpy.md

base_url value for Ollama object creation is corrected.
parent 22885aea
......@@ -18,7 +18,7 @@ Then we can create a model and ask the question:
```python
from langchain.llms import Ollama
ollama = Ollama(base_url='[http://localhost:11434](http://localhost:11434/)',
ollama = Ollama(base_url='http://localhost:11434',
model="llama2")
print(ollama("why is the sky blue"))
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment