Specifies the conversational context of an intent.
Enables you to specify the conversational context of your intent. This is equivalent to adding a specialization while during NL training.
You must specify one of the following values for @context
:
Outer
Continuation
PromptFor
By default, every intent is treated as having @context (Outer)
.
For example, the below intent provides context for creating a transfer:
intent {
subplan {
goal {example.bank.FromAccount }
subplan {
goal: FindAccount
}
}
goal { @context (Continuation) example.bank.CreateTransfer }
}
Copyright 2025 Samsung All rights reserved