Skip to content

Use pre-cached OKP embeddings model from rag-docs (if available)#2

Merged
lpiwowar merged 1 commit into
openstack-k8s-operators:mainfrom
umago:cache-okp-embeddings
Jul 7, 2026
Merged

Use pre-cached OKP embeddings model from rag-docs (if available)#2
lpiwowar merged 1 commit into
openstack-k8s-operators:mainfrom
umago:cache-okp-embeddings

Conversation

@umago

@umago umago commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

When the rag-docs repository is cloned and contains the okp_embeddings_model directory, copy it directly instead of downloading from Hugging Face. This allows hermetic builds (e.g. Konflux) to supply the model via the rag-docs repo without requiring network access during the container build.

When the rag-docs repository is cloned and contains the
okp_embeddings_model directory, copy it directly instead of downloading
from Hugging Face. This allows hermetic builds (e.g. Konflux) to supply
the model via the rag-docs repo without requiring network access during
the container build.

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
@umago umago marked this pull request as draft July 3, 2026 15:55
@umago umago marked this pull request as ready for review July 7, 2026 14:42

@lpiwowar lpiwowar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@lpiwowar lpiwowar merged commit e397844 into openstack-k8s-operators:main Jul 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants