Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -10,3 +10,61 @@ pinned: false
|
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
13 |
+
# Astra
|
14 |
+
|
15 |
+
|
16 |
+
## Setup
|
17 |
+
To setup this project locally, you need to have a `.env` file in the root directory with the following variables:
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
+
Then, install the dependencies:
|
23 |
+
|
24 |
+
With development dependencies:
|
25 |
+
```bash
|
26 |
+
pip install -r requirements.dev.txt
|
27 |
+
```
|
28 |
+
|
29 |
+
Without development dependencies:
|
30 |
+
```bash
|
31 |
+
pip install -r requirements.txt
|
32 |
+
```
|
33 |
+
|
34 |
+
```
|
35 |
+
astra
|
36 |
+
ββ .chroma
|
37 |
+
β ββ chroma.sqlite3
|
38 |
+
β ββ dc7b6404-7ded-4d69-99f3-f52281dcd3a5
|
39 |
+
β β ββ data_level0.bin
|
40 |
+
β β ββ header.bin
|
41 |
+
β β ββ length.bin
|
42 |
+
β β ββ link_lists.bin
|
43 |
+
β ββ ed364018-df08-4fec-9296-0669e97a7ab7
|
44 |
+
β ββ data_level0.bin
|
45 |
+
β ββ header.bin
|
46 |
+
β ββ length.bin
|
47 |
+
β ββ link_lists.bin
|
48 |
+
ββ .gitignore
|
49 |
+
ββ .python-version
|
50 |
+
ββ app
|
51 |
+
β ββ ingest.py
|
52 |
+
β ββ main.py
|
53 |
+
β ββ src
|
54 |
+
β β ββ astra.py
|
55 |
+
β β ββ chroma.py
|
56 |
+
β β ββ llm.py
|
57 |
+
β β ββ sentence.py
|
58 |
+
β β ββ settings.py
|
59 |
+
β β ββ template.py
|
60 |
+
β β ββ test.py
|
61 |
+
β β ββ __init__.py
|
62 |
+
β ββ __init__.py
|
63 |
+
ββ data
|
64 |
+
β ββ sub_chunk_kb_acl-100k.csv
|
65 |
+
ββ pyproject.toml
|
66 |
+
ββ README.md
|
67 |
+
ββ requirements.dev.txt
|
68 |
+
ββ requirements.txt
|
69 |
+
|
70 |
+
```
|