spring-projects / spring-projects/spring-ai
Self-querying
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
I'd like to use Spring AI for self-querying, the same way it's implemented in Langchain https://python.langchain.com/v0.1/docs/modules/data_connection/retrievers/self_query/#creating-our-self-querying-retriever
In the mean time it would be nice to know if there is a way to implement the attribute extraction (which itself is a great addition) then wire it (a new advisor?) in the ChatClient.
Any pointers are much appreciated.
florin
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked LangChain self-querying retriever documentation, then inspect Spring AI's existing attribute extraction and ChatClient extension points. The issue suggests wiring extraction through a new advisor, but does not name files, tests, or settle the design; done would require an agreed self-querying capability comparable to the referenced implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- ai, backend-api-design, search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100