[RHIDP-11653] Include Lightspeed By Default#202
[RHIDP-11653] Include Lightspeed By Default#202Jdubrick wants to merge 8 commits intoredhat-developer:mainfrom
Conversation
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
… scripts 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>
…ault Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Code Review by Qodo
1. rag-init shell command broken
|
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
Review Summary by QodoInclude Lightspeed by default in RHDH Local
WalkthroughsDescription• Moves Lightspeed to default compose.yaml, enabling it by default • Consolidates Lightspeed configs from developer-lightspeed to root /configs • Disables FAB plugin due to conflict with Lightspeed FAB • Splits Lightspeed documentation into user and maintainer guides • Updates CI tests to remove dedicated Lightspeed compose test Diagramflowchart LR
A["developer-lightspeed/<br/>directory structure"] -->|"consolidate configs"| B["configs/extra-files/<br/>lightspeed files"]
C["developer-lightspeed/<br/>compose.yaml"] -->|"merge into"| D["compose.yaml<br/>default services"]
E["developer-lightspeed/<br/>README.md"] -->|"split into"| F["docs/lightspeed/<br/>working-with-lightspeed.md"]
E -->|"split into"| G["docs/lightspeed/<br/>maintaining-lightspeed.md"]
H["start/stop scripts"] -->|"remove"| I["use standard<br/>compose commands"]
J["FAB plugin"] -->|"disable"| K["avoid conflict<br/>with Lightspeed FAB"]
File Changes1. developer-lightspeed/scripts/start-lightspeed.sh
|
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
|
|
Comment about rag init is not the case, functioning as expected. |
|
IIRC UI team had an interest in the FAB pieces, previously we set it aside to merge the PR |
|
/cc @karthikjeeyar |
| # OPTIONAL: Custom system prompt to override the default RHDH system prompt | ||
| # The system prompt defines the assistant's behavior and knowledge scope | ||
| # Default: Built-in RHDH-focused system prompt | ||
| # systemPrompt: "You are a helpful assistant focused on Red Hat Developer Hub development." |
There was a problem hiding this comment.
FYI Notebook feature is available to try out. I think we should add that configuration here (atleast as an optional with commented code), This will help folks to try out this latest feature and it will help us to get more feedback.
Working config with local ollama:
| # systemPrompt: "You are a helpful assistant focused on Red Hat Developer Hub development." | |
| # systemPrompt: "You are a helpful assistant focused on Red Hat Developer Hub development." | |
| # Notebook configuration for AI Notebooks plugin | |
| notebooks: | |
| enabled: true | |
| queryDefaults: | |
| model: llama3.2:3b # Set the model to use for AI Notebooks | |
| provider_id: vllm # Set the provider ID to use for AI Notebooks | |
| sessionDefaults: | |
| provider_id: notebooks # Set the provider ID to use for AI Notebooks | |
| embedding_model: sentence-transformers/rag-content/embeddings_model # Set the embedding model to use for AI Notebooks | |
| embedding_dimension: 768 | |
| servers: | |
| - id: vllm | |
| url: http://host.docker.internal:11434/v1 | |
| token: unused | |
There was a problem hiding this comment.
@karthikjeeyar good idea!
@JslYoon can you confirm what needs to go in the config with your new set of defaults? I think you changed it recently and it differs from this (working) suggestion?
There was a problem hiding this comment.
@JslYoon I just realised lightseed backend config.d.ts isn't up-to-date, it still have aiNotebooks in the configuration -
we may have to fix the correct configuration in rhdh-plugins repo and also update it in the documentation there.
There was a problem hiding this comment.
Yes sorry I have missed that. working on it right now. @karthikjeeyar
|
Even though it works, I have noticed this double slash in the embedding_model |
@karthikjeeyar That unfortunately has to be there, the way Llama Stack references the embedding model since its mounted locally and not remote needs that for the pathing :/ |




Description
compose.yaml/configs/developer-lightspeeddirectoryWhich issue(s) does this PR fix or relate to
https://redhat.atlassian.net/browse/RHIDP-11653
https://redhat.atlassian.net/browse/RHIDP-11654
PR acceptance criteria
How to test changes / Special notes to the reviewer