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