File tree 4 files changed +2168
-9
lines changed
4 files changed +2168
-9
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,11 @@ if [ ! -d "$DEST_PATH" ]; then
22
22
mkdir -p " $DEST_PATH "
23
23
fi
24
24
25
+ # Install uv
26
+ curl -LsSf https://astral.sh/uv/install.sh | sh
27
+
25
28
# Build the docs index
26
- cd ai/docbot && python docs_index.py --build-index && cd -
29
+ cd ai/docbot && uv run docs_index.py --build-index && cd -
27
30
28
31
# Get the path of this script which is the demo dir.
29
32
DEMO_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
Original file line number Diff line number Diff line change
1
+ [project ]
2
+ name = " docbot"
3
+ version = " 0.1.0"
4
+ description = " A chatbot for docs"
5
+ readme = " README.md"
6
+ requires-python = " >=3.10"
7
+ dependencies = [
8
+ " gunicorn>=23.0.0" ,
9
+ " nest-asyncio>=1.6.0" ,
10
+ " llama-index==0.10.68" ,
11
+ " google-generativeai>=0.5.4" ,
12
+ " llama-index-llms-gemini==0.2.0" ,
13
+ " llama-index-embeddings-google==0.1.6" ,
14
+ " llama-index-retrievers-bm25==0.2.2" ,
15
+ " mesop>=0.12.2" ,
16
+ ]
17
+
18
+ [tool .uv ]
19
+ dev-dependencies = []
20
+
21
+ [tool .uv .workspace ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments