mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-22 19:44:59 +00:00
examples: simplify langchain-python (#541)
This commit is contained in:
parent
5abbb134d9
commit
ea9a651573
3 changed files with 13 additions and 10 deletions
|
@ -12,15 +12,8 @@ git clone https://github.com/go-skynet/LocalAI
|
|||
|
||||
cd LocalAI/examples/langchain-python
|
||||
|
||||
# (optional) Checkout a specific LocalAI tag
|
||||
# git checkout -b build <TAG>
|
||||
|
||||
# Download gpt4all-j to models/
|
||||
wget https://gpt4all.io/models/ggml-gpt4all-j.bin -O models/ggml-gpt4all-j
|
||||
|
||||
# start with docker-compose
|
||||
docker-compose up -d --build
|
||||
|
||||
docker-compose up --pull always
|
||||
|
||||
pip install langchain
|
||||
pip install openai
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue