Skip to content

Commit ad7af60

Browse files
committed
improve vector-store docs
1 parent b9d2add commit ad7af60

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

spring-ai-core/src/main/java/org/springframework/ai/vectorstore/filter/converter/AbstractFilterExpressionConverter.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import org.springframework.ai.vectorstore.filter.Filter.ExpressionType;
2424
import org.springframework.ai.vectorstore.filter.Filter.Group;
2525
import org.springframework.ai.vectorstore.filter.Filter.Operand;
26-
import org.springframework.util.Assert;
2726

2827
/**
2928
* @author Christian Tzolov

vector-stores/spring-ai-azure/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ In your main code, create some documents
121121

122122
```java
123123
List<Document> documents = List.of(
124-
new Document("Spring AI rocks!! Spring AI rocks!! Spring AI rocks!! Spring AI rocks!! Spring AI rocks!!", Map.of("meta1", "meta1")),
124+
new Document("Spring AI rocks!! Spring AI rocks!! Spring AI rocks!! Spring AI rocks!! Spring AI rocks!!", Map.of("country", "BG", "year", 2020)),
125125
new Document("The World is Big and Salvation Lurks Around the Corner"),
126-
new Document("You walk forward facing the past and you turn back toward the future.", Map.of("meta2", "meta2")));
126+
new Document("You walk forward facing the past and you turn back toward the future.", Map.of("country", "NL", "year", 2023)));
127127
```
128128

129129
Add the documents to your vector store:

0 commit comments

Comments
 (0)