メインコンテンツへスキップ
POST
予測の作成

承認

Authorization
string
header
必須

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

パスパラメータ

entity
string
必須
project
string
必須

ボディ

application/json

REST API 経由で予測を作成するためのリクエストボディ。

このモデルには project_id は含まれません。RESTful endpoints の URL パスから取得されるためです。

inputs
Inputs · object
必須

予測への入力

model
string
必須

モデル参照(weave:// URI)

output
any
必須

予測の出力

evaluation_run_id
string | null

この予測を子 call として関連付けるためのオプションの評価 run ID

genai_span_ref
GenAISpanRef · object[] | null

この予測によって生成される、省略可能な GenAI span 参照。

レスポンス

正常なレスポンス

prediction_id
string
必須

予測 ID