spring-projects / spring-ai

An Application Framework for AI Engineering
https://docs.spring.io/spring-ai/reference/1.0-SNAPSHOT/index.html
Apache License 2.0
2.57k stars 621 forks source link

Parent Document Retriever feature. #63

Open radhakrishna67 opened 8 months ago

radhakrishna67 commented 8 months ago

Expected Behavior

Lanchain's Parent Document Retriever feature is expected in Spring AI

Current Behavior Files are chunked and cretead embeddings for them. We would like to have child chunks for parent chunks of the document.

markpollack commented 7 months ago

https://python.langchain.com/docs/modules/data_connection/retrievers/parent_document_retriever as a reference.

I'd like to have some RAG evaluation setup in place to better understand how things improve or not based on these types of algorithms. Putting in the backlog for now.

Contributions are welcome.