quarkiverse / quarkus-langchain4j

Quarkus Langchain4j extension
https://docs.quarkiverse.io/quarkus-langchain4j/dev/index.html
Apache License 2.0
119 stars 65 forks source link

Redis embedding store: metadata filtering #714

Closed jmartisk closed 3 days ago

jmartisk commented 3 days ago

This has a breaking change as it splits the quarkus.langchain4j.redis.metadata-fields property into quarkus.langchain4j.redis.numeric-metadata-fields and quarkus.langchain4j.redis.textual-metadata-fields. It is important to differentiate numeric and text fields for proper indexing and to allow filtering

This filtering currently only supports filtering on numeric fields. I haven't yet figured out how to implement an exact-match equals operation on the whole value of a string field, rather than a keyword/fulltext search...