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 TvisitText(String text)The contents of the assistant message. abstract TvisitArrayOfContentParts(List<ChatCompletionAssistantMessageParam.Content.ChatCompletionRequestAssistantMessageContentPart> arrayOfContentParts)An array of content parts with a defined type. Tunknown(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.
-
-
-
-