Class ApiChatCompletionsRequestMessageContentFile
java.lang.Object
de.xima.fc.prompt.ms.impl.service.generic_oai.client.json.ApiChatCompletionsRequestMessageContentFile
File content for the chat completions message content.
- Since:
- 8.5.0
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new file content instance. -
Method Summary
Modifier and TypeMethodDescriptionfileData(FileContent fileData) The base64 encoded file data, used when passing the file to the model as a string.The ID of an uploaded file to use as input.The name of the file, used when passing the file to the model as a string.
-
Constructor Details
-
ApiChatCompletionsRequestMessageContentFile
public ApiChatCompletionsRequestMessageContentFile()Constructs a new file content instance.
-
-
Method Details
-
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
The ID of an uploaded file to use as input.- Parameters:
fileId- The file ID.- Returns:
- This instance.
-
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.
-