Create requirements.txt
Browse files- requirements.txt +18 -0
requirements.txt
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core Machine Learning and LLM Support
|
| 2 |
+
transformers>=4.44.0 # For AutoModelForCausalLM and chat template processing [3]
|
| 3 |
+
torch>=2.0.0 # Required backend for model execution [3]
|
| 4 |
+
accelerate>=0.26.0 # For efficient model loading with device_map="auto" [3]
|
| 5 |
+
sentencepiece # Often required by tokenizers for newer models [7]
|
| 6 |
+
|
| 7 |
+
# Agent Orchestration and State Management
|
| 8 |
+
langgraph>=0.2.0 # To build the stateful ReAct graph and loop logic [4, 8]
|
| 9 |
+
langchain>=0.2.0 # Base framework for tool and prompt management [4, 9]
|
| 10 |
+
pydantic>=2.0.0 # For defining structured tool schemas and validated outputs [10, 11]
|
| 11 |
+
|
| 12 |
+
# Web Framework and Connectivity
|
| 13 |
+
flask>=3.0.0 # For the backend API and streaming response handling [12]
|
| 14 |
+
requests>=2.31.0 # For making external API calls if used as agent tools [10, 13]
|
| 15 |
+
|
| 16 |
+
# Utilities and Security
|
| 17 |
+
python-dotenv>=1.0.0 # For secure management of API keys and environment variables [14]
|
| 18 |
+
jinja2>=3.1.0 # Required for processing the model's chat_template.jinja [15]
|