Package org.springframework.ai.openai
Class OpenAiChatModel.ResponseFormat
java.lang.Object
org.springframework.ai.openai.OpenAiChatModel.ResponseFormat
- Enclosing class:
OpenAiChatModel
Response format (text, json_object, json_schema) for OpenAiChatModel responses.
- Author:
- Julien Dubois, Mariusz Bernacki, Grogdunn, Thomas Vitale, John Blum, Mark Pollack, Josh Long, Jemin Huh, Ueibin Kim, Alexandros Pappas, luocongqiu, Hyunjoon Choi, Jonghoon Park
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()@Nullable StringgetType()voidsetJsonSchema(@Nullable String jsonSchema) void
-
Constructor Details
-
ResponseFormat
public ResponseFormat()
-
-
Method Details
-
getType
-
setType
-
getJsonSchema
-
setJsonSchema
-
builder
-