Package de.xima.fc.prompt.ms.impl.service.generic_oai.client.json
package de.xima.fc.prompt.ms.impl.service.generic_oai.client.json
Internal package containing the model classes for the JSON request and response payloads for the generic OAI REST
API. Uses Jackson to serialize and deserialize the JSON data.
- Since:
- 8.5.0
-
ClassesClassDescriptionDeveloper-provided instructions that the model should follow, regardless of messages sent by the user.A function message with the results of a function call.Developer-provided instructions that the model should follow, regardless of messages sent by the user.A tool message with the results of a tool call.Messages sent by an end user, containing prompts or additional context information.Audio content for the message.File content for the message.Image content for the message.Text content for the message.File content for the chat completions message content.An image URL content for the chat completions message content.Audio input content for the chat completions message content.Represents the response format for chat completions.JSON object response format.JSON schema response format.Plain text response format.Represents the JSON schema for the response format in chat completions.Represents a chat completion response returned by model, based on the provided input.A chat completion choices returned by the chat completion endpoint.Log probability information for the choice.A token and its log probability.Content tokens with log probability information.A chat completion message generated by the model.Annotations for the message, when applicable, as when using the web search tool.A URL citation when using web search.If the audio output modality is requested, this object contains data about the audio response from the model.A tool call generated by the model, such as a function call.A call to a custom tool created by the model.A call to a function tool created by the model.A call to a custom tool created by the model.The function that the model called.Usage statistics for the completion request.Breakdown of tokens used in a completion.Breakdown of tokens used in the prompt.A single model that can be used when prompting.Deserializer for
FileContentthat reads the data from a base64 encoded string in the JSON.Serializer forFileContentthat encodes the content as a base64 URL, i.e.Serializer forStringthat assumes the string already represents a valid JSON string.