Skip to content

Commit 2342f92

Browse files
authored
RHDHBUGS-2052: Fixed issues in the Dev Lightspeed docs (redhat-developer#1387)
* Fixed issues * Updating the versions * Karthik's comment * Incorporated Kartihk's comments
1 parent 22ccef4 commit 2342f92

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

modules/developer-lightspeed/con-about-developer-lightspeed.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
:_mod-docs-content-type: CONCEPT
22

33
[id="con-about-developer-lightspeed_{context}"]
4-
= About Developer Lightspeed
4+
= About {ls-short}
55

66
include::{docdir}/artifacts/snip-developer-preview.adoc[]
77

8-
This early access program enables customers to share feedback on the user experience, features, capabilities, and any issues encountered. Your input helps ensure that Developer Lightspeed better meets your needs when it is officially released and made generally available.
8+
This early access program enables customers to share feedback on the user experience, features, capabilities, and any issues encountered. Your input helps ensure that {ls-short} better meets your needs when it is officially released and made generally available.
99

1010
{ls-brand-name} ({ls-short}) is a virtual assistant powered by generative Artificial Intelligence (AI) designed for {product}({product-very-short}). The assistant offers in-depth insights into {product-very-short}, including its wide range of capabilities. You can interact with this assistant to explore and learn more about {product-very-short} in greater detail.
1111

modules/developer-lightspeed/proc-installing-and-configuring-lightspeed.adoc

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@ data:
3030
llm_providers:
3131
- name: dummy
3232
type: openai
33-
url: 'https://dummy.com'
33+
url: https://dummy.com
3434
models:
3535
- name: dummymodel
3636
ols_config:
37+
user_data_collection:
38+
log_level: "DEBUG"
39+
feedback_disabled: false
40+
feedback_storage: "/tmp/feedback"
3741
reference_content:
3842
product_docs_index_path: "./vector_db/rhdh_product_docs/1.7"
3943
product_docs_index_id: rhdh-product-docs-1_7
@@ -42,22 +46,25 @@ data:
4246
type: memory
4347
memory:
4448
max_entries: 1000
45-
authentication_config:
46-
module: noop
47-
default_provider: dummy
48-
default_model: dummymodel
49-
query_validation_method: llm
50-
user_data_collection:
51-
feedback_disabled: false
52-
feedback_storage: /app-root/tmp/data/feedback
49+
logging_config:
50+
app_log_level: info
51+
lib_log_level: warning
52+
uvicorn_log_level: info
53+
suppress_metrics_in_log: false
54+
suppress_auth_checks_warning_in_log: false
55+
authentication_config:
56+
module: "noop"
57+
default_provider: dummy
58+
default_model: dummymodel
59+
query_validation_method: disabled
5360
dev_config:
5461
enable_dev_ui: false
5562
disable_auth: false
5663
disable_tls: true
5764
enable_system_prompt_override: true
5865
user_data_collector_config:
59-
ingress_url: 'https://example.ingress.com/upload'
60-
user_agent: example-agent
66+
user_agent: "example-user-agent"
67+
ingress_url: "https://example.ingress.com/upload"
6168
----
6269
.. Optional: Configure the number of workers that scale the REST API by specifying the following example to the `ols_config.max_workers` parameter in the {rcs-short} ConfigMap.
6370
+
@@ -103,9 +110,9 @@ data:
103110
lightspeed:
104111
# REQUIRED: Configure LLM servers with OpenAI API compatibility
105112
servers:
106-
- id: ${LIGHTSPEED_SERVER_ID}
107-
url: ${LIGHTSPEED_SERVER_URL}
108-
token: ${LIGHTSPEED_SERVER_TOKEN}
113+
- id: ${LLM_SERVER_ID}
114+
url: ${LLM_SERVER_URL}
115+
token: ${LLM_SERVER_TOKEN}
109116
110117
# OPTIONAL: Enable/disable question validation (default: true)
111118
# When enabled, restricts questions to RHDH-related topics for better security

0 commit comments

Comments
 (0)