Load default embeddings model into container (#283)

This commit is contained in:
cybermaggedon 2025-01-27 19:59:08 +00:00 committed by GitHub
parent 0ebd770cb5
commit 5a5daa527f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,6 +20,10 @@ RUN pip3 install anthropic boto3 cohere openai google-cloud-aiplatform ollama go
neo4j tiktoken falkordb && \
pip3 cache purge
# Most commonly used embeddings model, just build it into the container
# image
RUN huggingface-cli download sentence-transformers/all-MiniLM-L6-v2
# ----------------------------------------------------------------------------
# Build a container which contains the built Python packages. The build
# creates a bunch of left-over cruft, a separate phase means this is only