Skip to content

Conversation

jamesbraza
Copy link
Collaborator

@jamesbraza jamesbraza commented Sep 26, 2025

This PR gives the agent more insight into its evidence:

  • Showing the relevance scores over a numbered list, in "Best evidence(s)"
  • Including the 'current question' for Best evidence message, to make it clear

@jamesbraza jamesbraza self-assigned this Sep 26, 2025
@Copilot Copilot AI review requested due to automatic review settings September 26, 2025 20:36
@jamesbraza jamesbraza added the enhancement New feature or request label Sep 26, 2025
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Sep 26, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the evidence gathering tool to provide better visibility into relevance scoring and context for the agent.

  • Replaces numbered list with score-prefixed evidence display
  • Adds the target question to the "Best evidence" message header for clarity

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

dosubot bot commented Sep 26, 2025

Related Documentation

Checked 1 published document(s). No updates required.

How did I do? Any feedback?  Join Discord

@jamesbraza jamesbraza force-pushed the gather-showing-scores branch from 9131e1b to d8e62e6 Compare September 26, 2025 20:42
@jamesbraza jamesbraza force-pushed the gather-showing-scores branch from d8e62e6 to f3a7ada Compare September 26, 2025 22:10
@jamesbraza jamesbraza force-pushed the gather-showing-scores branch from f3a7ada to dbd61a8 Compare September 26, 2025 22:13
@jamesbraza
Copy link
Collaborator Author

We decided to keep relevance scores hidden from the current agent, for now

@jamesbraza jamesbraza closed this Sep 26, 2025
@jamesbraza jamesbraza deleted the gather-showing-scores branch September 26, 2025 23:07
# Include 'current question' because different questions will lead to
# different best evidences being shown
best_evidence = (
f" Best evidence(s) current question:\n\n{top_contexts}"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
f" Best evidence(s) current question:\n\n{top_contexts}"
f" Best evidence(s) for the current question:\n\n{top_contexts}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant