spring-projects / spring-projects/spring-ai
Suggestions for the Improvement of QuestionAnswerAdvisor
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
When using the QuestionAnswerAdvisor, I found that the results retrieved from the vector database are directly concatenated. I hope to be able to decide on the structure of the concatenated text myself. For example, I might need to add dividing lines before and after each piece of text, or add other data descriptions, etc. This will enable me to have more control over the text information sent to the AI.
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 at the QuestionAnswerAdvisor entry point and inspect how retrieved vector results are assembled into the prompt. Clarify the formatting API and expected separator or metadata behavior, then add coverage showing callers can control the assembled text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- ai, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100