GitHub

ConfigService

API reference for ConfigService.

CreateResponse fields and the library's options (see the module docstring).

Attributes

AttributeTypeDescription
modelstr
backgroundbool | None
conversationobject
includeSequence[str] | None
instructionsstr | None
max_output_tokensint | None
max_tool_callsint | None
metadatadict[str, str] | None
parallel_tool_callsbool | None
previous_response_idstr | None
promptobject
prompt_cache_keystr | None
prompt_cache_retentionLiteral['in-memory', '24h'] | None
reasoningobject
safety_identifierstr | None
service_tierstr | None
storebool | None
temperaturefloat | None
top_logprobsint | None
top_pfloat | None
truncationLiteral['auto', 'disabled'] | None
userstr | None
textTextConfig
file_id_prefixesSequence[str]
strict_json_schemabool
use_item_referencesbool
reasoning_modelbool