Skip to content

Commit 528de0a

Browse files
authored
Merge pull request #93062 from rh-tokeefe/OLS-1621
OLS-1621: Document cluster interaction feature
2 parents cef24a6 + 6ed08cd commit 528de0a

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed

configure/ols-configuring-openshift-lightspeed.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ include::modules/ols-about-lightspeed-and-role-based-access-control.adoc[levelof
2323
include::modules/ols-granting-access-to-individual-users.adoc[leveloffset=+2]
2424
include::modules/ols-granting-access-to-user-group.adoc[leveloffset=+2]
2525
include::modules/ols-filtering-and-redacting-information.adoc[leveloffset=+1]
26+
include::modules/ols-cluster-interaction-overview.adoc[leveloffset=+1]
27+
include::modules/ols-enabling-cluster-interaction.adoc[leveloffset=+2]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Module included in the following assemblies:
2+
// * lightspeed-docs-main/configure/ols-configuring-openshift-lightspeed.adoc
3+
4+
:_mod-docs-content-type: CONCEPT
5+
[id="cluster-interaction-overview_{context}"]
6+
= Cluster interaction overview
7+
8+
A large language model (LLM) is used with the {ols-long} service to generate responses to questions. Use the cluster interaction feature to enhance the knowledge available to the LLM with information about an {ocp-product-title} cluster. Providing cluster information, such as the namespaces or pods that the cluster contains, enables the LLM to generate highly customized responses for your environment.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
// Module included in the following assemblies:
2+
// * lightspeed-docs-main/configure/ols-configuring-openshift-lightspeed.adoc
3+
4+
:_mod-docs-content-type: PROCEDURE
5+
[id="enabling-cluster-interaction_{context}"]
6+
= Enabling cluster interaction
7+
8+
Modify the `OLSConfig` custom resource to enable the cluster interaction feature.
9+
10+
:FeatureName: The cluster interaction feature
11+
include::snippets/technology-preview.adoc[]
12+
13+
.Prerequisites
14+
15+
* You are logged in to the {ocp-product-title} web console as a user with the `cluster-admin` role. Alternatively, you are logged in to a user account that has permission to create a cluster-scoped CR.
16+
17+
* You have configured the large language model (LLM) provider.
18+
19+
* You have installed the {ols-long} Operator.
20+
21+
.Procedure
22+
23+
. In the {ocp-product-title} web console, click *Operators* -> *Installed Operators*.
24+
25+
. Click {ols-long} Operator.
26+
27+
. Click *OLSConfig*, then click the `cluster` configuration instance in the list.
28+
29+
. Click the *YAML* tab.
30+
31+
. Set the `spec.ols.introspectionEnabled` parameter to `true` to enable cluster interaction:
32+
+
33+
.Example `OLSconfig` CR file
34+
[source,yaml,subs="attributes,verbatim"]
35+
----
36+
apiVersion: ols.openshift.io/v1alpha1
37+
kind: OLSConfig
38+
metadata:
39+
name: cluster
40+
spec:
41+
ols:
42+
introspectionEnabled: true
43+
----
44+
45+
. Click *Save*.
46+
47+
. Access the {ols-long} virtual assistant and submit a question associated with the custom content that was added to the LLM.
48+
+
49+
The {ols-long} virtual assistant generates a response based on the custom content.

modules/snippets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../snippets

0 commit comments

Comments
 (0)