Update langchainpy.md (#4236)

fixing pip code.
This commit is contained in:
boessu 2024-05-08 01:36:34 +02:00 committed by GitHub
parent d77c1c5f9d
commit 5d3f7fff26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ So let's figure out how we can use **LangChain** with Ollama to ask our question
Let's start by asking a simple question that we can get an answer to from the **Llama2** model using **Ollama**. First, we need to install the **LangChain** package:
`pip install langchain`
`pip install langchain_community`
Then we can create a model and ask the question: