getappmap / getappmap/appmap-js
Introduce a bit of randomness in the search results output
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 18
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Consider the two log files that result from identical Navie questions:
The search results are identical. Consider adding an option to introduce a bit of randomness to the search results. This way, when a request is being retried, the LLM will see data that's a little different, resulting in a higher probability that the retried answer is different.
Increasing temperature could be another way to get the same effect.
Contributor guide
No contributing guide indexed for this repository
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 with the two attached search.log files and trace the search-results path for identical Navie questions. Decide whether configurable result randomness or increased temperature best fits the retry flow; done means a retry can receive different search data without changing the requested search behavior unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100