File tree Expand file tree Collapse file tree
src/main/java/org/soujava/samples/ai/patterns/rag Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ public static void main(String[] args) {
1818
1919 // 0. Fetch dependencies from CDI
2020 EmbeddingModel embeddingModel = container .select (EmbeddingModel .class ).get ();
21- EmbeddingStore <TextSegment > vectorDb = container .select (new TypeLiteral <EmbeddingStore <TextSegment >>() {}).get ();
21+ EmbeddingStore <TextSegment > vectorDb = container .select (new TypeLiteral <EmbeddingStore <TextSegment >>() {
22+ }).get ();
2223 HRPolicyAgent agent = container .select (HRPolicyAgent .class ).get ();
2324
2425 // PHASE 1: DATA INGESTION
@@ -50,7 +51,7 @@ public static void main(String[] args) {
5051 .build ();
5152
5253 ingestor .ingest (document );
53- } else {
54+ } else {
5455 System .out .println ("Document already ingested. Skipping ingestion step." );
5556 }
5657
You can’t perform that action at this time.
0 commit comments