Package version:
OptionalchatAn open dictionary for extended properties. Required if 'type' == 'json_schema'
OptionaltypeSpecifies how the LLM should format the response. Possible values: 'text' (plain string), 'json_object' (arbitrary JSON), or 'json_schema' (adheres to provided schema).
Determines how the language model's response should be serialized. Defaults to 'text'.