Package com.openai.models
Interface ChatCompletionAssistantMessageParam.Content.Visitor
-
- All Implemented Interfaces:
public interface ChatCompletionAssistantMessageParam.Content.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract T
visitText(String text)
The contents of the assistant message. abstract T
visitArrayOfContentParts(List<ChatCompletionAssistantMessageParam.Content.ChatCompletionRequestAssistantMessageContentPart> arrayOfContentParts)
An array of content parts with a defined type. T
unknown(JsonValue json)
-
-
Method Detail
-
visitArrayOfContentParts
abstract T visitArrayOfContentParts(List<ChatCompletionAssistantMessageParam.Content.ChatCompletionRequestAssistantMessageContentPart> arrayOfContentParts)
An array of content parts with a defined type. Can be one or more of type
text
, or exactly one of typerefusal
.
-
-
-
-