Skip to content

ros_chatbot: configuration-node parameters

Source defaults below are not proof of installed runtime values. Secret-like parameter defaults are omitted. Runtime-only flags and edit-method expressions are preserved where declared.

scripts/chat.py

Source: head-ros-nodes/ros/ros_chatbot/scripts/chat.py

ChatNode.start_agent_config_nodes

Name Description Constructor default Min Max Options expression Runtime-only Source line
'enabled' f'Enable {agent_id}' self.agent_registry.agent_enabled(agent_id) None None `` False 269

scripts/openai-realtime.py

Source: head-ros-nodes/ros/ros_chatbot/scripts/openai-realtime.py

Config.init

Name Description Constructor default Min Max Options expression Runtime-only Source line
'enabled' 'Enable Realtime Agent' False None None `` False 42
'model' 'Realtime model' 'gpt-realtime-mini' None None self.enum(['gpt-realtime', 'gpt-realtime-mini']) False 43
'base_url' 'OpenAI base URL' 'api.openai.com' None None self.enum(['api.openai.com', 'openai.hr-tools.io']) False 44
'voice' 'Voice for audio output' 'sage' None None self.enum(['alloy', 'ash', 'ballad', 'coral', 'echo', 'fable', 'nova', 'onyx', 'sage', 'shimmer']) False 45
'prompt' 'Voice instructions' [structured expression; see source] None None `` False 46
'listen_while_speaking' 'Listen while speaking' False None None `` False 47
'vad_type' 'Turn detection mode' 'server_vad' None None self.enum(['server_vad', 'semantic_vad', 'none']) False 48
'vad_threshold' 'VAD activation threshold' 0.5 0.0 1.0 `` False 49
'vad_prefix_padding_ms' 'VAD prefix padding (ms)' 300 0 2000 `` False 50
'vad_silence_duration_ms' 'VAD silence duration (ms)' 200 0 5000 `` False 51
'vad_create_response' 'Create response when speech ends' True None None `` False 52
'vad_interrupt_response' 'Interrupt agent responses on speech' True None None `` False 53
'vad_eagerness' 'Semantic VAD eagerness' 'auto' None None self.enum(['auto', 'low', 'medium', 'high']) False 54
'node_schema' 'Node schema' json.dumps(node_schema) None None `` False 63

scripts/priming.py

Source: head-ros-nodes/ros/ros_chatbot/scripts/priming.py

TriggerServiceNode.start_config

Name Description Constructor default Min Max Options expression Runtime-only Source line
'current' f'Current {label} primer' 'auto' None None `` False 87
'prompts' 'Current prompts' json.dumps(primers) None None `` False 89
'node_schema' 'node_schema' self.node_schema(primers) None None `` False 90

src/ros_chatbot/config_nodes.py

Source: head-ros-nodes/ros/ros_chatbot/src/ros_chatbot/config_nodes.py

ROSChatConfig.init

