Open nalbion opened 1 year ago
User says "chat/completion mode" (or "command mode" to exit) and tool window appears with for editing dictated commands, with option to auto submit.
The isSupported() method of most IntentResolver classes would return false if NlpContext indicated chat or completion mode.
isSupported()
IntentResolver
NlpContext
(A new NlpContext is currently created in ExecuteVoiceCommandAction, I'm not sure if this is the best design possible though).
ExecuteVoiceCommandAction
see also - https://platform.openai.com/docs/guides/completion/prompt-design
Proposal
User says "chat/completion mode" (or "command mode" to exit) and tool window appears with for editing dictated commands, with option to auto submit.
The
isSupported()
method of mostIntentResolver
classes would return false ifNlpContext
indicated chat or completion mode.(A new
NlpContext
is currently created inExecuteVoiceCommandAction
, I'm not sure if this is the best design possible though).see also - https://platform.openai.com/docs/guides/completion/prompt-design