spring-projects / spring-projects/spring-ai
advisors can't search two vector store
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
In Spring AI1.0.0-M5, when I call the following code
chatClient.prompt().user(message).advisors(new QuestionAnswerAdvisor(v1),new QuestionAnswerAdvisor(v2)).call().content();
Can only retrieve v1's VectorStore, but not v2's VectorStore. How do I solve this problem
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
Reproduce the reported call using Spring AI 1.0.0-M5 with two QuestionAnswerAdvisor instances and separate vector stores. Start by tracing how the advisors are applied during the call; done means the behavior is explained and either both vector stores are queried or the limitation and supported usage are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- ai, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100