mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-03 04:12:37 +02:00
Load default embeddings model into container (#283)
This commit is contained in:
parent
0ebd770cb5
commit
5a5daa527f
1 changed files with 4 additions and 0 deletions
|
|
@ -20,6 +20,10 @@ RUN pip3 install anthropic boto3 cohere openai google-cloud-aiplatform ollama go
|
||||||
neo4j tiktoken falkordb && \
|
neo4j tiktoken falkordb && \
|
||||||
pip3 cache purge
|
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
|
# 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
|
# creates a bunch of left-over cruft, a separate phase means this is only
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue