-
Notifications
You must be signed in to change notification settings - Fork 7
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
Make sure stampy answers are given priority in responses #64
Comments
Good issue, I agree. Does "given priority" mean we're boosting their ranking in semantic search results, or just re-shaping the prompt when they're present? |
The semantic search shouldn't be changed. But if a stampy question is among the results and similarity score is above a certain threshold (0.5?) the prompt should be to either very closely summarize or directly present the human-written stampy answer. |
This is actually a duplicate of issue #11 so I'll copy some comments below for reference and close that issue since this will have more complete information:
From McGill Team's plan
|
I think we should just directly present the stampy answer, as it saves us a whole bunch of tokens. I'm not creating a new issue for prioritizing and directly displaying existing semantically similar answers because this issue seems to pretty much cover it. |
You can reference the code from followups.py that calls nlp.stampy.ai to find the nearest Stampy answer. Couple issues to be mindful:
|
No description provided.
The text was updated successfully, but these errors were encountered: