Luigi commited on
Commit
c17a485
·
1 Parent(s): 589dfa6

prepare llm classifier

Browse files
Files changed (2) hide show
  1. Dockerfile +4 -0
  2. requirements.txt +5 -0
Dockerfile CHANGED
@@ -26,6 +26,10 @@ RUN pip install --no-cache-dir "tensorflow<2.9.0,>=2.8.0"
26
  # 6) Pin NumPy to a 1.20–1.23 release for C-API compatibility & deprecated aliases
27
  RUN pip install --no-cache-dir "numpy>=1.20.0,<1.24.0"
28
 
 
 
 
 
29
  # 7) Copy in your Rasa project
30
  COPY domain.yml config.yml endpoints.yml /app/
31
  COPY data /app/data
 
26
  # 6) Pin NumPy to a 1.20–1.23 release for C-API compatibility & deprecated aliases
27
  RUN pip install --no-cache-dir "numpy>=1.20.0,<1.24.0"
28
 
29
+ # 3) Install Outlines 0.2.1 from GitHub without pulling its pre-commit deps
30
+ RUN pip install --no-cache-dir --no-deps --ignore-requires-python \
31
+ git+https://github.com/dottxt-ai/outlines.git@0.2.1#egg=outlines
32
+
33
  # 7) Copy in your Rasa project
34
  COPY domain.yml config.yml endpoints.yml /app/
35
  COPY data /app/data
requirements.txt CHANGED
@@ -1,2 +1,7 @@
 
1
  gradio==4.44.1
2
  requests
 
 
 
 
 
1
+ # Core HTTP & UI dependencies
2
  gradio==4.44.1
3
  requests
4
+ jsonschema>=4.0.0
5
+ # Tokenizers & LLM
6
+ tiktoken
7
+ openai