ResponseFormatTextConfig - TypeScript SDK
ResponseFormatTextConfig method reference
Text response format configuration
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ResponseFormatTextConfig method reference
models.ResponsesFormatTextconst value: models.ResponsesFormatText = {
type: "text",
};
models.ResponsesFormatJSONObjectconst value: models.ResponsesFormatJSONObject = {
type: "json_object",
};
models.ResponsesFormatTextJSONSchemaConfigconst value: models.ResponsesFormatTextJSONSchemaConfig = {
type: "json_schema",
name: "<value>",
schema: {
"key": "<value>",
"key1": "<value>",
},
};