switch responseFormat.Type {
case components.ResponseFormatTypeGrammar:
// responseFormat.ChatFormatGrammarConfig is populated
case components.ResponseFormatTypeJSONObject:
// responseFormat.ChatFormatJSONObjectConfig is populated
case components.ResponseFormatTypeJSONSchema:
// responseFormat.ChatFormatJSONSchemaConfig is populated
case components.ResponseFormatTypePython:
// responseFormat.ChatFormatPythonConfig is populated
case components.ResponseFormatTypeText:
// responseFormat.ChatFormatTextConfig is populated
}