Open pradeepdev-1995 opened 3 months ago
Same problem here. Is there any available configuration to adjust this threshold? @drazvan
Thanks @pradeepdev-1995 and @sciftlikci! Configuring the threshold is scheduled for 0.10.0
. To improve this temporarily, you can add more examples to the on-topic messages.
Hi @drazvan
is this even possible today in NeMo-Guardrails
by only using embeddings
have ban topics? In the guardrails_only
example(s), the subflow just checks whether the input contains a string, it doesn't go further to show how you can define user's flows to ALLOW or DENY certain topics/flows.
Many thanks and looking forward to 0.10.0
Here is a dummy config.yml file to handle off topics
And I prevent LLM calls from checking the off-topic by
But now when I ask any questions related to the questions mentioned in the off topic section or not, it returns that this is off topic
Why this is so? How can I set some threshold for the semantic similarity match in the Annoy vectorindex? @drazvan