Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add document score filtering #327

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

davidgxue
Copy link
Contributor

@davidgxue davidgxue commented Jun 21, 2024

Description

  • Added document score thresholding: remove documents with certain lower reranking scores
  • Manually adding UNCERTAIN_RESPONSE_PREFIX in front of the answer if the sources and citations are not present.
  • Minor changes to prompt templates

Copy link

cloudflare-workers-and-pages bot commented Jun 21, 2024

Deploying ask-astro with  Cloudflare Pages  Cloudflare Pages

Latest commit: f45f4eb
Status: ✅  Deploy successful!
Preview URL: https://133d7fa8.ask-astro.pages.dev
Branch Preview URL: https://add-document-score-filtering.ask-astro.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant