Skip to content

Commit d91e102

Browse files
authored
Fix small typos (#59)
1 parent 740b41f commit d91e102

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/docs/step-09.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ however Quarkus offers a few ways to visualize and search the collected data on
270270

271271
Quarkus provides an experimental new Dev Service to help visualize all your OpenTelemetry observability data in a central place.
272272
It is based on the open source LGTM stack, which stands for Loki (log aggregation), Grafana (graph tool), Tempo (traces aggregation)
273-
and Prometheus (metrics aggregation). By adding the `quarkus-observability-devservices-gtm` extension, this set of tools will
273+
and Prometheus (metrics aggregation). By adding the `quarkus-observability-devservices-lgtm` extension, this set of tools will
274274
automatically (or may we say 'automagically'?) start up in their respective containers and wire up to your application's observability endpoints.
275275

276276
Add the following dependencies in your `pom.xml`:

docs/docs/step-10.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Do not return anything else. Do not even return a newline or a leading field. On
108108

109109
and return together with that number a long explanation of how it calculated the score. This makes the `PromptInjectionDetectionService` to fail, not being able to convert that verbal explanation into a double.
110110

111-
The [output guardrails](https://docs.quarkiverse.io/quarkus-langchain4j/dev/guardrails.html#_output_guardrails) provided by the Quarkus-LangChain4j extension are functions invoked once the LLM has produced its output, allowing to rewrite, or even block, that output before passing it downstream. In our case we can try to sanitize the hallucinated LLM response and extract a single number from it by creating the `dev.langchain4j.quarkus.workshop.NumericOutputSanitizerGuard` class with the following content:==
111+
The [output guardrails](https://docs.quarkiverse.io/quarkus-langchain4j/dev/guardrails.html#_output_guardrails) provided by the Quarkus-LangChain4j extension are functions invoked once the LLM has produced its output, allowing to rewrite, or even block, that output before passing it downstream. In our case we can try to sanitize the hallucinated LLM response and extract a single number from it by creating the `dev.langchain4j.quarkus.workshop.NumericOutputSanitizerGuard` class with the following content:
112112

113113
```java title="NumericOutputSanitizerGuard.java"
114114
--8<-- "../../step-10/src/main/java/dev/langchain4j/quarkus/workshop/NumericOutputSanitizerGuard.java"
@@ -130,4 +130,4 @@ What can you tell me about your cancellation policy?
130130

131131
Note that it might take a bit longer than ChatGPT to answer the question.
132132

133-
![RAG with Jlama](images/chat-rag-with-jlama.png)
133+
![RAG with Jlama](images/chat-rag-with-jlama.png)

0 commit comments

Comments
 (0)