Add env setup (#7550)

Include setup
pull/7561/head
Lance Martin 1 year ago committed by GitHub
parent 3c4338470e
commit 9e067b8cc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,7 +45,14 @@ Let's load this [blog post](https://lilianweng.github.io/posts/2023-06-23-agent/
We have a QA app in a few lines of code.
Set enviorment varaibles and get packages:
```python
pip install openai
pip install chromadb
export OPENAI_API_KEY="..."
```
Run:
```python
from langchain.document_loaders import WebBaseLoader
from langchain.indexes import VectorstoreIndexCreator

Loading…
Cancel
Save