Record Class OpenAIResponseRequest
java.lang.Object
java.lang.Record
com.bluebell.greenhouse.sol.models.requests.openai.OpenAIResponseRequest
- Record Components:
model- model nameinput- input messagestools- enabled toolstext- text output configuration
public record OpenAIResponseRequest(String model, List<OpenAIResponseRequestMessage> input, List<OpenAIResponseRequestTool> tools, OpenAIResponseRequestText text)
extends Record
Request payload for OpenAI Responses API calls.
- Version:
- 1.0.9
- Author:
- Stephen Prizio
-
Constructor Summary
ConstructorsConstructorDescriptionOpenAIResponseRequest(String model, List<OpenAIResponseRequestMessage> input, List<OpenAIResponseRequestTool> tools, OpenAIResponseRequestText text) Creates an instance of aOpenAIResponseRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.input()Returns the value of theinputrecord component.model()Returns the value of themodelrecord component.text()Returns the value of thetextrecord component.tools()Returns the value of thetoolsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OpenAIResponseRequest
public OpenAIResponseRequest(String model, List<OpenAIResponseRequestMessage> input, List<OpenAIResponseRequestTool> tools, OpenAIResponseRequestText text) Creates an instance of aOpenAIResponseRequestrecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
model
-
input
-
tools
-
text
-