91 lines
2.5 KiB
JSON
91 lines
2.5 KiB
JSON
{
|
|
"schema_version": "2.0",
|
|
"dispatcher_id": "c046b893-8628-4589-ae50-619d049248a6",
|
|
"tenant_id": "tenant-a",
|
|
"tenant_key": "tenant-a",
|
|
"trace_id": "trace-v2",
|
|
"issued_at": "2026-09-21T00:00:00Z",
|
|
"message_id": "ai-config-reply-a",
|
|
"message_type": "ai.config.result",
|
|
"correlation_id": "ai.config.request-a",
|
|
"status": "ok",
|
|
"reason_code": "ok",
|
|
"payload": {
|
|
"snapshot": {
|
|
"tenant_id": "tenant-a",
|
|
"agent_version_id": "version-a",
|
|
"status": "published",
|
|
"immutable": true,
|
|
"content_sha256": "f300adadedbdedb40533134ca7d340528d88d70ee0494522e75f067e66a2e9a1",
|
|
"config": {
|
|
"agent_version_id": "version-a",
|
|
"immutable": true,
|
|
"mode": "full_ai",
|
|
"llm": {
|
|
"provider_ref": "mock",
|
|
"model": "mock-chat-v1",
|
|
"temperature": 0.2,
|
|
"max_tokens": 256,
|
|
"timeout_ms": 5000
|
|
},
|
|
"prompt": {
|
|
"text": "You are a concise telephone assistant. Answer the caller's last statement.",
|
|
"allowed_variables": [],
|
|
"max_bytes": 32768
|
|
},
|
|
"tts": {
|
|
"provider_ref": "mock",
|
|
"model": "mock-tts-v1",
|
|
"voice": "mock-neutral",
|
|
"speed": 1.0,
|
|
"format": {
|
|
"encoding": "pcm_s16le",
|
|
"sample_rate_hz": 16000,
|
|
"channels": 1
|
|
},
|
|
"timeout_ms": 5000
|
|
},
|
|
"asr": {
|
|
"provider_ref": "mock",
|
|
"language": "zh-CN",
|
|
"input": {
|
|
"encoding": "pcm_s16le",
|
|
"sample_rate_hz": 16000,
|
|
"channels": 1,
|
|
"sample_width_bytes": 2
|
|
},
|
|
"interim": true,
|
|
"timeout_ms": 5000
|
|
},
|
|
"conversation": {
|
|
"opening": "",
|
|
"allow_interrupt": true,
|
|
"silence_timeout_ms": 3000,
|
|
"max_duration_ms": 120000,
|
|
"max_turns": 20,
|
|
"sentence_max_chars": 80,
|
|
"max_pending_audio_chunks": 32
|
|
}
|
|
}
|
|
},
|
|
"authorization": {
|
|
"authorization_id": "auth-1",
|
|
"tenant_id": "tenant-a",
|
|
"tenant_key": "tenant-a",
|
|
"agent_version_id": "version-a",
|
|
"config_sha256": "5f7a7531839338c0a0a9b8f8f5329c2f5d1aaa6e42d11bdd25446294b119ee8e",
|
|
"mode": "full_ai",
|
|
"issued_at": "2026-09-18T00:00:00Z",
|
|
"expires_at": "2026-09-18T00:01:00Z",
|
|
"source": "mock-saas",
|
|
"credential_refs": {
|
|
"asr": "mock-asr-credential"
|
|
},
|
|
"allowed_egress_pool_ids": [
|
|
"egress-mock"
|
|
],
|
|
"revoked": false
|
|
}
|
|
}
|
|
}
|