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

prompt engineering to fix citation with no answer questions and follo… #421

Merged
merged 3 commits into from
Jan 4, 2024

Conversation

ArpitaisAn0maly
Copy link
Contributor

Bug 6300, 6358

Updated prompt:

  • To fix citation issue when there is no excat answer. Fixed the issue of " relative answers from other docs"
  • Trimmed system prompt as it is degrading response.
  • Moved sources to user content for GPT 4 ( like GPT 3.5) as it was not able to generate follow up questions ( system prompt too long)
  • despite being identical, kept conditional logic for both GPT 3.5 and GPT 4 beacuse it will allow us to customize prompt as per our need.
  • added language in prompt to out table in html format.

dayland
dayland previously approved these changes Jan 4, 2024
@ryonsteele ryonsteele merged commit 39917f4 into main Jan 4, 2024
6 checks passed
@ryonsteele ryonsteele deleted the aparmar/prompt-engineering-tuning branch January 4, 2024 14:46
ryonsteele added a commit that referenced this pull request Jan 15, 2024
prompt engineering to fix citation with no answer questions and follo…
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.

3 participants