getappmap / getappmap/appmap-js

Introduce a bit of randomness in the search results output

Open
#2,102 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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:

search.log

search.log

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.