tirtho149 commited on
Commit
89cb014
·
verified ·
1 Parent(s): 89c28b5

Add missing runtime deps: openai, tiktoken, sqlalchemy, pdfplumber, tavily-python

Browse files
Files changed (1) hide show
  1. requirements.txt +14 -0
requirements.txt CHANGED
@@ -19,6 +19,20 @@ sentence-transformers>=3.0,<4
19
  # this client version — build and serve on the SAME pin.
20
  qdrant-client>=1.15,<1.16
21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  # API and HTTP
23
  requests>=2.32.0
24
  httpx>=0.28.0
 
19
  # this client version — build and serve on the SAME pin.
20
  qdrant-client>=1.15,<1.16
21
 
22
+ # LLM / OpenAI (used directly, not just via langchain)
23
+ # embeddings.py + llm_response_generator.py do `import openai`; embeddings.py also
24
+ # needs tiktoken. These were installed in the dev env but never declared, so the HF
25
+ # build (which installs ONLY from this file) crashed with ModuleNotFoundError: openai.
26
+ openai>=2,<3
27
+ tiktoken>=0.7
28
+
29
+ # Pesticide-label backend (CDMS): SQLAlchemy models (src/cdms/schema.py) and PDF
30
+ # text extraction (src/cdms/pdf_processor.py) are imported at startup; tavily-python
31
+ # is lazy-imported by the web/ag tools at query time.
32
+ SQLAlchemy>=2,<3
33
+ pdfplumber>=0.11
34
+ tavily-python>=0.5
35
+
36
  # API and HTTP
37
  requests>=2.32.0
38
  httpx>=0.28.0