Package com.openai.models
Interface ChatCompletionSystemMessageParam.Content.Visitor
-
- All Implemented Interfaces:
public interface ChatCompletionSystemMessageParam.Content.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitTextContent(String textContent)The contents of the system message. abstract TvisitArrayOfContentParts(List<ChatCompletionContentPartText> arrayOfContentParts)An array of content parts with a defined type. Tunknown(JsonValue json)-
-
Method Detail
-
visitTextContent
abstract T visitTextContent(String textContent)
The contents of the system message.
-
visitArrayOfContentParts
abstract T visitArrayOfContentParts(List<ChatCompletionContentPartText> arrayOfContentParts)
An array of content parts with a defined type. For system messages, only type
textis supported.
-
-
-
-