anthropic.internal.BodyParams

Everything the body builder needs that is not in ai.ModelTurnInput. A host that is not `anthropic.Client` (Vertex, Bedrock) builds one of these.

Reference version

Signature

class anthropic.internal.BodyParams

Everything the body builder needs that is not in ai.ModelTurnInput. A host that is not anthropic.Client (Vertex, Bedrock) builds one of these.

Source:<builtin>/anthropic/ns_internal/messages.bamlbytes 2315823514

Fields

model

string

max_tokens

int

temperature

float | null

top_p

float | null

top_k

int | null

stop_sequences

string[] | null

request_body

baml.json.json | null

client_id

string