Parameter - Python SDK

Parameter method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

Values

NameValue
TEMPERATUREtemperature
TOP_Ptop_p
TOP_Ktop_k
MIN_Pmin_p
TOP_Atop_a
FREQUENCY_PENALTYfrequency_penalty
PRESENCE_PENALTYpresence_penalty
REPETITION_PENALTYrepetition_penalty
MAX_TOKENSmax_tokens
MAX_COMPLETION_TOKENSmax_completion_tokens
LOGIT_BIASlogit_bias
LOGPROBSlogprobs
TOP_LOGPROBStop_logprobs
SEEDseed
RESPONSE_FORMATresponse_format
STRUCTURED_OUTPUTSstructured_outputs
STOPstop
TOOLStools
TOOL_CHOICEtool_choice
PARALLEL_TOOL_CALLSparallel_tool_calls
INCLUDE_REASONINGinclude_reasoning
REASONINGreasoning
REASONING_EFFORTreasoning_effort
WEB_SEARCH_OPTIONSweb_search_options
VERBOSITYverbosity