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

semantic routing addition for message type #165

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mhgov
Copy link
Contributor

@mhgov mhgov commented Sep 27, 2024

No description provided.


Type of Question:
"""
)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think these two prompts could be combined. you can include the classification logic into the rewording prompt. It would save us having to call the llm twice. I checked and annoyingly I don't think chatbedrock has the ability to output results in json. So you may want to instruct the model to do the classification in a fairly verbose way so it gets picked up by a semantic router

"148 <font color=\"#004f88\"><b>Brief Summary:</b> Th... None ... \n",
"149 <font color=\"#004f88\"><b>Brief Summary:</b> <i... None ... \n",
"150 Based on the information provided, I will try ... NaN ... \n",
"151 <font color=\"#004f88\"><b>Brief Summary:</b> Th... ... \n",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you should clear the outputs of this before merging (also is this not from your eval pr?)

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.

2 participants