-
Notifications
You must be signed in to change notification settings - Fork 30
OLS-2166: even in debug mode, OLS server never indicates BYOK indexes are loaded #1049
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OLS-2166: even in debug mode, OLS server never indicates BYOK indexes are loaded #1049
Conversation
@syedriko: This pull request references OLS-2166 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@syedriko: This pull request references OLS-2166 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@syedriko: This pull request references OLS-2166 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@syedriko: This pull request references OLS-2166 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
@syedriko: This pull request references OLS-2166 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/retest |
/retest |
247c3bb
to
adc70d0
Compare
/retest |
referenceIndex := ReferenceIndex{ | ||
ProductDocsIndexPath: filepath.Join(RAGVolumeMountPath, fmt.Sprintf("rag-%d", i)), | ||
ProductDocsIndexId: index.IndexID, | ||
ProductDocsOrigin: index.Image, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@syedriko What will be the indexOrigin name for BYOK images ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a BYOK image, its ProductDocsOrigin will be its image:tag. For example,
ols:
rag:
- image: quay.io/openshift-lightspeed-test/assisted-installer-guide:2025-1
will log
[ols.src.rag_index.index_loader:index_loader.py:148] INFO: Loading vector index #0 from quay.io/openshift-lightspeed-test/assisted-installer-guide:2025-1...
...
[ols.src.rag_index.index_loader:index_loader.py:148] INFO: Loading vector index #1 from Red Hat OpenShift 4.19 documentation...
/lgtm /test bundle-e2e-4-19 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: raptorsun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@syedriko: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/retest |
Description
Added a new field to the OLS RAG configuration - product_docs_origin -
that the OLS will use to identify the source of the RAG database. For BYOK RAG sources, product_docs_origin is set to the BYOK image name:tag. For OCP docs, it is set to "Red Hat OpenShift x.y documentation"
The corresponding service PR is openshift/lightspeed-service#2630
Type of change
Related Tickets & Documents
Checklist before requesting a review
Testing