LangChain4j
LangChain4j
@andyflury that totally makes sense! However, it would probably be easier to define it on the `EmbeddingStoreContentRetriever` level, otherwise we will need to add this to constructor of every EmbeddingStore...
@andyflury > Would you also consider having something like an SQLEmbeddingStore combined with a self-query retriever, which would automatically set appropriate WHERE clauses? Do you mean a `ContentRetriever` backed by...
@andyflury yes, exactly. To summarise: - RAG is useful when you want to _automatically_ provide LLM the external _content_ which it does not have access to (by nature). - Tools...
@andyflury naming question: am I the only one who thinks that "self-querying retriever" is a confusing naming?
@ansonma I do not plan to add this feature to all embedding store integrations as I do not have enough time. I hope that someone from community could contribute this,...
@XhstormR thanks a lot for reporting! cc @jdubois
Fixed, please update to the latest version (0.29.1 currently)
BTW all credits for the idea goes to @dandreadis
@maxandersen Quarkus extension could probably enable sensible defaults (if not yet), but for the non-Quarkus folks there should be a way to do RAG hastle-free without a need to manually...
Hey @feuyeux thanks a lot and sorry for the delay with review! I have noticed that there is also this [PR](https://github.com/langchain4j/langchain4j-examples/pull/60) which seems to overlap with yours. Could you please...