fix: add model provider dependencies
Browse files- Add cohere package for Cohere AI integration
- Add additional model provider packages
- Add LangChain dependencies for model integration
- Maintain existing dependency structure
- Update both builder and runtime stages
- Dockerfile +25 -2
Dockerfile
CHANGED
|
@@ -118,7 +118,17 @@ RUN pip install --no-cache-dir \
|
|
| 118 |
google-api-core \
|
| 119 |
yarl \
|
| 120 |
aiohttp \
|
| 121 |
-
tritonclient[all]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
poetry config virtualenvs.create false && \
|
| 123 |
poetry install --no-dev --no-interaction --no-ansi
|
| 124 |
|
|
@@ -191,7 +201,20 @@ RUN apt-get install -y --no-install-recommends \
|
|
| 191 |
google-generativeai \
|
| 192 |
vertexai \
|
| 193 |
google-cloud-core \
|
| 194 |
-
google-api-core
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
python -m nltk.downloader punkt averaged_perceptron_tagger
|
| 196 |
|
| 197 |
# Set up directory structure
|
|
|
|
| 118 |
google-api-core \
|
| 119 |
yarl \
|
| 120 |
aiohttp \
|
| 121 |
+
tritonclient[all] \
|
| 122 |
+
cohere \
|
| 123 |
+
anthropic \
|
| 124 |
+
replicate \
|
| 125 |
+
aleph-alpha-client \
|
| 126 |
+
stability-sdk \
|
| 127 |
+
huggingface_hub \
|
| 128 |
+
langchain \
|
| 129 |
+
langchain-community \
|
| 130 |
+
langchain-core \
|
| 131 |
+
langchain-openai && \
|
| 132 |
poetry config virtualenvs.create false && \
|
| 133 |
poetry install --no-dev --no-interaction --no-ansi
|
| 134 |
|
|
|
|
| 201 |
google-generativeai \
|
| 202 |
vertexai \
|
| 203 |
google-cloud-core \
|
| 204 |
+
google-api-core \
|
| 205 |
+
yarl \
|
| 206 |
+
aiohttp \
|
| 207 |
+
tritonclient[all] \
|
| 208 |
+
cohere \
|
| 209 |
+
anthropic \
|
| 210 |
+
replicate \
|
| 211 |
+
aleph-alpha-client \
|
| 212 |
+
stability-sdk \
|
| 213 |
+
huggingface_hub \
|
| 214 |
+
langchain \
|
| 215 |
+
langchain-community \
|
| 216 |
+
langchain-core \
|
| 217 |
+
langchain-openai && \
|
| 218 |
python -m nltk.downloader punkt averaged_perceptron_tagger
|
| 219 |
|
| 220 |
# Set up directory structure
|