Skip to content

Commit 4ad7650

Browse files
1993heqiangmarkpollack
authored andcommitted
Fix etl-pipeline.adoc and prompt.adoc issues.
1 parent f111aae commit 4ad7650

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/etl-pipeline.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ The `TextSplitter` an abstract base class that helps divides documents to fit th
515515

516516

517517
=== TokenTextSplitter
518-
The `TokenTextSplitter` is an implementation of `TextSplitter` that splits text into chunks based on token count, using the `CL100K_BASE encoding.
518+
The `TokenTextSplitter` is an implementation of `TextSplitter` that splits text into chunks based on token count, using the CL100K_BASE encoding.
519519

520520
==== Usage
521521

@@ -593,6 +593,7 @@ for (Document doc : splitDocuments) {
593593
* Metadata from the original documents is preserved and copied to all chunks derived from that document.
594594
* The content formatter (if set) from the original document is also copied to the derived chunks if `copyContentFormatter` is set to `true` (default behavior).
595595
* This splitter is particularly useful for preparing text for large language models that have token limits, ensuring that each chunk is within the model's processing capacity.
596+
596597
=== ContentFormatTransformer
597598
Ensures uniform content formats across all documents.
598599

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/prompt.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ More than just an answer or reaction, it's crucial for maintaining the flow of t
9595
By tracking the AI's previous responses (its 'Assistant Role' messages), the system ensures coherent and contextually relevant interactions.
9696
The Assistant message may contain Function Tool Call request information as well.
9797
It's like a special feature in the AI, used when needed to perform specific functions such as calculations, fetching data, or other tasks beyond just talking.
98-
* Tool/Function Role: The Too/Function Role focuses on returning additional information in response to Tool Call Assistant Messages.
98+
* Tool/Function Role: The Tool/Function Role focuses on returning additional information in response to Tool Call Assistant Messages.
9999

100100
Roles are represented as an enumeration in Spring AI as shown below
101101

0 commit comments

Comments
 (0)