[RHIDP-11652] Add BYOM Architecture for Lightspeed#200
[RHIDP-11652] Add BYOM Architecture for Lightspeed#200rm3l merged 11 commits intoredhat-developer:mainfrom
Conversation
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
…coped Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Code Review by Qodo
1.
|
Review Summary by QodoImplement BYOM Architecture for Developer Lightspeed
WalkthroughsDescription• Removes Ollama default and implements full BYOM architecture • Simplifies start/stop scripts by removing interactive provider selection • Adds sync script for upstream Lightspeed config file management • Updates Lightspeed Core to library mode with unified container • Replaces safety guard configuration with query validation feature • Updates environment variables and documentation for BYOM setup Diagramflowchart LR
A["Old Architecture<br/>Ollama Default +<br/>Llama Stack"] -->|Remove| B["BYOM Architecture<br/>No Default Provider"]
B -->|Configure| C["External Providers<br/>vLLM, OpenAI,<br/>Ollama, Vertex AI"]
D["Interactive Scripts<br/>Provider Selection"] -->|Simplify| E["Simplified Scripts<br/>Runtime Detection Only"]
F["Multiple Compose Files<br/>with-ollama,<br/>with-safety-guard"] -->|Consolidate| G["Single Compose File<br/>Library Mode"]
H["Llama Stack Separate"] -->|Merge| I["Lightspeed Core<br/>Library Mode"]
J["Safety Guard Config"] -->|Replace| K["Query Validation<br/>Optional Feature"]
File Changes1. developer-lightspeed/scripts/start-lightspeed.sh
|
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
|
/cc @rm3l |
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
gabemontero
left a comment
There was a problem hiding this comment.
didn't pick up on this @Jdubrick if it occurred with the operator/helm chart work, but with the removal of the run-no-guard.yaml and run.yaml as part of running LLS as a service, do we no longer provide a means of choosing between guard and no-guard ?
thanks
@gabemontero yeah we now enable/disable validation based on an env var. It's documented across the implementations and also will be in the official rhdh docs for lightspeed. You can see the blurb related to rhdh local here: https://github.com/Jdubrick/rhdh-local/blob/remove-lightspeed-ollama/developer-lightspeed/README.md?plain=1#L190 |
cool thanks for the explanation / pointer @Jdubrick |
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
|



Description
ollamaand instead is full BYOM for LightspeedNote: There will be a follow up PR to have Lightspeed included by default, these changes are in preparation for that.
Which issue(s) does this PR fix or relate to
https://redhat.atlassian.net/browse/RHIDP-11652
PR acceptance criteria
How to test changes / Special notes to the reviewer
Follow the instructions in the README.