Merge pull request #340 from gusanmaz/main

Update langchainpy.md
This commit is contained in:
Bruce MacDonald
2023-08-14 09:38:42 -04:00
committed by GitHub

View File

@@ -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"))
```