Imptove redis VD docs

This commit is contained in:
Christian Tzolov
2024-01-26 18:47:34 +01:00
parent 8f9a1475c1
commit 4ec78f8d34

View File

@@ -100,6 +100,10 @@ public VectorStore vectorStore(EmbeddingClient embeddingClient) {
}
----
> [NOTE]
> It is more convenient and preferred to create the `RedisVectorStore` as a Bean.
> But if you decide to create it manually, then you must call the `RedisVectorStore#afterPropertiesSet()` after setting the properties and before using the client.
> [NOTE]
> You must list explicitly all metadata field names and types (`TAG`, `TEXT`, or `NUMERIC`) for any metadata field used in filter expression.
> The `withMetadataFields` above registers filterable metadata fields: `country` of type `TAG`, `year` of type `NUMERIC`.