Skip to content

Commit 212bf20

Browse files
[release-1.7] RHDHPAI-808: Developer Lightspeed content RHDH (#1313)
* Developer Lightspeed content RHDH * updated product short name * Incorporated Karthik's comments * Incorporated Judy's comments * Incorporated Karthik's review comments * Rectify the bullets * Some self review changes * Removed cross references * Incorporated Jordan's comments * Maysun's comments * Incorporated Judy's and Ben's comments --------- Co-authored-by: Priyanka Abel <[email protected]>
1 parent 8f84d5d commit 212bf20

36 files changed

+949
-2
lines changed

artifacts/attributes.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,12 @@
8787
:gcp-brand-name: Google Cloud Platform
8888
:gcp-short: GCP
8989

90-
90+
//Developer Lightspeed
91+
:ls-brand-name: Red Hat Developer Lightspeed for {product}
92+
:ls-short: Developer Lightspeed for {product-very-short}
93+
:rcs-name: Road-Core Service
94+
:rcs-short: RCS
95+
:rhoai-brand-name: Red Hat OpenShift AI
9196
// Links
9297

9398

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[IMPORTANT]
22
====
3-
This section describes Developer Preview features in the Adoption Insights plugin. Developer Preview features are not supported by Red Hat in any way and are not functionally complete or production-ready. Do not use Developer Preview features for production or business-critical workloads. Developer Preview features provide early access to functionality in advance of possible inclusion in a Red Hat product offering. Customers can use these features to test functionality and provide feedback during the development process. Developer Preview features might not have any documentation, are subject to change or removal at any time, and have received limited testing. Red Hat might provide ways to submit feedback on Developer Preview features without an associated SLA.
3+
This section describes Developer Preview features in the {ls-brand-name} plugin. Developer Preview features are not supported by Red Hat in any way and are not functionally complete or production-ready. Do not use Developer Preview features for production or business-critical workloads. Developer Preview features provide early access to functionality in advance of possible inclusion in a Red Hat product offering. Customers can use these features to test functionality and provide feedback during the development process. Developer Preview features might not have any documentation, are subject to change or removal at any time, and have received limited testing. Red Hat might provide ways to submit feedback on Developer Preview features without an associated SLA.
44
55
For more information about the support scope of Red Hat Developer Preview features, see https://access.redhat.com/support/offerings/devpreview/[Developer Preview Support Scope].
66
====
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
:context: appendix-about-user-data-security
3+
[id="{context}"]
4+
= Appendix About user data security
5+
6+
include::modules/developer-lightspeed/con-about-data-use.adoc[leveloffset=+1]
7+
8+
include::modules/developer-lightspeed/con-about-feedback-collection.adoc[leveloffset=+1]
9+
10+
include::modules/developer-lightspeed/con-about-bring-your-own-model.adoc[leveloffset=+1]
11+
12+
include::modules/developer-lightspeed/con-your-responsiblity.adoc[leveloffset=+1]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
:context: appendix-llm-requirements
3+
[id="{context}"]
4+
= Appendix: LLM requirements
5+
6+
7+
include::modules/developer-lightspeed/con-llm-requirements.adoc[leveloffset=+1]
8+
9+
include::modules/developer-lightspeed/con-openai.adoc[leveloffset=+1]
10+
11+
include::modules/developer-lightspeed/con-ollama.adoc[leveloffset=+1]
12+
13+
include::modules/developer-lightspeed/con-vllm.adoc[leveloffset=+1]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
:context: customizing-developer-lightspeed
3+
[id="{context}"]
4+
= Customizing {ls-short}
5+
6+
You can customize {ls-short} functionalities, such as, question validation, gathering feedback, and storing chat history in PostgreSQL.
7+
8+
include::modules/developer-lightspeed/proc-using-question-validation.adoc[leveloffset=+1]
9+
10+
include::modules/developer-lightspeed/proc-gathering-feedback.adoc[leveloffset=+1]
11+
12+
include::modules/developer-lightspeed/proc-updating-the-system-prompt.adoc[leveloffset=+1]
13+
14+
include::modules/developer-lightspeed/proc-customizing-the-chat-history-storage.adoc[leveloffset=+1]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
:context: developer-lightspeed
3+
[id="{context}"]
4+
= Interacting with {ls-brand-name}
5+
6+
include::modules/developer-lightspeed/con-about-developer-lightspeed.adoc[leveloffset=+1]
7+
8+
include::modules/developer-lightspeed/con-supported-architecture.adoc[leveloffset=+1]
9+
10+
include::modules/developer-lightspeed/con-about-road-core-service.adoc[leveloffset=+2]
11+
12+
include::modules/developer-lightspeed/con-rag-embeddings.adoc[leveloffset=+1]
13+
14+
include::modules/developer-lightspeed/proc-installing-and-configuring-lightspeed.adoc[leveloffset=+1]
15+
16+
include::assembly-customizing-developer-lightspeed.adoc[leveloffset=+1]
17+
18+
include::assembly-using-developer-lightspeed.adoc[leveloffset=+1]
19+
20+
include::assembly-appendix-llm-requirements.adoc[leveloffset=+1]
21+
22+
include::assembly-appendix-about-user-data-security.adoc[leveloffset=+1]
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
ifdef::context[:parent-context-of-about-rhdh: {context}]
2+
3+
:_mod-docs-content-type: ASSEMBLY
4+
5+
ifndef::context[]
6+
[id="using-developer-lightspeed"]
7+
endif::[]
8+
ifdef::context[]
9+
[id="using-developer-lightspeed_{context}"]
10+
endif::[]
11+
= Using {ls-short}
12+
13+
:context: Using-developer-lightspeed
14+
15+
{ls-brand-name} is designed to support you when performing various tasks during your development workflow.
16+
17+
With `Question Validation` enabled, you can ask {ls-short} the following types of questions:
18+
19+
* “Tell me about {product}.”
20+
21+
* “What are the benefits of {product-very-short}?”
22+
23+
* “Can I use {product-very-short} on an {ocp-short}?”
24+
25+
* “How do I install plugins on {product}?”
26+
27+
With `Question Validation` disabled, the scope of prompts you can put to {ls-short} is much broader. This allows {ls-short} to support you in a much more varied range of work situations as described in the following examples:
28+
29+
* “Analyze this log for me…”
30+
31+
* “Suggest libraries and frameworks I can use to build Event Driven Architecture microservices.”
32+
33+
* “I'm not familiar with this language, so explain to me what this code snippet is doing…”
34+
35+
* “Create a Kubernetes deployment for this service…”
36+
37+
* “Create a test plan for the following scenarios and conditions…”
38+
39+
* “Create a Jira record that describes the following feature…”
40+
41+
* “Draft the end-user documentation describing how to use the following cli command…”
42+
43+
include::modules/developer-lightspeed/proc-using-developer-lightspeed-to-start-a-chat-for-the-first-time.adoc[leveloffset=+1]
44+
45+
include::modules/developer-lightspeed/proc-using-developer-lightspeed-to-create-new-chats-after-the-first-chat.adoc[leveloffset=+1]
46+
47+
include::modules/developer-lightspeed/proc-using-developer-lightspeed-to-view-chat-history.adoc[leveloffset=+1]
48+
49+
include::modules/developer-lightspeed/proc-using-developer-lightspeed-to-delete-a-chat.adoc[leveloffset=+1]
154 KB
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:_mod-docs-content-type: CONCEPT
2+
[id="con-about-bring-your-own-model_{context}"]
3+
= About Bring Your Own Model
4+
5+
{ls-short} does not provide its own inference services, but uses a _Bring Your Own Model_ approach. This means that you can configure the {rcs-name} to talk to the inference server or service of your choice. This also means that you are responsible for ensuring that the configured service meets your particular company policies and legal requirements, including any applicable terms with the third-party model provider.
6+
//Add the cross reference to "Bring your own model"
7+
The only technical requirements for inference services are:
8+
9+
* The service must conform to the link:https://github.com/openai/openai-openapi/tree/manual_spec[OpenAI API specification].
10+
* The service must be configured correctly following the installation and configuration instructions.
11+
// Add the cross-reference to "Installation and configuraiton" after the docs are published
12+
There are many commercial and open source inference services that support the OpenAI API specification for chat completions. The cost, performance, and security of these services can differ and it is up to you to choose, through evaluation and testing, the inference service that best meets your company's needs.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
:_mod-docs-content-type: CONCEPT
2+
[id="con-about-data-use_{context}"]
3+
= About data use
4+
5+
{ls-short} is a virtual assistant you interact with using natural language. Using the {ls-short} interface, you send chat messages that {ls-short} transforms and sends to the large language model (LLM) provider you have configured for your environment. These messages could potentially contain information provided by your users about themselves, your cluster, cluster resources, or other aspects of your business or working environment.
6+
7+
{ls-short} has limited capabilities to filter or redact the information you provide to the LLM. Do not enter information into {ls-short} that you do not want to send to the LLM provider. To remind end users not to share private or confidential information, {ls-short} begins each new chat with an 'Important' message asking them not to “include personal or sensitive information” in their chat messages.

0 commit comments

Comments
 (0)