Skip to content

Block all topics except those I have defined #344

Answered by drazvan
gvd22 asked this question in Q&A
Discussion options

You must be logged in to vote

HI @gvd22 !

This is related to #129.

Currently, there's no explicit way to block "all other topics". Right now, you could go with the approach where you also define some other topics and teach the LLM to ignore them (like here: https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/examples/bots/abc/rails/disallowed.co), or you explicitly define an off-topic intent and try to add representative examples.

We are researching better ways to enable the definition of "just the topic of interest." We'll keep you posted.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gvd22
Comment options

Answer selected by gvd22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants