NenJa commited on
Commit
49e4256
β€’
1 Parent(s): 33769ea

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +58 -0
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
+ ```