Name Description Constructor default Min Max Options expression Runtime-only Source line
'enable' 'Enable chatbot' True None None `` False 61
'hybrid_mode' 'Hybrid mode' True None None `` False 62
'listen_speech' 'Listen to speech' True None None `` False 63
'character' 'Chatbot Character (test)' 'sophia' None None character_enum False 64
'min_wait_for' 'Wait for minimum time for agents before decision' 0.5 0.0 10.0 `` False 67
'timeout' 'Chatbot Timeout Per Batch' 3.0 0.0 20.0 `` False 74
'ignore_speech_while_thinking' 'Ignore new user input while a chatbot response is being generated or spoken' False None None `` False 75
'concat_multiple_speech' 'Wait briefly for nearby ASR final sentences and respond once to the combined input' False None None `` False 80
### ElevenLabsAgentConfig.init
Name Description Constructor default Min Max Options expression Runtime-only Source line
'enable' 'Enable the agent.' False None None `` False 106
'agent_id' 'The ElevenLabs agent to use.' selected_agent_id None None agent_id_enum False 107
'interrupts' 'Allow browser/microphone speech to interrupt ElevenLabs while the agent is speaking.' True None None `` False 113
'audio_input' 'Audio input source for the ElevenLabs SDK.' 'pyaudio' None None audio_input_enum False 118
'debug_audio' 'Save ElevenLabs input/output audio and timing metadata.' False None None `` False 124
'debug_audio_dir' 'Directory for ElevenLabs debug WAV and JSONL files.' '/tmp/elevenlabs_debug' None None `` False 129
'debug_log_frames' 'Write per-frame ElevenLabs timing metadata when debug_audio is enabled.' True None None `` False 134
'idle_restart_seconds' 'Restart the ElevenLabs session after this many seconds without activity. Set 0 to disable.' 300 0 3600 `` False 139
'tools_endpoint_url' 'Local HTTP endpoint used for ElevenLabs client tools.' DEFAULT_TOOLS_ENDPOINT_URL None None `` False 146
'tool_http_timeout' 'Seconds to wait for the local tools endpoint.' 5.0 0.1 60.0 `` False 151
'enable_expression_tool' 'Register the setExpression client tool with ElevenLabs.' True None None `` False 158
'enable_arm_gesture_tool' 'Register the playArmGesture client tool with ElevenLabs.' True None None `` False 163
'enable_answer_from_vision_tool' 'Register the answerFromVision client tool with ElevenLabs.' True None None `` False 168
'node_schema' '' _json_schema({'debug_audio_dir': {'type': 'string'}, 'tools_endpoint_url': {'type': 'string'}}) None None `` False 173
### LLMToolsServerConfig.init
Name Description Constructor default Min Max Options expression Runtime-only Source line
'enable' 'Enable the local LLM tools HTTP endpoint.' True None None `` False 208
'host' 'Host for the local LLM tools HTTP endpoint.' '127.0.0.1' None None `` False 209
'port' 'Port for the local LLM tools HTTP endpoint.' 8005 1 65535 `` False 210
'node_schema' '' _json_schema({'x-hr-settings-editor': 'llm-tools-server', 'host': {'type': 'string'}, 'port': {'type': 'integer', 'format': 'number'}}) None None `` False 217
### LLMNaturalActionsConfig.init
Name Description Constructor default Min Max Options expression Runtime-only Source line
'expression_poses' 'Map natural LLM expression names to expression pose candidates.' {} None None `` False 235
'arm_gesture_animations' 'Map natural LLM arm gesture names to arm animation candidates.' {} None None `` False 240
'node_schema' '' _json_schema({'expression_poses': {'type': 'object', 'additionalProperties': {'type': 'array', 'items': {'type': 'string'}}}, 'arm_gesture_animations': {'type': 'object', 'additionalProperties': {'type': 'array', 'items': {'type': 'string'}}}}) None None `` False 245
### LLMExpressionPosesConfig.init
Name Description Constructor default Min Max Options expression Runtime-only Source line
expression f'Expression pose candidates for {expression}.' [] None None `` False 275
'node_schema' '' _json_schema({'x-hr-settings-editor': 'llm-action-mapping', 'x-hr-mapping-kind': 'expression_poses', 'x-hr-mapping-label': 'Expression pose', 'x-hr-catalog': 'expressions', **_list_mapping_schema(EXPRESSION_NAMES)}) None None `` False 280
### LLMArmGestureAnimationsConfig.init
Name Description Constructor default Min Max Options expression Runtime-only Source line
gesture f'Arm animation candidates for {gesture}.' [] None None `` False 301
'node_schema' '' _json_schema({'x-hr-settings-editor': 'llm-action-mapping', 'x-hr-mapping-kind': 'arm_gesture_animations', 'x-hr-mapping-label': 'Arm gesture animation', 'x-hr-catalog': 'armAnimations', **_list_mapping_schema(ARM_GESTURE_NAMES)}) None None `` False 306

src/ros_chatbot/reconfiguration.py

Source: head-ros-nodes/ros/ros_chatbot/src/ros_chatbot/reconfiguration.py

SceneReconfiguration.start_config

Name Description Constructor default Min Max Options expression Runtime-only Source line
'current' 'Current scene' self._default_current_scene() None None `` False 87
'general_prime' 'General Prime' self._general_prime None None `` False 88
'instant_situational_prompt' 'Instant Situational Prompt' '' None None `` False 93
'scenes' 'Scenes' json.dumps([self._format_scene_for_config(scene) for scene in self.scenes]) None None `` False 98
'node_schema' 'node_schema' self.node_schema([scene.name for scene in self.scenes]) None None `` False 105
### PromptTemplatesReconfiguration.start_config
Name Description Constructor default Min Max Options expression Runtime-only Source line
'templates' 'Prompt Templates' json.dumps(self.templates[:]) None None `` False 278
'node_schema' 'node_schema' self.node_schema() None None `` False 283

src/ros_chatbot/robot_tool_registry.py

Source: head-ros-nodes/ros/ros_chatbot/src/ros_chatbot/robot_tool_registry.py

module.build_robot_tool_registry

Name Description Constructor default Min Max Options expression Runtime-only Source line
tool_name registry.description(tool_name) True None None `` False 164
'node_schema' '' [structured expression; see source] None None `` False 165

src/ros_chatbot/visual_processing.py

Source: head-ros-nodes/ros/ros_chatbot/src/ros_chatbot/visual_processing.py

VisualProcessingConfig.init

Name Description Constructor default Min Max Options expression Runtime-only Source line
'enabled' 'Enable GPT4-V descriptions' False None None `` False 23
'visual_prompt' 'Visual prompt' self.default_prompt None None `` False 24
'interval' 'Interval after results to new reuest' 5 0 120 `` False 25
'result_time' 'Last result time (utc)' '' None None `` False 26
'results' 'Last results' '' None None `` False 27
'node_schema' 'node_schema' json.dumps({'visual_prompt': {'type': 'string', 'format': 'textarea'}, 'results': {'type': 'string', 'format': 'textarea'}}) None None `` False 29