signalwire-sdk 3.7.7.dev142__tar.gz → 3.8.0.dev143__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/CHANGELOG.md +100 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/MANIFEST.in +1 -0
- {signalwire_sdk-3.7.7.dev142/signalwire/signalwire_sdk.egg-info → signalwire_sdk-3.8.0.dev143}/PKG-INFO +1 -1
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/api_reference.md +108 -5
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/cli_guide.md +2 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/contexts_guide.md +35 -0
- signalwire_sdk-3.8.0.dev143/docs/conversation_patterns.md +205 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/swaig_reference.md +24 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/pyproject.toml +1 -1
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/__init__.py +8 -2
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/agent_server.py +1 -1
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/pydocs/_topics.py +11 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent_base.py +125 -1
- signalwire_sdk-3.8.0.dev143/signalwire/signalwire/core/ai_events.py +94 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/contexts.py +191 -1
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/function_result.py +154 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/mixins/ai_config_mixin.py +39 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/mixins/mcp_server_mixin.py +3 -1
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/mixins/tool_mixin.py +224 -22
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/mixins/web_mixin.py +106 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/post_prompt.py +51 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/security/webhook_middleware.py +3 -2
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/semantic_gate.py +142 -18
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/swaig_function.py +161 -30
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/swml_service.py +7 -0
- signalwire_sdk-3.8.0.dev143/signalwire/signalwire/core/tool_middleware.py +176 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/llms.txt +1 -0
- signalwire_sdk-3.8.0.dev143/signalwire/signalwire/patterns/__init__.py +19 -0
- signalwire_sdk-3.8.0.dev143/signalwire/signalwire/patterns/proposal.py +288 -0
- signalwire_sdk-3.8.0.dev143/signalwire/signalwire/patterns/request_list.py +179 -0
- signalwire_sdk-3.8.0.dev143/signalwire/signalwire/speech/__init__.py +26 -0
- signalwire_sdk-3.8.0.dev143/signalwire/signalwire/speech/numbers.py +228 -0
- signalwire_sdk-3.8.0.dev143/signalwire/signalwire/speech/spelling.py +265 -0
- signalwire_sdk-3.8.0.dev143/signalwire/signalwire/testing/__init__.py +23 -0
- signalwire_sdk-3.8.0.dev143/signalwire/signalwire/testing/call_simulator.py +621 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143/signalwire/signalwire_sdk.egg-info}/PKG-INFO +1 -1
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire_sdk.egg-info/SOURCES.txt +11 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/LICENSE +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/agent_guide.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/ai_chat_gateway.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/architecture.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/bedrock_agent.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/cloud_functions_guide.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/configuration.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/datamap_guide.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/developer_pain_points.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/llm_parameters.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/mcp_gateway_reference.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/mcp_integration.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/pgi_agent_guide.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/programmatically_governed_inference.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/sdk_features.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/search_deployment.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/search_indexing.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/search_integration.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/search_overview.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/search_troubleshooting.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/security.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/skills_parameter_schema.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/skills_system.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/swml_service_guide.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/third_party_skills.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/docs/web_service.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/Dockerfile.flexible +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/Dockerfile.k8s +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/advanced_datamap_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/auto_vivified_example.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/basic_swml_service.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/bedrock_agent_run.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/bedrock_agent_test.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/bedrock_server_test.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/bedrock_with_skills.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/call_flow_and_actions_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/comprehensive_dynamic_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/concierge_agent_example.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/contexts_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/custom_path_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/data_map_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/datasphere_multi_instance_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/datasphere_serverless_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/datasphere_serverless_env_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/datasphere_webhook_env_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/declarative_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/dynamic_info_gatherer_example.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/dynamic_swml_service.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/faq_bot_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/gather_info_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/gather_per_question_functions_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/info_gatherer_example.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/joke_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/joke_skill_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/k8s-deployment.yaml +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/kubernetes_ready_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/lambda_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/llm_params_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/mcp_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/mcp_gateway_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/multi_agent_server.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/multi_endpoint_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/pgvector_search_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/quickstart_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/quickstart_relay.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/quickstart_rest.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/receptionist_agent_example.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/record_call_example.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/relay_answer_and_welcome.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/room_and_sip_example.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/search_server_standalone.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/search_with_custom_formatter.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/session_and_state_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/sigmond_native_search.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/sigmond_remote_search.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/sigmond_simple.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/simple_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/simple_dynamic_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/simple_dynamic_enhanced.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/simple_static_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/skills_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/static_files/file.txt +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/static_files/static_files/file.txt +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/step_function_inheritance_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/survey_agent_example.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/swaig_features_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/swml_service_example.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/swml_service_routing_example.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/swmlservice_ai_sidecar.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/swmlservice_swaig_standalone.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/tap_example.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/web_search_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/web_search_multi_instance_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/examples/wikipedia_demo.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/livewire/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/livewire/docs/migration-guide.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/livewire/examples/livewire_basic_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/livewire/examples/livewire_handoff.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/livewire/examples/livewire_multi_tool.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/man/sw-agent-init.1 +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/man/sw-pydocs.1 +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/man/sw-search.1 +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/man/swaig-test.1 +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp/swml-schema-search/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp/swml-schema-search/swml_schema_mcp.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/.env.example +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/.gitignore +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/Dockerfile +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/certs/.gitignore +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/docker-compose.yml +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/examples/generate_cert.sh +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/mcp-docker.sh +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/sample_config.json +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/test/test_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/test/test_gateway.sh +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/mcp_gateway/test/todo_mcp.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/relay/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/relay/docs/call-methods.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/relay/docs/client-reference.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/relay/docs/events.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/relay/docs/getting-started.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/relay/docs/messaging.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/relay/examples/relay_answer_and_welcome.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/relay/examples/relay_dial_and_play.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/relay/examples/relay_ivr_connect.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/docs/calling.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/docs/client-reference.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/docs/fabric.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/docs/getting-started.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/docs/namespaces.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_10dlc_registration.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_bind_phone_to_swml_webhook.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_calling_ivr_and_ai.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_calling_play_and_record.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_datasphere_search.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_fabric_conferences_and_routing.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_fabric_subscribers_and_sip.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_fabric_swml_and_callflows.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_manage_resources.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_phone_number_management.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_queues_mfa_and_recordings.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/rest/examples/rest_video_rooms.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/setup.cfg +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/setup.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/AGENTS.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/__main__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/agents/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/agents/bedrock.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/ai_chat/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/ai_chat/client.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/ai_chat/gateway.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/ai_chat/handoff.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/build_search.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/config.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/core/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/core/agent_loader.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/core/argparse_helpers.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/core/dynamic_config.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/core/service_loader.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/dokku.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/execution/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/execution/datamap_exec.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/execution/webhook_exec.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/init_project.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/output/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/output/output_formatter.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/output/swml_dump.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/pydocs/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/pydocs/_agents_note.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/pydocs/_api.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/pydocs/_bundle.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/pydocs/_files.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/pydocs/_render.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/simulation/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/simulation/data_generation.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/simulation/data_overrides.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/simulation/mock_env.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/swaig_test_wrapper.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/test_swaig.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/cli/types.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/_agent_host.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/_sync_handlers.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/config/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/deployment/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/deployment/handlers/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/prompt/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/prompt/manager.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/routing/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/security/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/swml/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/tools/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/tools/decorator.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/tools/registry.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/agent/tools/type_inference.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/auth_handler.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/capabilities.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/config_loader.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/data_map.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/logging_config.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/mixins/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/mixins/_mixin_host.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/mixins/auth_mixin.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/mixins/prompt_mixin.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/mixins/serverless_mixin.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/mixins/skill_mixin.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/mixins/state_mixin.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/pom_builder.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/post_prompt_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/security/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/security/security_utils.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/security/session_manager.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/security/webhook_validator.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/security_config.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/skill_base.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/skill_manager.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/swaig_actions_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/swaig_request_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/swml_builder.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/swml_handler.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/swml_renderer.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/swml_verbs_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/core/web.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/livewire/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/livewire/plugins.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/mcp_gateway/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/mcp_gateway/gateway_service.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/mcp_gateway/mcp_manager.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/mcp_gateway/session_manager.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/pom/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/pom/pom.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/pom/pom_tool.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/prefabs/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/prefabs/concierge.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/prefabs/faq_bot.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/prefabs/info_gatherer.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/prefabs/receptionist.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/prefabs/survey.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/py.typed +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/relay/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/relay/call.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/relay/client.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/relay/constants.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/relay/event.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/relay/message.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/relay/protocol_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/_base.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/_pagination.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/_request_options.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/call_handler.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/client.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/_client_tree_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/addresses.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/calling.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/calling_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/calling_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/chat.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/chat_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/chat_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/datasphere.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/datasphere_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/datasphere_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/fabric.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/fabric_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/fabric_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/fax_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/fax_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/imported_numbers.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/logs.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/logs_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/logs_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/lookup.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/message_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/message_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/messages_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/messages_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/mfa.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/number_groups.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/phone_numbers.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/project.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/project_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/project_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/projects_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/projects_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/pubsub.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/pubsub_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/pubsub_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/queues.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/recordings.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/registry.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/relay_rest_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/relay_rest_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/short_codes.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/sip_profile.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/swml_webhooks_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/verified_callers.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/video.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/video_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/video_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/voice_resources_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/rest/namespaces/voice_types_generated.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/schema.json +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/search/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/search/document_processor.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/search/index_builder.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/search/migration.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/search/models.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/search/pgvector_backend.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/search/query_processor.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/search/search_engine.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/search/search_service.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/api_ninjas_trivia/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/api_ninjas_trivia/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/api_ninjas_trivia/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/claude_skills/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/claude_skills/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/claude_skills/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/datasphere/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/datasphere/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/datasphere/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/datasphere_serverless/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/datasphere_serverless/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/datasphere_serverless/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/datetime/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/datetime/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/datetime/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/google_maps/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/google_maps/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/info_gatherer/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/info_gatherer/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/info_gatherer/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/joke/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/joke/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/joke/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/math/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/math/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/math/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/mcp_gateway/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/mcp_gateway/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/mcp_gateway/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/native_vector_search/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/native_vector_search/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/native_vector_search/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/play_background_file/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/play_background_file/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/play_background_file/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/registry.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/spider/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/spider/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/spider/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/swml_transfer/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/swml_transfer/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/swml_transfer/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/weather_api/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/weather_api/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/weather_api/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/web_search/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/web_search/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/web_search/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/web_search/skill_improved.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/web_search/skill_original.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/wikipedia_search/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/wikipedia_search/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/skills/wikipedia_search/skill.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/utils/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/utils/pom_utils.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/utils/schema_utils.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/utils/token_generators.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/utils/url_validator.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/utils/validators.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/web/__init__.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire/web/web_service.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire_sdk.egg-info/dependency_links.txt +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire_sdk.egg-info/entry_points.txt +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire_sdk.egg-info/requires.txt +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/signalwire/signalwire_sdk.egg-info/top_level.txt +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tests/test_examples.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tests/test_mcp_integration.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/.env.example +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/Dockerfile +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/Dockerfile.multi +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/docker-compose.yml +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/fred.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/fred.sh +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/requirements.txt +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/tutorial/01-introduction.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/tutorial/02-setup.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/tutorial/03-basic-agent.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/tutorial/04-wikipedia-skill.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/tutorial/05-custom-functions.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/tutorial/06-running-testing.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/tutorial/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/tutorial/appendix-complete-code.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/fred/tutorial/appendix-docker-deployment.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/.env.example +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/.gitignore +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/Dockerfile +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/check_docs.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/handlers.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/penny.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/penny.sh +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/requirements.txt +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/reservations.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/test_penny.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/01-why-guardrails.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/02-design-first.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/03-rules-first.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/04-the-shell.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/05-steps-and-scoping.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/06-tools-that-decide.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/07-gather-and-projection.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/08-the-verification-gate.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/09-people-and-endings.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/10-testing-and-running.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/appendix-complete-code.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/appendix-deployment.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/tutorial/appendix-technique-map.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/full-guardrails-agent/workflow.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/README.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/lesson1_first_agent.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/lesson2_knowledge_bases.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/lesson3_multi_agent_systems.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/lesson4_advanced_features.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/lesson5_extending_agents.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/pc_builder.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/sales_agent.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/sales_agent_with_search.py +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/sales_knowledge.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/sales_knowledge.swsearch +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/support_knowledge.md +0 -0
- {signalwire_sdk-3.7.7.dev142 → signalwire_sdk-3.8.0.dev143}/tutorial/multi_agents/support_knowledge.swsearch +0 -0
|
@@ -1,5 +1,105 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.8.0] - 2026-11-13
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- Semantic gates take the platform's newer gate keys. `SemanticGate(...,
|
|
7
|
+
dialogue=, history=)` sets the dialogue one gate judges, `"window"` or
|
|
8
|
+
`"proposal"` and 1 to 100 entries, in place of the agent's; every gate of a
|
|
9
|
+
function must set the same ones, as the platform requires, and the SDK raises
|
|
10
|
+
`ValueError` when they differ. `unclear=True` asks yes, no or unclear, and
|
|
11
|
+
`on_unclear` is what the model gets for an unclear answer.
|
|
12
|
+
`set_semantic_gates(dialogue=)` sets the agent's `semantic_gate_dialogue`.
|
|
13
|
+
`since=` anchors a gate's dialogue at a mark your code sets with the new
|
|
14
|
+
`FunctionResult.set_semantic_gate_mark(name)` action. These keys need a
|
|
15
|
+
platform release that has them: one with gates but without a key refuses
|
|
16
|
+
the function, as it treats an unknown gate key as an error.
|
|
17
|
+
- `set_unavailable_function_response(text)` sets what the model is told when
|
|
18
|
+
it calls a tool it can't use now, with `${function}`, `${tools}` and
|
|
19
|
+
`${steps}` (the `unavailable_function_response` param).
|
|
20
|
+
- `define_tool(..., vouched=True)` adds a required boolean argument,
|
|
21
|
+
`data_supplied_by_user`, in which the model says every argument came from
|
|
22
|
+
the caller. Unless it's true, the handler doesn't run, and the model is told
|
|
23
|
+
to get the answer from the caller first.
|
|
24
|
+
- `ToolRefusal(tool_result, tool_prompt)`: raise it from a handler to decline a
|
|
25
|
+
call with an outcome the handler knows.
|
|
26
|
+
- `FunctionResult.back_to_back_functions()` sets whether the model may call
|
|
27
|
+
another function right after a result. The action was in the generated
|
|
28
|
+
action types but `FunctionResult` couldn't send it.
|
|
29
|
+
- `FunctionResult.refresh_step(name)` enters the current step again, so step
|
|
30
|
+
text that shows `${global_data.*}` values, which are expanded once on entry,
|
|
31
|
+
shows the new ones. `Step.set_text()` documents the expansion.
|
|
32
|
+
- `Step.set_expected_answer(digits=)` (or `min_digits=`/`max_digits=`) and a
|
|
33
|
+
gather question's `expected_answer` tell the recognizer how many digits the
|
|
34
|
+
caller's answer has, so it ends its wait once they're said.
|
|
35
|
+
- `define_tool(..., nullable_optional=True)` and
|
|
36
|
+
`set_nullable_optional_parameters()` let the model send null for optional
|
|
37
|
+
arguments, as strict provider schemas require; a null reaches the handler as
|
|
38
|
+
an argument not given.
|
|
39
|
+
- `define_native_tool()` defines a function the platform implements itself,
|
|
40
|
+
sent with `web_hook_url: "native"`, under your own description. A tool from
|
|
41
|
+
`define_tool()` always got the agent's webhook URL, so it couldn't be one.
|
|
42
|
+
- Tool middleware: `add_tool_middleware(fn)` and `define_tool(...,
|
|
43
|
+
middleware=[...])` run `fn(name, args, raw_data, call_next)` around tool
|
|
44
|
+
calls.
|
|
45
|
+
- A transport retry of a tool request no longer runs the tool twice. SignalWire
|
|
46
|
+
sends a request again, with the same `tool_call_id`, after a timeout, a
|
|
47
|
+
failed connection or a 5xx; the agent answers the retry with the first
|
|
48
|
+
attempt's result, and one that arrives while the first is still running
|
|
49
|
+
waits for it. A call the model makes again has a new `tool_call_id` and runs.
|
|
50
|
+
On by default; `set_tool_resend_dedupe(False)` turns it off.
|
|
51
|
+
- The caller's own words in a handler: `caller_turns(raw_data)`
|
|
52
|
+
(`signalwire.core.post_prompt`) reads what the caller said from the request's
|
|
53
|
+
conversation, and `define_tool(..., needs_conversation=True)` turns on
|
|
54
|
+
`swaig_post_conversation` so requests carry it. `record_speech_finals()` and
|
|
55
|
+
`speech_finals(call_id)` keep the recognizer's finals with their word
|
|
56
|
+
confidences, from the platform's `ai.speech_detect` events, and
|
|
57
|
+
`on_ai_event(handler)` receives every AI event; the agent sets
|
|
58
|
+
`event_webhook_url` to its new `/ai_events` endpoint for them.
|
|
59
|
+
- `signalwire.speech`: `say_digits`, `say_last_digits`, `say_money` and
|
|
60
|
+
`number_words` give the words a voice should say for digits and amounts,
|
|
61
|
+
which `add_pronunciation` can't fix, since the platform normalizes text
|
|
62
|
+
before its pronunciation rules run.
|
|
63
|
+
- `signalwire.patterns.Proposal` is the platform's confirm pattern: `propose()`
|
|
64
|
+
reads a change back and records it in `semantic_state` in one action object,
|
|
65
|
+
and `confirm_gates()` gives the confirm tool the three gates (answered,
|
|
66
|
+
agreed, read back) judged on the proposal's dialogue, with an `on_fail` that
|
|
67
|
+
quotes the proposal. `ask_again()` and `complete()` round it out.
|
|
68
|
+
- `signalwire.patterns.RequestList` keeps what the caller asked for while the
|
|
69
|
+
agent was busy, in the call's `global_data`, with step text that lists it,
|
|
70
|
+
to take up when the current task is done.
|
|
71
|
+
- `signalwire.speech.spelling`: `read_spelled` reads what a caller spelled
|
|
72
|
+
(letters, letter names, "S as in Sam", NATO words, "double l", digits),
|
|
73
|
+
`spoken_email` reads an address said aloud, and `spelling_variants` expands
|
|
74
|
+
letters the recognizer confuses, with groups you supply.
|
|
75
|
+
- `signalwire.testing.CallSimulator` runs an agent's tools through a simulated
|
|
76
|
+
call, checked as the platform checks them: the step's function list (with
|
|
77
|
+
the platform's reply for a tool it won't run), the semantic gates from a
|
|
78
|
+
callback, and each result's actions on the call's state. `RequestRecorder`
|
|
79
|
+
middleware records tool requests for `CallSimulator.replay()`.
|
|
80
|
+
- [Conversation Patterns](docs/conversation_patterns.md), a new guide: the
|
|
81
|
+
confirm pattern, read-backs callers can interrupt, recording what was done,
|
|
82
|
+
questions that carry content, the caller's own words, numbers to say,
|
|
83
|
+
requests to come back to, spelled input, and testing a call flow.
|
|
84
|
+
- `ContextBuilder.steps_offering(name)` lists the steps whose function lists
|
|
85
|
+
name a tool. Rendering logs `tool_offered_by_no_step` once for a registered
|
|
86
|
+
tool that no step offers, when every step lists its functions.
|
|
87
|
+
|
|
88
|
+
### Changed
|
|
89
|
+
- A semantic gate's `on_fail` is documented as the platform now treats it:
|
|
90
|
+
its `${...}` variables are expanded once from the call's data.
|
|
91
|
+
- A tool handler that raises now tells the model the function failed before
|
|
92
|
+
it finished, so whether it took effect is unknown, with a tool prompt not to
|
|
93
|
+
tell the caller it worked or that it didn't. It used to return "Error
|
|
94
|
+
executing function '<name>': <exception text>" (and `SWAIGFunction.execute()`
|
|
95
|
+
"Sorry, I couldn't complete that action. Please try again..."), which sent
|
|
96
|
+
internals to the model and let it guess the outcome. The exception is logged.
|
|
97
|
+
- A handler that returns a dict with neither `response` nor `action` gives the
|
|
98
|
+
model the dict as JSON, and an empty dict says the outcome is unknown.
|
|
99
|
+
`SWAIGFunction.execute()` used to answer any dict without a `response`
|
|
100
|
+
"Function completed successfully", dropping its actions, and the webhook
|
|
101
|
+
path sent such a dict to the platform without a response.
|
|
102
|
+
|
|
3
103
|
## [3.7.7] - 2026-11-11
|
|
4
104
|
|
|
5
105
|
### Added
|
|
@@ -15,6 +15,7 @@ include docs/cli_guide.md
|
|
|
15
15
|
include docs/cloud_functions_guide.md
|
|
16
16
|
include docs/configuration.md
|
|
17
17
|
include docs/contexts_guide.md
|
|
18
|
+
include docs/conversation_patterns.md
|
|
18
19
|
include docs/datamap_guide.md
|
|
19
20
|
include docs/developer_pain_points.md
|
|
20
21
|
include docs/llm_parameters.md
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: signalwire-sdk
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.8.0.dev143
|
|
4
4
|
Summary: SignalWire SDK for AI voice agents, live call control (RELAY) and REST. Run sw-pydocs for its documentation.
|
|
5
5
|
Author-email: SignalWire Team <info@signalwire.com>
|
|
6
6
|
License: MIT
|
|
@@ -447,6 +447,8 @@ agent.add_pronunciation("API", "A P I")
|
|
|
447
447
|
agent.add_pronunciation("SWML", "swim-el")
|
|
448
448
|
```
|
|
449
449
|
|
|
450
|
+
The platform normalizes the text before these rules run, so a bare number is already words by then: a rule can't make "10001" read digit by digit. Tokens the normalizer treats as designations, such as IDs and codes, pass through unchanged, and rules do see those. To read digits, a ZIP code or an amount of money, give the words instead with `signalwire.speech`: `say_digits("10001")` is "one zero zero zero one". See [Conversation Patterns](conversation_patterns.md#numbers-the-way-a-voice-should-say-them).
|
|
451
|
+
|
|
450
452
|
##### `set_pronunciations`
|
|
451
453
|
|
|
452
454
|
Set multiple pronunciation rules at once.
|
|
@@ -541,19 +543,22 @@ agent.update_global_data({
|
|
|
541
543
|
})
|
|
542
544
|
```
|
|
543
545
|
|
|
544
|
-
##### `set_semantic_gates(enabled: Optional[bool] = None, timeout_ms: Optional[int] = None, history: Optional[int] = None) -> AgentBase`
|
|
546
|
+
##### `set_semantic_gates(enabled: Optional[bool] = None, timeout_ms: Optional[int] = None, history: Optional[int] = None, dialogue: Optional[str] = None) -> AgentBase`
|
|
545
547
|
Set how the call checks its functions' [semantic gates](#semantic-gates). Each argument left as None keeps the platform's default.
|
|
546
548
|
|
|
547
549
|
**Parameters:**
|
|
548
550
|
- `enabled` (Optional[bool]): False dispatches gated functions without checking their gates. Default True
|
|
549
551
|
- `timeout_ms` (Optional[int]): The time one check may take, 500 to 10000 milliseconds. A check that runs out blocks the call. Default 2500
|
|
550
552
|
- `history` (Optional[int]): How many recent dialogue entries the decision model sees, 0 to 100. Default 20
|
|
553
|
+
- `dialogue` (Optional[str]): Which dialogue the decision model judges: `"window"`, the newest `history` entries, or `"proposal"`, the entries since `global_data.semantic_state` last changed, from the agent's first turn after it. With `"proposal"`, a gate that confirms a read-back sees the read-back and the caller's reply, not the requests before it. With no `semantic_state` set, the window. Default `"window"`
|
|
554
|
+
|
|
555
|
+
A gate's own `dialogue` and `history` take the place of these for its function.
|
|
551
556
|
|
|
552
557
|
**Raises:** `ValueError` for a value of the wrong type or out of range.
|
|
553
558
|
|
|
554
559
|
**Usage:**
|
|
555
560
|
```python
|
|
556
|
-
agent.set_semantic_gates(timeout_ms=4000, history=30)
|
|
561
|
+
agent.set_semantic_gates(timeout_ms=4000, history=30, dialogue="proposal")
|
|
557
562
|
```
|
|
558
563
|
|
|
559
564
|
### Function Definition
|
|
@@ -575,6 +580,10 @@ def define_tool(
|
|
|
575
580
|
is_typed_handler: bool = False,
|
|
576
581
|
gates: Optional[List[Union[SemanticGate, Dict[str, Any]]]] = None,
|
|
577
582
|
gate_fillers: Optional[Dict[str, List[Union[str, List[str]]]]] = None,
|
|
583
|
+
vouched: bool = False,
|
|
584
|
+
nullable_optional: Optional[bool] = None,
|
|
585
|
+
middleware: Optional[List[Callable]] = None,
|
|
586
|
+
needs_conversation: bool = False,
|
|
578
587
|
**swaig_fields
|
|
579
588
|
) -> AgentBase
|
|
580
589
|
```
|
|
@@ -589,10 +598,35 @@ def define_tool(
|
|
|
589
598
|
- `webhook_url` (Optional[str]): Custom webhook URL
|
|
590
599
|
- `gates` (Optional[List[Union[SemanticGate, Dict[str, Any]]]]): Semantic gates, 1 to 8. See [Semantic gates](#semantic-gates)
|
|
591
600
|
- `gate_fillers` (Optional[Dict[str, List[Union[str, List[str]]]]]): What the AI says while the gates are checked, shaped like `fillers`. Only with `gates`
|
|
601
|
+
- `vouched` (bool): True for a tool whose arguments must come from the caller, not from the model's guesses. The tool gets a required boolean argument, `data_supplied_by_user`, in which the model says every other argument is what the caller said. Unless it's true, the handler doesn't run, and the model gets "<name> was not run." with the tool prompt "Get the answer from the user before using this tool." The handler never sees the argument. Default False
|
|
602
|
+
- `nullable_optional` (Optional[bool]): True to let the model send null for an optional argument, as providers with strict schemas require. Each argument that isn't required takes null as well as its type, and a null reaches the handler as an argument not given. None follows `set_nullable_optional_parameters()`
|
|
603
|
+
- `middleware` (Optional[List[Callable]]): Middleware that runs around this tool's calls only, inside the agent's. See `add_tool_middleware()`
|
|
604
|
+
- `needs_conversation` (bool): True when the handler reads the conversation, as `caller_turns(raw_data)` does. It turns on the agent's `swaig_post_conversation` when the SWML is rendered, so every tool request carries the call log, unless that was set to False
|
|
592
605
|
- `**swaig_fields`: Additional SWAIG function properties
|
|
593
606
|
|
|
594
607
|
**Raises:** `ValueError` for a gate the platform would refuse, or `gate_fillers` without `gates`.
|
|
595
608
|
|
|
609
|
+
What the handler returns is what the model reads as the outcome, so the SDK keeps it honest:
|
|
610
|
+
- A `FunctionResult`, or a dict with a `response` or an `action`, is sent as it is.
|
|
611
|
+
- Any other dict is the handler's data, and the model gets it as JSON. An empty dict tells the model the outcome is unknown.
|
|
612
|
+
- `None` gets "Function executed successfully".
|
|
613
|
+
- A handler that raises `ToolRefusal(tool_result, tool_prompt=None)` declines the call with an outcome it knows: the model gets that result and prompt.
|
|
614
|
+
- Any other exception is logged, not sent. The model is told the function failed before it finished, so whether it took effect is unknown, and not to tell the caller it worked or that it didn't. The exception's text could hold internals, and the model would read it as the outcome.
|
|
615
|
+
|
|
616
|
+
```python
|
|
617
|
+
from signalwire import FunctionResult, ToolRefusal
|
|
618
|
+
|
|
619
|
+
def place_order(args, raw_data):
|
|
620
|
+
item = args["item"]
|
|
621
|
+
if item not in IN_STOCK: # your inventory
|
|
622
|
+
raise ToolRefusal(
|
|
623
|
+
f"place_order was not run: {item} is out of stock.",
|
|
624
|
+
"Tell the caller, and offer the similar items in stock.",
|
|
625
|
+
)
|
|
626
|
+
order_id = create_order(item) # your order system
|
|
627
|
+
return FunctionResult(tool_result=f"Order {order_id} is placed.")
|
|
628
|
+
```
|
|
629
|
+
|
|
596
630
|
**Usage:**
|
|
597
631
|
```python
|
|
598
632
|
def get_weather(args, raw_data):
|
|
@@ -621,7 +655,7 @@ agent.define_tool(
|
|
|
621
655
|
|
|
622
656
|
A semantic gate is a yes/no question a decision model answers about the call right before the platform dispatches the function. Every gate on the function must pass for it to run. When one doesn't, the function isn't dispatched, and the model gets that gate's `on_fail` output instead, as if a data_map had returned it. The function's `fillers` and `wait_file` start only once its gates pass, so a blocked call never sounds as if the action were under way.
|
|
623
657
|
|
|
624
|
-
Semantic gates need a platform release that supports them. One that doesn't ignores `gates` with a warning and runs the function ungated, so don't rely on a gate to protect a function until your platform supports them.
|
|
658
|
+
Semantic gates need a platform release that supports them. One that doesn't ignores `gates` with a warning and runs the function ungated, so don't rely on a gate to protect a function until your platform supports them. The gate keys added later, `unclear`, `on_unclear`, `dialogue`, `history` and `since`, need a release that has them too: one that has gates but not a key refuses the whole function, since it treats an unknown gate key as an error.
|
|
625
659
|
|
|
626
660
|
The decision model sees three things, under these names: `conversation`, the recent dialogue; `semantic_state`, the call's `global_data.semantic_state`, which `FunctionResult.set_semantic_state()` sets; and `proposed_function`, the function's name, description and arguments. Write each question as one proposition, and name what it's about with those names in backticks. The model reads literally: it doesn't do arithmetic or compare dates, so put a computed result in `semantic_state` instead of asking for it.
|
|
627
661
|
|
|
@@ -650,18 +684,87 @@ agent.define_tool(
|
|
|
650
684
|
)
|
|
651
685
|
```
|
|
652
686
|
|
|
653
|
-
`SemanticGate(question, threshold, on_fail, *, id=None, true_means=None, false_means=None, visual_input=None)`:
|
|
687
|
+
`SemanticGate(question, threshold, on_fail, *, id=None, true_means=None, false_means=None, visual_input=None, on_unclear=None, unclear=None, dialogue=None, history=None, since=None)`:
|
|
654
688
|
- `question` (str): The yes/no question, at most 8 KB. Its `${...}` variables are expanded from the call's global data when the gate is checked
|
|
655
689
|
- `threshold` (float): The probability of yes, above 0 and at most 1, at or above which the gate passes
|
|
656
|
-
- `on_fail` (Union[str, FunctionResult, Dict[str, Any]]): What the model gets when this is the first gate that fails: the tool result text, a `FunctionResult`, whose response and actions are used, or a data_map output dict. It needs a response, and in the `tool_result`/`tool_prompt` form a `tool_result`: a blocked call must never read as a success. The `tool_prompt` becomes a system message after the tool result; OpenAI Realtime agents don't use it, so put what they need in the `tool_result`. The
|
|
690
|
+
- `on_fail` (Union[str, FunctionResult, Dict[str, Any]]): What the model gets when this is the first gate that fails: the tool result text, a `FunctionResult`, whose response and actions are used, or a data_map output dict. It needs a response, and in the `tool_result`/`tool_prompt` form a `tool_result`: a blocked call must never read as a success. The `tool_prompt` becomes a system message after the tool result; OpenAI Realtime agents don't use it, so put what they need in the `tool_result`. The platform expands its `${...}` variables once, from the call's data as a data_map's output is, so it can quote what your code stored, such as `${global_data.semantic_state.proposal}`; a platform release from before that sends it as written
|
|
657
691
|
- `id` (Optional[str]): 1 to 64 letters, digits or underscores, unique within the function. Default `gate_<n>`, 1-based
|
|
658
692
|
- `true_means`, `false_means` (Optional[str]): What yes and no mean, at most 2 KB each
|
|
659
693
|
- `visual_input` (Optional[Union[bool, int]]): How many of the caller's newest video frames the decision model sees with this gate, as `visual_input`: True is 1, False or 0 none, or a whole number up to 5. Name it in the question, as in "Is the caller holding a photo ID up to the camera in `visual_input`?". All of a function's gates share one request, so each sees as many frames as the gate asking for the most. The gate provider must take images; one that doesn't makes the check a configuration error, which blocks the call. Left out by default. A function's own `visual_input`, frames sent to its webhook, is a separate `define_tool()` field
|
|
694
|
+
- `unclear` (Optional[bool]): True to ask yes, no or unclear, where the gate's provider can (OpenAI). A yes under the threshold counts as unclear too, so such a gate wants a lower threshold than a yes/no one. Unclear doesn't run the function: the model gets `on_unclear`. Two unclear answers in a row for the same function and `semantic_state` ask again; the third is a fail, so the caller isn't asked the same thing forever. Default: yes or no
|
|
695
|
+
- `on_unclear` (Optional[Union[str, FunctionResult, Dict[str, Any]]]): What the model gets when this is the first gate answered unclear and none failed, in the same forms as `on_fail`. It should ask the caller again. Default: the platform's own, which does
|
|
696
|
+
- `dialogue` (Optional[str]): The dialogue this gate judges, `"window"` or `"proposal"`, in place of the agent's (`set_semantic_gates(dialogue=...)`). A gate about something the caller asked before the proposal started, such as a request made before the account was found, wants `"window"` on an agent that judges its confirmations by the proposal
|
|
697
|
+
- `history` (Optional[int]): How many of the newest dialogue entries this gate judges, a whole number from 1 to 100, in place of the agent's `history`
|
|
698
|
+
- `since` (Optional[str]): The name of a mark your code sets with `FunctionResult.set_semantic_gate_mark(name)`. The gate judges the dialogue from the agent's first turn at or after the mark, at most `history` entries; until the mark is set, its `dialogue` as usual. Use it to anchor a confirmation to the moment your code chose, rather than to the last change of `semantic_state`
|
|
699
|
+
|
|
700
|
+
Every gate on one function must have the same `dialogue`, `history` and `since`, set or not: they're asked together, about one dialogue. The SDK raises `ValueError` for gates that differ, as the platform refuses the function.
|
|
660
701
|
|
|
661
702
|
Gates are checked by the platform's rules when the tool is defined. The platform refuses the whole function for an invalid gate, so the SDK raises `ValueError` instead. Gates aren't allowed on the hook names `startup_hook`, `hangup_hook` and `check_for_input`, on `end_call`, or on a built-in function's name.
|
|
662
703
|
|
|
663
704
|
When a gate check can't be completed, because the decision model timed out or failed, the call is blocked too, and the model is told the action couldn't be completed right now. `set_semantic_gates()` sets the time a check may take.
|
|
664
705
|
|
|
706
|
+
##### `define_native_tool(name: str, description: str, parameters: Optional[Dict[str, Any]] = None, **swaig_fields) -> AgentBase`
|
|
707
|
+
Define a function the platform implements itself, under your own description and parameters. The platform runs its own implementation, by name, of a function whose `web_hook_url` is `"native"`, and calls no webhook. A tool from `define_tool()` gets the agent's webhook URL, so it can't be one. Use it to describe a function the platform implements, such as `end_call`, in your own words, or to list it in a step's functions.
|
|
708
|
+
|
|
709
|
+
```python
|
|
710
|
+
agent.define_native_tool(
|
|
711
|
+
"end_call",
|
|
712
|
+
"End the call once the order is placed and the caller has nothing else.",
|
|
713
|
+
{"type": "object", "properties": {"reason": {"type": "string"}}},
|
|
714
|
+
)
|
|
715
|
+
```
|
|
716
|
+
|
|
717
|
+
##### `set_unavailable_function_response(text: str) -> AgentBase`
|
|
718
|
+
Set what the model is told when it calls a tool it can't use now: one the current step doesn't offer, or one the agent doesn't have. Without it, the platform says nothing ran, which steps offer the tool, and which tools are available now. `text` takes its place, with `${function}` for the tool's name, `${tools}` for the tools the request offered, comma-separated, and `${steps}` for the current context's steps whose functions include it, empty for a name the agent doesn't have. It's the `unavailable_function_response` param.
|
|
719
|
+
|
|
720
|
+
```python
|
|
721
|
+
agent.set_unavailable_function_response(
|
|
722
|
+
"Nothing ran: ${function} isn't offered now. Use one of: ${tools}."
|
|
723
|
+
)
|
|
724
|
+
```
|
|
725
|
+
|
|
726
|
+
##### `set_nullable_optional_parameters(enabled: bool = True) -> AgentBase`
|
|
727
|
+
Let the model send null for every tool's optional arguments. Some providers' strict schemas make every argument required and refuse a call that leaves one out, so an optional argument must take null instead. With this on, each optional argument of a tool from `define_tool()` takes null as well as its type, and a null reaches the handler as an argument not given. A tool's own `nullable_optional` overrides it. It applies when the SWML is rendered, so it covers tools defined before and after it.
|
|
728
|
+
|
|
729
|
+
##### `add_tool_middleware(middleware: Callable) -> AgentBase`
|
|
730
|
+
Run `middleware` around every tool call, after any added before it. A middleware is `fn(name, args, raw_data, call_next)`. It runs before the handler, and calls `call_next(args, raw_data)` for the rest of the chain and the handler, possibly with changed arguments. What it returns is the call's result: the handler's, a changed one, or its own without calling `call_next`. For an `async def` handler, `call_next` returns an awaitable; an `async def` middleware can `await resolve(call_next(args, raw_data))`, with `resolve` from `signalwire.core.tool_middleware`, to take either. A middleware that raises `ToolRefusal` declines the call; any other exception gives the model the unknown-outcome result. It covers tools from `define_tool()`, not DataMap or native tools, which run on the platform.
|
|
731
|
+
|
|
732
|
+
```python
|
|
733
|
+
from time import monotonic
|
|
734
|
+
|
|
735
|
+
def log_calls(name, args, raw_data, call_next):
|
|
736
|
+
started = monotonic()
|
|
737
|
+
result = call_next(args, raw_data)
|
|
738
|
+
print(name, round((monotonic() - started) * 1000), "ms")
|
|
739
|
+
return result
|
|
740
|
+
|
|
741
|
+
agent.add_tool_middleware(log_calls)
|
|
742
|
+
```
|
|
743
|
+
|
|
744
|
+
##### `set_tool_resend_dedupe(enabled: bool = True) -> AgentBase`
|
|
745
|
+
Turn the dedupe of transport retries on or off; it's on by default. SignalWire sends a tool request again, with the same body, after a timeout, a failed connection or a 5xx, so a slow tool could run twice. The dedupe answers a retry with the first attempt's result, and one that arrives while the first is still running waits for it. A retry is a request with the same `call_id`, `tool_call_id` and function name. A call the model makes again has a new `tool_call_id` and runs, and a request without one always runs. It runs first, before any middleware.
|
|
746
|
+
|
|
747
|
+
##### `on_ai_event(handler: Callable) -> Callable`
|
|
748
|
+
Register a handler, usable as a decorator, for the AI events the platform posts during calls. The agent sets the call's `event_webhook_url` to its own `/ai_events` endpoint, unless you set `event_webhook_url` yourself, and calls the handler with each event: `handler(event_type, params, event)`. `ai.speech_detect` comes for each final of the caller's speech, with its `text` and the recognizer's `words`, `[{"word", "confidence"}]`. The handler may be sync or async; its return value is ignored and an exception is logged. The endpoint is served by the agent's web server, not in serverless modes. A call with `redact_prompt` set sends no `ai.speech_detect` unless debug is on.
|
|
749
|
+
|
|
750
|
+
##### `record_speech_finals(max_calls: int = 500, max_finals: int = 200) -> AgentBase`
|
|
751
|
+
Keep each call's recognizer finals, from `ai.speech_detect`, for tool handlers to read with `speech_finals()`. It sets `event_webhook_url` as `on_ai_event()` does. The oldest call's finals go first once `max_calls` calls are kept.
|
|
752
|
+
|
|
753
|
+
##### `speech_finals(call_id: str, since: Optional[float] = None) -> List[Dict[str, Any]]`
|
|
754
|
+
A call's recognizer finals, oldest first, as `{"text", "words", "timestamp"}`, with `timestamp` in seconds since the epoch. The words are as the recognizer heard them, with their confidences, before hearing hints and number formatting change the text, so a handler can ask again about a word the recognizer wasn't sure of.
|
|
755
|
+
|
|
756
|
+
```python
|
|
757
|
+
agent.record_speech_finals()
|
|
758
|
+
|
|
759
|
+
def spell_name(args, raw_data):
|
|
760
|
+
finals = agent.speech_finals(raw_data["call_id"])
|
|
761
|
+
doubtful = [w["word"] for f in finals[-1:] for w in f["words"] if w["confidence"] < 0.85]
|
|
762
|
+
if doubtful:
|
|
763
|
+
return FunctionResult(tool_result=f"Not sure of: {', '.join(doubtful)}",
|
|
764
|
+
tool_prompt="Ask the caller to repeat those letters.")
|
|
765
|
+
return FunctionResult(tool_result=f"Name: {args['name']}")
|
|
766
|
+
```
|
|
767
|
+
|
|
665
768
|
##### `@AgentBase.tool(name=None, **kwargs)` (Class Decorator)
|
|
666
769
|
Decorator for defining tools as class methods.
|
|
667
770
|
|
|
@@ -11,6 +11,8 @@ The `swaig-test` CLI tool provides a complete testing environment for:
|
|
|
11
11
|
|
|
12
12
|
The tool automatically detects function types, provides appropriate execution environments, and simulates the SignalWire platform locally while making real HTTP requests for DataMap functions.
|
|
13
13
|
|
|
14
|
+
To test a whole call flow, such as a confirmation across steps, rather than one tool call, use `signalwire.testing.CallSimulator`; see [Conversation Patterns](conversation_patterns.md#testing-a-call-flow).
|
|
15
|
+
|
|
14
16
|
## Installed Commands
|
|
15
17
|
|
|
16
18
|
Installing the SDK adds seven command-line tools:
|
|
@@ -376,6 +376,25 @@ step.add_section("Role", "You are a helpful assistant") \
|
|
|
376
376
|
|
|
377
377
|
**Note**: You cannot mix `set_text()` with `add_section()` in the same step.
|
|
378
378
|
|
|
379
|
+
The platform expands a step's variables, such as `${global_data.order_total}`, once, when the step is entered. A later `update_global_data()` doesn't change text the model already has. To show the new value, return `FunctionResult.refresh_step()` with the current step's name after the update. Entering the step starts it over, and its `history` mode applies again.
|
|
380
|
+
|
|
381
|
+
```python
|
|
382
|
+
result = (FunctionResult("Added the drink.")
|
|
383
|
+
.update_global_data({"order_total": "$14.50"})
|
|
384
|
+
.refresh_step("take_order"))
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
#### Expected Answers
|
|
388
|
+
|
|
389
|
+
When a step asks for a number with a known length, such as a ZIP code or a PIN, tell the recognizer how many digits to expect. It ends its wait for the number once the caller has said that many. Pass `digits` for an exact count, or `min_digits` and `max_digits` for a range, each from 1 to 64.
|
|
390
|
+
|
|
391
|
+
```python
|
|
392
|
+
ctx.add_step("get_zip").set_text("Ask for the caller's ZIP code.").set_expected_answer(5)
|
|
393
|
+
ctx.add_step("get_pin").set_text("Ask for the PIN.").set_expected_answer(min_digits=4, max_digits=6)
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
A gather question takes its own, which replaces the step's while that question is asked: `add_gather_question("zip", "What is your ZIP code?", expected_answer={"digits": 5})`. The `expected_answer()` function in `signalwire.core.contexts` builds one and checks it.
|
|
397
|
+
|
|
379
398
|
#### Navigation Methods
|
|
380
399
|
|
|
381
400
|
These calls control where the conversation can go next.
|
|
@@ -407,6 +426,13 @@ step.set_functions("none")
|
|
|
407
426
|
# set (or every registered function, on a context's first step)
|
|
408
427
|
```
|
|
409
428
|
|
|
429
|
+
`ContextBuilder.steps_offering(name)` returns the `(context, step)` pairs whose function list, or a gather question's, names a tool. A step without `set_functions()` isn't counted, since what it offers depends on the step before it. When every step lists its functions and none lists a registered tool, rendering the SWML logs a `tool_offered_by_no_step` warning for it, once: the model never gets that tool unless a function result turns it on with `toggle_functions()`.
|
|
430
|
+
|
|
431
|
+
```python
|
|
432
|
+
builder = agent.define_contexts()
|
|
433
|
+
print(builder.steps_offering("place_order")) # [("default", "confirm")]
|
|
434
|
+
```
|
|
435
|
+
|
|
410
436
|
## Navigation and Flow Control
|
|
411
437
|
|
|
412
438
|
### Step Navigation Rules
|
|
@@ -687,6 +713,15 @@ Each question has a `type` that controls the JSON schema of the `answer` paramet
|
|
|
687
713
|
.add_gather_question("has_passport", "Do you have a valid passport?", type="boolean")
|
|
688
714
|
```
|
|
689
715
|
|
|
716
|
+
#### Expected Digits
|
|
717
|
+
|
|
718
|
+
A question whose answer is a number of known length can tell the recognizer how many digits to expect, with `expected_answer`. It applies while that question is asked, in place of the step's `set_expected_answer()`.
|
|
719
|
+
|
|
720
|
+
<!-- snippet: no-compile method-chain-excerpt -->
|
|
721
|
+
```python
|
|
722
|
+
.add_gather_question("zip", "What is your ZIP code?", expected_answer={"digits": 5})
|
|
723
|
+
```
|
|
724
|
+
|
|
690
725
|
#### Confirmation Flow
|
|
691
726
|
|
|
692
727
|
When `confirm=True`, the AI must read the answer back to the caller and get explicit confirmation before submitting:
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# Conversation Patterns
|
|
2
|
+
|
|
3
|
+
Each pattern here keeps a decision in your code that the model would otherwise make from the conversation. The helpers are in `signalwire.patterns` and `signalwire.speech`.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
- [Confirming a Change](#confirming-a-change)
|
|
8
|
+
- [Read-Backs Callers Can Interrupt](#read-backs-callers-can-interrupt)
|
|
9
|
+
- [Recording What Was Done](#recording-what-was-done)
|
|
10
|
+
- [Questions That Carry Content](#questions-that-carry-content)
|
|
11
|
+
- [The Caller's Own Words](#the-callers-own-words)
|
|
12
|
+
- [Numbers the Way a Voice Should Say Them](#numbers-the-way-a-voice-should-say-them)
|
|
13
|
+
- [Tool Outcomes the Model Can Trust](#tool-outcomes-the-model-can-trust)
|
|
14
|
+
- [Requests to Come Back To](#requests-to-come-back-to)
|
|
15
|
+
- [What a Caller Spelled](#what-a-caller-spelled)
|
|
16
|
+
- [Testing a Call Flow](#testing-a-call-flow)
|
|
17
|
+
|
|
18
|
+
## Confirming a Change
|
|
19
|
+
|
|
20
|
+
A change the caller must agree to, such as placing an order or cancelling an account, needs a yes to that change, not a yes somewhere in the call. The platform's confirm pattern does this with semantic gates:
|
|
21
|
+
|
|
22
|
+
1. A function proposes the change. It reads the change back and records it in `semantic_state`, in one action object, so the proposal's dialogue starts with the read-back.
|
|
23
|
+
2. The tool that carries out the change has three gates, each judged on the proposal's dialogue: the caller's latest turn is an answer, the answer is a yes, and what they answered was a read-back of this change.
|
|
24
|
+
|
|
25
|
+
`Proposal` builds both halves. The gates' questions are the platform's own, which were replayed against logged confirmation checks.
|
|
26
|
+
|
|
27
|
+
```python
|
|
28
|
+
from signalwire import AgentBase, FunctionResult
|
|
29
|
+
from signalwire.patterns import Proposal
|
|
30
|
+
|
|
31
|
+
agent = AgentBase(name="orders", route="/orders")
|
|
32
|
+
order = Proposal("place_order", decline_tool="change_order")
|
|
33
|
+
|
|
34
|
+
ITEM = {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {"item": {"type": "string", "description": "The item, with its size"}},
|
|
37
|
+
"required": ["item"],
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
def review_order(args, raw_data):
|
|
41
|
+
read_back = f"That's {args['item']} for pickup. Is that right?"
|
|
42
|
+
return order.propose(read_back, raw_data=raw_data, details={"item": args["item"]})
|
|
43
|
+
|
|
44
|
+
def place_order(args, raw_data):
|
|
45
|
+
item = raw_data["global_data"]["semantic_state"]["item"]
|
|
46
|
+
return order.complete(f"The order for {item} is placed.")
|
|
47
|
+
|
|
48
|
+
agent.define_tool("review_order", "Read the order back to the caller", ITEM, review_order)
|
|
49
|
+
agent.define_tool("place_order", "Place the order the caller said yes to", {}, place_order,
|
|
50
|
+
gates=order.confirm_gates())
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
`propose()` says the read-back word for word, records `{"proposal": read_back, "revision": n}` with your details, and has the model wait for the caller's answer. When a gate blocks the confirm tool, the model is told why, with the proposal quoted from `semantic_state`, and chaining is turned off for the call, so it answers in words before it calls a tool again. To read the same change back again, use `ask_again(raw_data)`: the platform marks a new proposal only when `semantic_state` changes, so it records the next revision.
|
|
54
|
+
|
|
55
|
+
`Proposal(..., unclear=True, threshold=0.6)` lets the gates answer unclear as well, where the gate provider can, which asks the caller again. Give the confirm step only the confirm tool, the decline tool and a tool that notes other requests, so a "yes, and also..." becomes two calls.
|
|
56
|
+
|
|
57
|
+
## Read-Backs Callers Can Interrupt
|
|
58
|
+
|
|
59
|
+
A caller often answers before a read-back ends. Order it so the part they must hear comes first:
|
|
60
|
+
|
|
61
|
+
1. The change itself: "That's a large tea, not a small one."
|
|
62
|
+
2. The details of the change: "for pickup at five, on the card ending in one two three four."
|
|
63
|
+
3. What was already settled, last: "at the Main Street store."
|
|
64
|
+
|
|
65
|
+
A caller who cuts it off has heard the change. The confirm gates count a yes once the caller has heard what the change is, so a read-back that leads with it confirms sooner.
|
|
66
|
+
|
|
67
|
+
## Recording What Was Done
|
|
68
|
+
|
|
69
|
+
After the change is carried out, write a `semantic_state` that records it, rather than clearing it with `{}`. `Proposal.complete(summary)` does this. A state that changes starts the next proposal's dialogue there, so a later confirmation isn't judged on what was said before this one, and the model and the gates see what's settled.
|
|
70
|
+
|
|
71
|
+
## Questions That Carry Content
|
|
72
|
+
|
|
73
|
+
A one-word answer is hard to judge: "yes" may answer something else the agent said. Ask questions whose answers carry content. "Which size would you like, small or large?" gets "large", which a gate, the recognizer and your code can check. "Do you want a large?" gets "yes".
|
|
74
|
+
|
|
75
|
+
## The Caller's Own Words
|
|
76
|
+
|
|
77
|
+
A tool can check that an argument is something the caller said, rather than something the model inferred.
|
|
78
|
+
|
|
79
|
+
`define_tool(..., vouched=True)` asks the model. The tool gets a required boolean, `data_supplied_by_user`, and runs only when the model sets it to true. Otherwise the model is told to get the answer from the caller first.
|
|
80
|
+
|
|
81
|
+
`caller_turns(raw_data)` reads what the caller said from the request's conversation. A request carries the conversation only with `swaig_post_conversation` on, and `needs_conversation=True` on the tool turns it on.
|
|
82
|
+
|
|
83
|
+
```python
|
|
84
|
+
from signalwire import AgentBase, FunctionResult
|
|
85
|
+
from signalwire.core.post_prompt import caller_turns
|
|
86
|
+
|
|
87
|
+
agent = AgentBase(name="stores", route="/stores")
|
|
88
|
+
ZIP = {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {"zip": {"type": "string", "description": "The caller's ZIP code"}},
|
|
91
|
+
"required": ["zip"],
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
def find_store(args, raw_data):
|
|
95
|
+
said = " ".join(caller_turns(raw_data, last=3))
|
|
96
|
+
if args["zip"] not in said.replace(" ", ""):
|
|
97
|
+
return FunctionResult(tool_result="find_store was not run.",
|
|
98
|
+
tool_prompt="Ask the caller for their ZIP code.")
|
|
99
|
+
return FunctionResult(tool_result=f"The nearest store to {args['zip']} is on Main Street.")
|
|
100
|
+
|
|
101
|
+
agent.define_tool("find_store", "Find the store nearest a ZIP code", ZIP, find_store,
|
|
102
|
+
needs_conversation=True)
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
The conversation has the recognizer's final text, after hearing hints and number formatting. For the words as the recognizer heard them, with a confidence for each, call `agent.record_speech_finals()` and read `agent.speech_finals(raw_data["call_id"])`. The finals come from the platform's `ai.speech_detect` events, which the agent receives at its own `/ai_events` endpoint. A handler can ask the caller again about a word the recognizer wasn't sure of, such as a letter of a spelled name. `agent.on_ai_event(handler)` receives every AI event the platform posts.
|
|
106
|
+
|
|
107
|
+
## Numbers the Way a Voice Should Say Them
|
|
108
|
+
|
|
109
|
+
The platform normalizes text before its pronunciation rules run, so a bare number is already words by then. A ZIP code given as "10001" can be read "ten thousand one", and `add_pronunciation()` can't change that. Give the words to say instead:
|
|
110
|
+
|
|
111
|
+
```python
|
|
112
|
+
from signalwire.speech import say_digits, say_last_digits, say_money
|
|
113
|
+
|
|
114
|
+
say_digits("415-555-0192") # "four one five, five five five, zero one nine two"
|
|
115
|
+
say_digits("10001", zero="oh") # "one oh oh oh one"
|
|
116
|
+
say_last_digits("4111111111111234") # "one two three four"
|
|
117
|
+
say_money(14.5) # "fourteen dollars and fifty cents"
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Use them in a `say` action, or in the tool result the model reads back. They're English. `say_money` knows USD, CAD, AUD, NZD, EUR, GBP, MXN, INR and JPY.
|
|
121
|
+
|
|
122
|
+
When a step asks for a number with a known length, `Step.set_expected_answer(5)` tells the recognizer to end its wait once the caller has said that many digits. See the [Contexts and Steps Guide](contexts_guide.md#expected-answers).
|
|
123
|
+
|
|
124
|
+
## Tool Outcomes the Model Can Trust
|
|
125
|
+
|
|
126
|
+
The model reads a tool's result as what happened, so the result must not claim more than the handler knows.
|
|
127
|
+
|
|
128
|
+
- Raise `ToolRefusal(tool_result, tool_prompt)` to decline a call with an outcome you know, such as an item out of stock.
|
|
129
|
+
- Any other exception tells the model the function failed before it finished, so whether it took effect is unknown, and not to tell the caller it worked or that it didn't. The exception is logged, not sent.
|
|
130
|
+
- A dict without a `response` or an `action` is the handler's data, and the model gets it as JSON.
|
|
131
|
+
|
|
132
|
+
SignalWire sends a tool request again after a timeout, a failed connection or a 5xx, so a slow tool could run twice. The agent answers such a retry with the first attempt's result, and one that arrives while the first is still running waits for it. `set_tool_resend_dedupe(False)` turns this off.
|
|
133
|
+
|
|
134
|
+
## Requests to Come Back To
|
|
135
|
+
|
|
136
|
+
A caller in the middle of one task often asks for another: "and can you also check my balance?" Taking it up at once loses the first task, and ignoring it loses the second. `RequestList` keeps such requests in the call's `global_data`. A tool notes each one, and the model tells the caller it's noted for right after this. The step text shows the list, so the agent takes the requests up when the current task is done.
|
|
137
|
+
|
|
138
|
+
```python
|
|
139
|
+
from signalwire import AgentBase
|
|
140
|
+
from signalwire.patterns import RequestList
|
|
141
|
+
|
|
142
|
+
agent = AgentBase(name="support", route="/support")
|
|
143
|
+
later = RequestList("later", openers={"balance": "You also asked about your balance."})
|
|
144
|
+
agent.set_global_data(later.defaults())
|
|
145
|
+
|
|
146
|
+
NOTE = {
|
|
147
|
+
"type": "object",
|
|
148
|
+
"properties": {
|
|
149
|
+
"kind": {"type": "string", "enum": ["balance", "question"]},
|
|
150
|
+
"about": {"type": "string", "description": "What the caller asked, in a few words"},
|
|
151
|
+
},
|
|
152
|
+
"required": ["kind", "about"],
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
def note_request(args, raw_data):
|
|
156
|
+
return later.note(raw_data, args["kind"], args["about"])
|
|
157
|
+
|
|
158
|
+
agent.define_tool("note_request", "Note something the caller asked to do later", NOTE,
|
|
159
|
+
note_request)
|
|
160
|
+
ctx = agent.define_contexts().add_context("default")
|
|
161
|
+
ctx.add_step("take_order").set_text("Take the order.\n\n${global_data.later_text}")
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
`later.next(raw_data)` gives the oldest request with its opener, and `later.done(raw_data)` removes it once it's taken up. The kinds and their openers are yours. A step's text is expanded when the step is entered, so return `refresh_step()` with a note to show the new list at once.
|
|
165
|
+
|
|
166
|
+
## What a Caller Spelled
|
|
167
|
+
|
|
168
|
+
A caller spells a name, a code or an email address in many ways: letter by letter, with letter names, with "S as in Sam", with the NATO alphabet, or with "double l". `signalwire.speech.spelling` reads them all from the recognizer's text.
|
|
169
|
+
|
|
170
|
+
```python
|
|
171
|
+
from signalwire.speech.spelling import read_spelled, spelling_variants, spoken_email
|
|
172
|
+
|
|
173
|
+
read_spelled("S as in Sam, m i t h") # ["S", "M", "I", "T", "H"]
|
|
174
|
+
read_spelled("sierra mike india tango hotel") # ["S", "M", "I", "T", "H"]
|
|
175
|
+
spoken_email("john dot smith at example dot com") # "john.smith@example.com"
|
|
176
|
+
spelling_variants(["S", "M", "I", "T", "H"], {"S": "F", "M": "N"})
|
|
177
|
+
# ["SMITH", "FMITH", "SNITH", "FNITH"]
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
The recognizer confuses some letters, and which ones depends on the recognizer and the voice, so `spelling_variants` takes confusion groups you measure on your own calls; none are built in. Its `positions` argument limits the changes to the letters the recognizer was least sure of, which `agent.speech_finals()` gives a confidence for. Look each variant up in your records, in order: the first that matches is the likeliest.
|
|
181
|
+
|
|
182
|
+
## Testing a Call Flow
|
|
183
|
+
|
|
184
|
+
`swaig-test` runs one tool call. To test a flow, such as a confirmation across steps, `signalwire.testing.CallSimulator` runs the agent's tools through a simulated call. It reads the agent's rendered SWML as the platform would, and checks each call as the platform does: a tool the current step doesn't offer doesn't run, and a gated tool runs only when your gate callback lets it. Each result's actions change the call: global data and `semantic_state`, the step and context, the functions turned on, `say`, and the end of the call.
|
|
185
|
+
|
|
186
|
+
```python
|
|
187
|
+
from signalwire.testing import CallSimulator
|
|
188
|
+
|
|
189
|
+
def test_a_yes_places_the_order():
|
|
190
|
+
sim = CallSimulator(agent, gates=lambda gate, sim, args: True)
|
|
191
|
+
sim.caller("A large tea, please.")
|
|
192
|
+
assert not sim.call("place_order").ran # not offered until the read-back
|
|
193
|
+
sim.call("review_order", {"item": "a large tea"})
|
|
194
|
+
sim.caller("Yes.")
|
|
195
|
+
assert sim.call("place_order").ran
|
|
196
|
+
assert sim.semantic_state == {"done": "The a large tea is ordered."}
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
The gate callback gets each gate and returns True, False, a probability compared with the gate's threshold, or `"unclear"`. Give `stubs` for DataMap tools, which run on the platform. To check changed code against real calls, record tool requests with `RequestRecorder`, which is tool middleware, and run them again with `CallSimulator(agent).replay(requests)`. The requests carry what callers said, so keep a recording where you'd keep call recordings.
|
|
200
|
+
|
|
201
|
+
## Related Documentation
|
|
202
|
+
|
|
203
|
+
- [API Reference](api_reference.md#semantic-gates): semantic gates and every tool option
|
|
204
|
+
- [SWAIG Reference](swaig_reference.md): every `FunctionResult` action
|
|
205
|
+
- [Contexts and Steps Guide](contexts_guide.md): steps, their function lists and expected answers
|
|
@@ -527,6 +527,15 @@ Stop agent execution completely.
|
|
|
527
527
|
result.stop()
|
|
528
528
|
```
|
|
529
529
|
|
|
530
|
+
#### `refresh_step(step_name)`
|
|
531
|
+
Enter the current step again, so its text shows new global data. A step's text is expanded once, when the step is entered, so its `${global_data.*}` values are the ones from then. After `update_global_data()` changes one, add `refresh_step()` with the current step's name, after the update, and the model gets the step's text again with the new values. It's the same action as `swml_change_step(step_name)`: entering a step starts it over, and its `history` mode applies again.
|
|
532
|
+
|
|
533
|
+
```python
|
|
534
|
+
result = (FunctionResult("Added the drink.")
|
|
535
|
+
.update_global_data({"order_total": "$14.50"})
|
|
536
|
+
.refresh_step("take_order"))
|
|
537
|
+
```
|
|
538
|
+
|
|
530
539
|
---
|
|
531
540
|
|
|
532
541
|
### Speech & Audio Control
|
|
@@ -604,6 +613,13 @@ Set the state the call's semantic gates judge, besides the dialogue: `global_dat
|
|
|
604
613
|
result.set_semantic_state({"order": {"item": "large pepperoni", "confirmed": True}})
|
|
605
614
|
```
|
|
606
615
|
|
|
616
|
+
#### `set_semantic_gate_mark(name)`
|
|
617
|
+
Set a mark that semantic gates with `since=name` judge the dialogue from: the agent's first turn at or after it, at most the gate's `history` entries. The mark is set as of the start of the action object that sets it, so a `say` in the same object is the first turn after it, and setting it again moves it. Marks last for the call. The name is 1 to 64 letters, digits or underscores.
|
|
618
|
+
|
|
619
|
+
```python
|
|
620
|
+
result.set_semantic_gate_mark("read_back")
|
|
621
|
+
```
|
|
622
|
+
|
|
607
623
|
#### `set_metadata(data)`
|
|
608
624
|
Set metadata scoped to current function's meta_data_token.
|
|
609
625
|
|
|
@@ -641,6 +657,14 @@ result.enable_functions_on_timeout(True)
|
|
|
641
657
|
result.enable_functions_on_timeout(False)
|
|
642
658
|
```
|
|
643
659
|
|
|
660
|
+
#### `back_to_back_functions(value=True)`
|
|
661
|
+
Set whether the model may call another function right after a function result, without answering in words first. `"forever"`, the call's default, chains freely. `False` makes the model answer in words after a function result. `True`, while chaining is off, allows one more chain, and then it's off again; it never lowers `"forever"`. The setting lasts for the call. Realtime models don't read it.
|
|
662
|
+
|
|
663
|
+
```python
|
|
664
|
+
# A read-back the caller must answer before anything else runs
|
|
665
|
+
result = FunctionResult("Read the order back to the caller.").back_to_back_functions(False)
|
|
666
|
+
```
|
|
667
|
+
|
|
644
668
|
#### `enable_extensive_data(enabled=True)`
|
|
645
669
|
Send full data to LLM for this turn only, then use smaller replacement.
|
|
646
670
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "signalwire-sdk"
|
|
7
|
-
version = "3.
|
|
7
|
+
version = "3.8.0.dev143"
|
|
8
8
|
description = "SignalWire SDK for AI voice agents, live call control (RELAY) and REST. Run sw-pydocs for its documentation."
|
|
9
9
|
authors = [
|
|
10
10
|
{name = "SignalWire Team", email = "info@signalwire.com"}
|