Package se.cpacsystems.voiceassistcapabilities.voicetool
See: Description
-
Enum Summary Enum Description DriverDistractionLevel ToolSafetyLevel -
Object Summary Object Description CloseSilently Execute and close the session immediately, without any spoken confirmation. CloseWithConfirmation Execute, let the assistant speak a brief confirmation, then close the session. KeepOpen Keep the session open and re-arm the microphone so the user can correct or refine the input. KeepOpenNoMic Keep the session open but do NOT re-arm the microphone. Companion NoConfirmation No confirmation required. TimeoutConfirmation No confirmation required, but a delay is added to allow cancellation. VoiceConfirmation Confirmation can be given by voice command or by pressing confirm. NoConfirmation No confirmation required. TimeoutConfirmation No confirmation required, but a delay is added to allow cancellation. VoiceConfirmation Confirmation can be given by voice command or by pressing confirm. ManualConfirmation Confirmation must be given by manually pressing confirm in a dialog. VoiceToolContract Companion Companion VoiceToolSchemaGenerator -
Class Summary Class Description PostExecutionBehavior Developer-controlled signal describing what the voice assistant session should do once this tool has finished executing (and, if applicable, the LLM has spoken about it). SafeWhileDriving The tool does not distract the operator and is safe to use while driving. RestrictedWhileDriving The tool distracts the operator and must not be used while driving. ToolSafetyProfile Encodes the valid combinations of DriverDistractionLevel and ToolSafetyLevel. BaseVoiceTool Abstract base class for implementing voice assistant tools. VoiceToolDefinition ManualData VoiceToolData VoiceToolExecutionReceiver VoiceToolRegistry Success Error VoiceToolResult VoiceToolJsonKt -
Interface Summary Interface Description VoiceTool Interface defining a voice assistant tool that can be discovered and executed. -
Annotation Summary Annotation Description Description