メインコンテンツへスキップ
POST
フィードバック作成

ボディ

application/json
feedback_type
string
必須
:

"custom"

payload
Payload · object
必須
:
project_id
string
必須
:

"entity/project"

weave_ref
string
必須
:

"weave:///entity/project/object/name:digest"

annotation_ref
string | null
:

"weave:///entity/project/object/name:digest"

call_ref
string | null
:

"weave:///entity/project/call/call_id"

creator
string | null
:

"Jane Smith"

id
string | null

クライアントから指定された場合、この ID はサーバー生成の ID の代わりにフィードバック行に使用されます。

:

"018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b"

queue_id
string | null

このフィードバックの作成元となった annotation queue の ID。annotation_queues.id を参照します。キュー外でフィードバックが作成された場合は NULL です。

:

"018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b"

runnable_ref
string | null
:

"weave:///entity/project/op/name:digest"

scorer_rating_confidences
Scorer Rating Confidences · object

レーティング名をキーとする、レーティングごとの信頼度 (0-1)

:
scorer_rating_reasons
Scorer Rating Reasons · object

レーティング名をキーとする、レーティングごとの理由テキスト

:
scorer_ratings
Scorer Ratings · object

レーティング名をキーとする数値評価 (0-1)

:
scorer_tag_confidences
Scorer Tag Confidences · object

タグ名をキーとする、タグごとの信頼度 (0-1)

:
scorer_tag_reasons
Scorer Tag Reasons · object

タグ名をキーとする、タグごとの理由テキスト

:
scorer_tags
string[]

scorer が ref に適用したタグ

:
span_agent_name
string
デフォルト:""

スコア付けされたエージェントの表示名(spans.agent_name から)

:

"midi-generator"

span_agent_version
string
デフォルト:""

スコア付けされたエージェントのバージョン(spans.agent_version から)

:

"1.2.0"

span_status_code
string
デフォルト:UNSET

スコア付けされたターンのステータス(spans.status_code から)

:

"SUCCESS"

trigger_ref
string | null
:

"weave:///entity/project/object/name:digest"

wb_user_id
string | null

直接設定しないでください。サーバーがこのフィールドを自動的に設定します。

レスポンス

成功レスポンス

created_at
string<date-time>
必須
id
string
必須
payload
Payload · object
必須
wb_user_id
string
必須