Spaces:
Running
Running
Small README update
Browse files
README.md
CHANGED
|
@@ -40,7 +40,7 @@ We currently support two options for indexing the codebase:
|
|
| 40 |
--index_name=your-index-name
|
| 41 |
```
|
| 42 |
|
| 43 |
-
2. **Using external providers
|
| 44 |
```
|
| 45 |
pip install -r requirements.txt
|
| 46 |
|
|
@@ -59,6 +59,8 @@ We currently support two options for indexing the codebase:
|
|
| 59 |
To bring a `gradio` app where you can chat with your codebase, simply point it to your vector store:
|
| 60 |
|
| 61 |
```
|
|
|
|
|
|
|
| 62 |
python src/chat.py \
|
| 63 |
github-repo-name \ # e.g. Storia-AI/repo2vec
|
| 64 |
--vector_store_type=marqo \ # or pinecone
|
|
|
|
| 40 |
--index_name=your-index-name
|
| 41 |
```
|
| 42 |
|
| 43 |
+
2. **Using external providers** (OpenAI for embeddings and [Pinecone](https://www.pinecone.io/) for the vector store). To index your codebase, run:
|
| 44 |
```
|
| 45 |
pip install -r requirements.txt
|
| 46 |
|
|
|
|
| 59 |
To bring a `gradio` app where you can chat with your codebase, simply point it to your vector store:
|
| 60 |
|
| 61 |
```
|
| 62 |
+
export OPENAI_API_KEY=...
|
| 63 |
+
|
| 64 |
python src/chat.py \
|
| 65 |
github-repo-name \ # e.g. Storia-AI/repo2vec
|
| 66 |
--vector_store_type=marqo \ # or pinecone
|