richlai commited on
Commit
4d270f8
β€’
1 Parent(s): 0f0f777

update requirements

Browse files
README.md CHANGED
@@ -70,4 +70,4 @@ To run the application locally, at the main folder, run the following command in
70
  ./run.sh
71
  ```
72
 
73
- The application will be available at http://localhost:8080 and http://localhost:8080/chainlit. The latter uses the Chainlit UI. The former is the React.js version in progress
 
70
  ./run.sh
71
  ```
72
 
73
+ The application will be available at http://localhost:8000
frontend/src/{api.ts β†’ api.js} RENAMED
@@ -1,4 +1,4 @@
1
- const API_URL = 'http://localhost:8080';
2
 
3
  export const login = async (username: string, password: string): Promise<string> => {
4
  const response = await fetch(`${API_URL}/api/token`, {
 
1
+ const API_URL = 'http://localhost:8000';
2
 
3
  export const login = async (username: string, password: string): Promise<string> => {
4
  const response = await fetch(`${API_URL}/api/token`, {
requirements.txt CHANGED
@@ -1,148 +1,35 @@
1
- absl-py==2.1.0
2
- aiohappyeyeballs==2.4.3
3
- aiohttp==3.10.10
4
- aiosignal==1.3.1
5
- annotated-types==0.7.0
6
- anyio==4.6.2.post1
7
- appdirs==1.4.4
8
- attrs==24.2.0
9
  bcrypt==4.0.1
10
  boto3==1.35.57
11
- botocore==1.35.57
12
- certifi==2024.8.30
13
- charset-normalizer==3.4.0
14
- click==8.1.7
15
  comtypes==1.2.0
16
- dataclasses-json==0.6.7
17
- datasets==2.14.5
18
- Deprecated==1.2.14
19
- dill==0.3.7
20
- distro==1.9.0
21
- dnspython==2.7.0
22
  docx2txt==0.8
23
- ecdsa==0.19.0
24
- email_validator==2.2.0
25
  fastapi==0.115.4
26
- filelock==3.16.1
27
  fpdf==1.7.2
28
- frozenlist==1.5.0
29
- fsspec==2023.6.0
30
- googleapis-common-protos==1.65.0
31
- grpcio==1.67.1
32
- grpcio-tools==1.62.3
33
- h11==0.14.0
34
  h2==4.1.0
35
- hpack==4.0.0
36
- httpcore==0.17.3
37
  httptools==0.6.4
38
- httpx==0.24.1
39
- huggingface-hub==0.26.2
40
- hyperframe==6.0.1
41
- idna==3.10
42
- importlib_metadata==8.4.0
43
- Jinja2==3.1.4
44
- jiter==0.5.0
45
- jmespath==1.0.1
46
- joblib==1.4.2
47
- jsonpatch==1.33
48
- jsonpointer==3.0.0
49
- langchain==0.3.0
50
- langchain-community==0.3.0
51
- langchain-core==0.3.1
52
- langchain-openai==0.2.0
53
  langchain-qdrant==0.1.4
54
- langchain-text-splitters==0.3.0
55
  langgraph==0.2.34
56
- langgraph-checkpoint==2.0.2
57
- langsmith==0.1.142
58
- llvmlite==0.43.0
59
- MarkupSafe==3.0.2
60
- marshmallow==3.22.0
61
- more-itertools==10.5.0
62
  motor==3.3.1
63
- mpmath==1.3.0
64
- msgpack==1.1.0
65
- multidict==6.1.0
66
- multiprocess==0.70.15
67
- mypy-extensions==1.0.0
68
- nest-asyncio==1.6.0
69
- networkx==3.4.2
70
- nltk==3.9.1
71
- numba==0.60.0
72
- numpy==1.26.4
73
- openai==1.54.3
74
  openai-whisper==20240930
75
- opentelemetry-api==1.27.0
76
  opentelemetry-exporter-otlp==1.27.0
77
- opentelemetry-exporter-otlp-proto-common==1.27.0
78
- opentelemetry-exporter-otlp-proto-grpc==1.27.0
79
- opentelemetry-exporter-otlp-proto-http==1.27.0
80
  opentelemetry-instrumentation==0.48b0
81
- opentelemetry-proto==1.27.0
82
- opentelemetry-sdk==1.27.0
83
- opentelemetry-semantic-conventions==0.48b0
84
- orjson==3.10.11
85
- packaging==24.2
86
- pandas==2.1.4
87
  passlib==1.7.4
88
- pillow==11.0.0
89
- portalocker==2.10.1
90
- propcache==0.2.0
91
- protobuf==4.25.5
92
- pyarrow==18.0.0
93
- pyasn1==0.6.1
94
- pydantic==2.7.4
95
- pydantic-settings==2.6.1
96
- pydantic_core==2.18.4
97
  pymongo==4.5.0
98
- PyMuPDF==1.24.10
99
- PyMuPDFb==1.24.10
100
- pysbd==0.3.4
101
- python-dateutil==2.9.0.post0
102
- python-dotenv==1.0.1
103
  python-jose==3.3.0
104
  python-multipart==0.0.17
105
  pyttsx3==2.90
106
- pytz==2024.2
107
- PyYAML==6.0.2
108
- qdrant-client==1.12.1
109
  ragas==0.2.1
110
- regex==2024.11.6
111
- requests==2.32.3
112
- requests-toolbelt==1.0.0
113
- rouge_score==0.1.2
114
- rsa==4.9
115
- s3transfer==0.10.3
116
- safetensors==0.4.5
117
- scikit-learn==1.5.2
118
- scipy==1.14.1
119
  sentence-transformers==2.3.0
120
- sentencepiece==0.2.0
121
- setuptools==75.3.0
122
- six==1.16.0
123
- sniffio==1.3.1
124
- SQLAlchemy==2.0.36
125
- starlette==0.41.2
126
- sympy==1.13.1
127
  tabulate==0.9.0
128
  tavily-python==0.5.0
129
- tenacity==8.5.0
130
- threadpoolctl==3.5.0
131
- tiktoken==0.8.0
132
- tokenizers==0.20.3
133
- torch==2.5.1
134
- tqdm==4.67.0
135
- transformers==4.46.2
136
- typing-inspect==0.9.0
137
- typing_extensions==4.12.2
138
- tzdata==2024.2
139
- urllib3==2.2.3
140
  uvicorn==0.32.0
141
  uvloop==0.21.0
142
  watchfiles==0.24.0
143
  websockets==13.1
144
- wheel==0.44.0
145
- wrapt==1.16.0
146
- xxhash==3.5.0
147
- yarl==1.17.1
148
- zipp==3.20.2
 
1
+ accelerator==2024.9.13
 
 
 
 
 
 
 
2
  bcrypt==4.0.1
3
  boto3==1.35.57
 
 
 
 
4
  comtypes==1.2.0
 
 
 
 
 
 
5
  docx2txt==0.8
6
+ email-validator==2.2.0
 
7
  fastapi==0.115.4
 
8
  fpdf==1.7.2
 
 
 
 
 
 
9
  h2==4.1.0
 
 
10
  httptools==0.6.4
11
+ importlib-resources==6.4.0
12
+ jaraco.collections==5.1.0
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  langchain-qdrant==0.1.4
 
14
  langgraph==0.2.34
 
 
 
 
 
 
15
  motor==3.3.1
 
 
 
 
 
 
 
 
 
 
 
16
  openai-whisper==20240930
 
17
  opentelemetry-exporter-otlp==1.27.0
 
 
 
18
  opentelemetry-instrumentation==0.48b0
 
 
 
 
 
 
19
  passlib==1.7.4
20
+ platformdirs==4.2.2
 
 
 
 
 
 
 
 
21
  pymongo==4.5.0
22
+ pymupdf==1.24.10
 
 
 
 
23
  python-jose==3.3.0
24
  python-multipart==0.0.17
25
  pyttsx3==2.90
 
 
 
26
  ragas==0.2.1
27
+ rouge-score==0.1.2
 
 
 
 
 
 
 
 
28
  sentence-transformers==2.3.0
 
 
 
 
 
 
 
29
  tabulate==0.9.0
30
  tavily-python==0.5.0
31
+ tomli==2.0.1
 
 
 
 
 
 
 
 
 
 
32
  uvicorn==0.32.0
33
  uvloop==0.21.0
34
  watchfiles==0.24.0
35
  websockets==13.1