Simulate conversation

Deprecated

Deprecated. Use the /v1/convai/agent-testing/create and /v1/convai/agents/:agent_id/run-tests endpoints to create and run simulations. Run a conversation between the agent and a simulated user.

パスパラメータ

agent_idstring必須
The id of an agent. This is returned on agent creation.

ヘッダー

xi-api-keystringオプション

リクエスト

This endpoint expects an object.
simulation_specificationobject必須
A specification detailing how the conversation should be simulated
extra_evaluation_criterialist of objectsオプション
A list of evaluation criteria to test
new_turns_limitintegerオプション<=100デフォルト値 100
Maximum number of new turns to generate in the conversation simulation

レスポンス

Successful Response
simulated_conversationlist of objects
analysisobject

エラー

422
Agents Simulate Conversation Request Unprocessable Entity Error