Replies: 2 comments
-
depends on the route layer, but the default |
Beta Was this translation helpful? Give feedback.
-
@jamescalam - my question was how we should determine the threshold score. For example, you set the threshold to 0.82 for OpenAI but 0.3 for Cohere (a big difference). Any advice? Also, it feels like it requires good 'utterance' engineering. For example I tried asking 'What do you think about Joe Biden' in your example (fro HuggingFaceEncoder). It didn't match any routes. Just my two cents. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/aurelio-labs/semantic-router/blob/main/semantic_router/layer.py#L153C1-L158C40
Beta Was this translation helpful? Give feedback.
All reactions