Repository navigation
feat(intelligent-assistant): add optional OKP document retrieval - #310
Conversation
a5384ad to
71536eb
Compare
|
/fs-review |
a37117e to
f288dfc
Compare
|
/agentic_review |
Code Review by Qodo
1. Default document lookup endpoint fails
|
f288dfc to
d730540
Compare
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit d730540 |
|
fyi @rm3l @maysunfaisal pulled in my #328 changes into here to have the IA part of RHDH Local updated in one go. Still have equivalent changes for operator and chart in their own PRs, redhat-developer/rhdh-operator#3612 and redhat-developer/rhdh-chart#549 respectively. |
9cdfa3e to
bfd21d8
Compare
|
@rm3l we had another team discussion about Ollama and decided for RHDH Local to leave the Ollama content in place for the time being given its not RHDH product supported. @maysunfaisal has taken these changes out, but left in my change for the RC release of the target LCORE version. |
|
@rm3l addressed all your reviews, pls take a look, thank you |
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Co-authored-by: Codex <noreply@openai.com>
1f464a1 to
9eda82e
Compare
Co-authored-by: Codex <noreply@openai.com>
9eda82e to
59ec248
Compare
|
|
/cherrypick release-2.1 |
|
@rm3l: #310 failed to apply on top of branch "release-2.1": DetailsIn 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 kubernetes-sigs/prow repository. |
* feat(intelligent-assistant): add optional OKP document retrieval (#310) Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Michael Valdron <mvaldron@redhat.com> Co-authored-by: Armel Soro <asoro@redhat.com> Co-authored-by: Armel Soro <armel@rm3l.org> Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> Signed-off-by: Michael Valdron <mvaldron@redhat.com> * docs: align LCORE version with release-2.1 Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> --------- Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com> Signed-off-by: Michael Valdron <mvaldron@redhat.com> Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Michael Valdron <mvaldron@redhat.com> Co-authored-by: Armel Soro <asoro@redhat.com> Co-authored-by: Armel Soro <armel@rm3l.org>



Target branch
Description
This PR integrates Offline Knowledge Portal (OKP) as an optional product-documentation source for Developer Hub Intelligent Assistant in RHDH Local.
registry.redhat.ioor pulling the OKP image.Which issue(s) does this PR fix or relate to
https://redhat.atlassian.net/browse/RHIDP-14136
PR acceptance criteria
How to test changes / Special notes to the reviewer
Intelligent Assistant without OKP (default)
Create a local provider configuration and
.envfile:Uncomment an inference provider in
configs/extra-files/lightspeed-stack.local.yaml, configure its credentials in.env, and add:Start RHDH Local without logging in to
registry.redhat.io:Verify
rhdhandlightspeed-coreare running, nookpcontainer exists, and the following commands return no output:Open http://localhost:7007/intelligent-assistant and verify the chatbot works without OKP-backed documentation or citations.
Intelligent Assistant with OKP (opt-in)
Stop the default deployment and authenticate to the Red Hat registry:
Enable OKP and create an OKP-enabled local provider configuration:
Uncomment the same inference provider in
configs/extra-files/lightspeed-stack-okp.local.yaml, then add to.env:Start and verify the opt-in deployment:
Verify
rhdh,lightspeed-core, andokpare running,okpis healthy, and LCORE has the OKP URL:podman exec lightspeed-core printenv OKP_SERVICE_URLOpen http://localhost:7007/intelligent-assistant, ask an RHDH documentation question, and verify the response contains clickable OKP citations.
Docker users can replace
podmanwithdockerin the commands above.Cleanup