rag-chatbot / README.md
NenJa's picture
Update README.md
49e4256 verified
|
raw
history blame
1.45 kB
---
title: Rag Chatbot
emoji: πŸŒ–
colorFrom: indigo
colorTo: purple
sdk: streamlit
sdk_version: 1.36.0
app_file: app.py
pinned: false
---
Check out the configuration reference at https://huggingface.co./docs/hub/spaces-config-reference
# Astra
## Setup
To setup this project locally, you need to have a `.env` file in the root directory with the following variables:
Then, install the dependencies:
With development dependencies:
```bash
pip install -r requirements.dev.txt
```
Without development dependencies:
```bash
pip install -r requirements.txt
```
```
astra
β”œβ”€ .chroma
β”‚ β”œβ”€ chroma.sqlite3
β”‚ β”œβ”€ dc7b6404-7ded-4d69-99f3-f52281dcd3a5
β”‚ β”‚ β”œβ”€ data_level0.bin
β”‚ β”‚ β”œβ”€ header.bin
β”‚ β”‚ β”œβ”€ length.bin
β”‚ β”‚ └─ link_lists.bin
β”‚ └─ ed364018-df08-4fec-9296-0669e97a7ab7
β”‚ β”œβ”€ data_level0.bin
β”‚ β”œβ”€ header.bin
β”‚ β”œβ”€ length.bin
β”‚ └─ link_lists.bin
β”œβ”€ .gitignore
β”œβ”€ .python-version
β”œβ”€ app
β”‚ β”œβ”€ ingest.py
β”‚ β”œβ”€ main.py
β”‚ β”œβ”€ src
β”‚ β”‚ β”œβ”€ astra.py
β”‚ β”‚ β”œβ”€ chroma.py
β”‚ β”‚ β”œβ”€ llm.py
β”‚ β”‚ β”œβ”€ sentence.py
β”‚ β”‚ β”œβ”€ settings.py
β”‚ β”‚ β”œβ”€ template.py
β”‚ β”‚ β”œβ”€ test.py
β”‚ β”‚ └─ __init__.py
β”‚ └─ __init__.py
β”œβ”€ data
β”‚ └─ sub_chunk_kb_acl-100k.csv
β”œβ”€ pyproject.toml
β”œβ”€ README.md
β”œβ”€ requirements.dev.txt
└─ requirements.txt
```