Skip to content

Commit 9aa97b5

Browse files
jiacheotzolov
authored andcommitted
fix wrong document code examples
1 parent b21427c commit 9aa97b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ Example:
170170
public class MyTikaDocumentReader {
171171
172172
@Value("classpath:/word-sample.docx") // This is the word document to load
173-
private Resource resource;
173+
private Resource resource;
174174
175-
List<Document> loadText() {
176-
TikaDocumentReader tikaDocumentReader = new TikaDocumentReader(resourceUri);
175+
List<Document> loadText() {
176+
TikaDocumentReader tikaDocumentReader = new TikaDocumentReader(resource);
177177
return tikaDocumentReader.get();
178178
}
179179
}
@@ -229,4 +229,4 @@ See xref:api/vectordbs.adoc[Vector DB Documentation] for a full listing.
229229
The following class diagram illustrates the ETL interfaces and implementations.
230230

231231
// image::etl-class-diagram.jpg[align="center", width="800px"]
232-
image::etl-class-diagram.jpg[align="center"]
232+
image::etl-class-diagram.jpg[align="center"]

0 commit comments

Comments
 (0)