UserConversationSimulationTestCase interface

定義了一個測試情境。 此處指定的模擬配置屬性會覆蓋對應的資料來源預設值。

屬性

simulation_configuration

為本測試案例產生的對話設定。 每個指定的性質都會覆蓋 中 default_simulation_configuration對應的性質。

test_case_category

用於分組相關測試案例的類別。 若省略,該服務會保留該類別為空。

test_case_description

情境、模擬使用者目標,以及引導對話的行為限制。 字元長度必須介於1到2,500字元之間。

test_case_id

測試案例的識別碼。 若省略,服務會產生隨機識別碼。

屬性詳細資料

simulation_configuration

為本測試案例產生的對話設定。 每個指定的性質都會覆蓋 中 default_simulation_configuration對應的性質。

simulation_configuration?: UserConversationSimulationConfiguration

屬性值

test_case_category

用於分組相關測試案例的類別。 若省略,該服務會保留該類別為空。

test_case_category?: string

屬性值

string

test_case_description

情境、模擬使用者目標,以及引導對話的行為限制。 字元長度必須介於1到2,500字元之間。

test_case_description?: string

屬性值

string

test_case_id

測試案例的識別碼。 若省略,服務會產生隨機識別碼。

test_case_id?: string

屬性值

string