Interface CreateChatCompletionRequestAllOfStop
- All Known Implementing Classes:
CreateChatCompletionRequestAllOfStop.InnerString,CreateChatCompletionRequestAllOfStop.ListOfStrings
public interface CreateChatCompletionRequestAllOfStop
Up to 4 sequences where the API will stop generating further tokens.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordHelper class to createStringthat implementsCreateChatCompletionRequestAllOfStop.static final recordHelper class to createList<String>that implementsCreateChatCompletionRequestAllOfStop. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionCreator to enable deserialization ofString.createListOfStrings(List<String> val) Creator to enable deserialization ofList<String>.
-
Method Details
-
createListOfStrings
@Nonnull static CreateChatCompletionRequestAllOfStop.ListOfStrings createListOfStrings(@Nonnull List<String> val) Creator to enable deserialization ofList<String>.- Parameters:
val- the value to use- Returns:
- a new instance of
CreateChatCompletionRequestAllOfStop.ListOfStrings.
-
create
Creator to enable deserialization ofString.- Parameters:
val- the value to use- Returns:
- a new instance of
CreateChatCompletionRequestAllOfStop.InnerString.
-