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

Would Reversing Few-Shot Prompt Placement in chatreadretrieveread.py Improve Accuracy? #2314

Open
baku2san opened this issue Jan 31, 2025 · 0 comments

Comments

@baku2san
Copy link

In the chatreadretrieveread.py file, the few-shot prompt is currently applied to the query creation side, but not to the response build_message. Would reversing this placement improve accuracy? I am considering submitting a Pull Request and would appreciate your feedback.

Current Few-Shot Prompt Placement: Link to current few-shot prompt

Proposed Placement: Link to proposed placement

the few shots setting
proposed placement

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

No branches or pull requests

1 participant