panos-span commited on
Commit
41ead88
·
verified ·
1 Parent(s): 3f8bed8

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +26 -44
requirements.txt CHANGED
@@ -1,44 +1,26 @@
1
- # Modified requirements.txt for RobotPai Agent
2
- # Uses Hugging Face models instead of OpenAI
3
- # Fixes compatibility and authentication issues
4
-
5
- # Core LangChain packages (fixed versions)
6
- langchain==0.1.20
7
- langchain-community==0.0.38
8
- langchain-core==0.1.52
9
-
10
- # Hugging Face ecosystem (replacing OpenAI)
11
- transformers==4.36.0
12
- sentence-transformers==2.2.2
13
- torch==2.1.0
14
- tokenizers==0.15.0
15
- huggingface-hub==0.19.0
16
-
17
- # Vector database and Supabase
18
- supabase==2.3.0
19
- vecs==0.4.0
20
-
21
- # Data processing
22
- pandas==2.0.3
23
- numpy==1.24.3
24
-
25
- # Gradio for web interface
26
- gradio==4.7.1
27
-
28
- # Environment and utilities
29
- python-dotenv==1.0.0
30
- pydantic==2.5.0
31
- typing-extensions==4.8.0
32
-
33
- # Additional dependencies for compatibility
34
- requests==2.31.0
35
- urllib3==2.0.7
36
- charset-normalizer==3.3.2
37
- certifi==2023.11.17
38
-
39
- # Optional: PostgreSQL adapter (if needed for direct DB access)
40
- psycopg2-binary==2.9.9
41
-
42
- # Note: Removed OpenAI and LangSmith dependencies to avoid authentication errors
43
- # If you need LangSmith tracing later, uncomment the line below and set proper API key:
44
- # langsmith==0.0.87
 
1
+ # Minimal requirements.txt for RobotPai Agent
2
+ # Use this if the main requirements.txt has dependency conflicts
3
+
4
+ # Core packages only
5
+ gradio
6
+ pandas
7
+ numpy
8
+ requests
9
+ python-dotenv
10
+
11
+ # Hugging Face - let pip resolve versions
12
+ transformers
13
+ sentence-transformers
14
+ torch --index-url https://download.pytorch.org/whl/cpu
15
+
16
+ # LangChain minimal
17
+ langchain
18
+ langchain-community
19
+
20
+ # Supabase
21
+ supabase
22
+
23
+ # If this works, you can gradually add back other packages:
24
+ # vecs
25
+ # psycopg2-binary
26
+ # pydantic