Class ApiChatCompletionsRequestMessageContentFile
- java.lang.Object
-
- de.xima.fc.prompt.ms.impl.service.generic_oai.client.json.ApiChatCompletionsRequestMessageContentFile
-
public class ApiChatCompletionsRequestMessageContentFile extends Object
File content for the chat completions message content.- Since:
- 8.5.0
-
-
Constructor Summary
Constructors Constructor Description ApiChatCompletionsRequestMessageContentFile()Constructs a new file content instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiChatCompletionsRequestMessageContentFilefileData(FileContent fileData)The base64 encoded file data, used when passing the file to the model as a string.ApiChatCompletionsRequestMessageContentFilefileId(String fileId)The ID of an uploaded file to use as input.ApiChatCompletionsRequestMessageContentFilefileName(String fileName)The name of the file, used when passing the file to the model as a string.
-
-
-
Method Detail
-
fileData
public ApiChatCompletionsRequestMessageContentFile fileData(FileContent fileData)
The base64 encoded file data, used when passing the file to the model as a string.- Parameters:
fileData- The file data.- Returns:
- This instance.
-
fileId
public ApiChatCompletionsRequestMessageContentFile fileId(String fileId)
The ID of an uploaded file to use as input.- Parameters:
fileId- The file ID.- Returns:
- This instance.
-
fileName
public ApiChatCompletionsRequestMessageContentFile fileName(String fileName)
The name of the file, used when passing the file to the model as a string.- Parameters:
fileName- The file name.- Returns:
- This instance.
-
-