Class and Description |
---|
ChatResult
The response to the chat conversation.
|
GenerateTextResult
The generated text result to return.
|
Class and Description |
---|
AssistantMessage
Represents a single instance of assistant message.
|
AssistantMessage.Builder |
BaseChatRequest
The base class to use for the chat inference request.
|
BaseChatRequest.ApiFormat
The API format for the model’s request.
|
BaseChatResponse
The base class that creates the chat response.
|
BaseChatResponse.ApiFormat
The API format for the model’s response.
|
ChatChoice
Represents a single instance of the chat response.
|
ChatChoice.Builder |
ChatContent
The base class for the chat content.
|
ChatContent.Type
The type of the content.
|
ChatDetails
Details of the conversation for the model to respond.
|
ChatDetails.Builder |
ChatResult
The response to the chat conversation.
|
ChatResult.Builder |
Choice
Represents a single instance of the generated text.
|
Choice.Builder |
Citation
A section of the generated response which cites the documents that were used for generating the
response.
|
Citation.Builder |
CohereChatBotMessage
A message that represents a single chat dialog as CHATBOT role.
|
CohereChatBotMessage.Builder |
CohereChatRequest
Details for the chat request for Cohere models.
|
CohereChatRequest.Builder |
CohereChatRequest.CitationQuality
When FAST is selected, citations are generated at the same time as the text output and the
request will be completed sooner.
|
CohereChatRequest.PromptTruncation
Defaults to OFF.
|
CohereChatResponse
The response to the chat conversation.
|
CohereChatResponse.Builder |
CohereChatResponse.FinishReason
Why the generation stopped.
|
CohereLlmInferenceRequest
Details for the text generation request for Cohere models.
|
CohereLlmInferenceRequest.Builder |
CohereLlmInferenceRequest.ReturnLikelihoods
Specifies how and if the token likelihoods are returned with the response.
|
CohereLlmInferenceRequest.Truncate
For an input that’s longer than the maximum token length, specifies which part of the input
text will be truncated.
|
CohereLlmInferenceResponse
The generated text result to return.
|
CohereLlmInferenceResponse.Builder |
CohereMessage
A message that represents a single chat dialog.
|
CohereMessage.Role
To identify who the message is coming from, a role is associated to each message.
|
CohereParameterDefinition
A definition of tool parameter.
|
CohereParameterDefinition.Builder |
CohereSystemMessage
A message that represents a single chat dialog as SYSTEM role.
|
CohereSystemMessage.Builder |
CohereTool
A definition of tool (function).
|
CohereTool.Builder |
CohereToolCall
A tool call generated by the model.
|
CohereToolCall.Builder |
CohereToolMessage
A message that represents a single chat dialog as TOOL role.
|
CohereToolMessage.Builder |
CohereToolResult
The result from invoking tools recommended by the model in the previous chat turn.
|
CohereToolResult.Builder |
CohereUserMessage
A message that represents a single chat dialog as USER role.
|
CohereUserMessage.Builder |
DedicatedServingMode
The model’s serving mode is dedicated serving and has an endpoint on a dedicated AI cluster.
|
DedicatedServingMode.Builder |
EmbedTextDetails
Details for the request to embed texts.
|
EmbedTextDetails.Builder |
EmbedTextDetails.InputType
Specifies the input type.
|
EmbedTextDetails.Truncate
For an input that’s longer than the maximum token length, specifies which part of the input
text will be truncated.
|
EmbedTextResult
The generated embedded result to return.
|
EmbedTextResult.Builder |
GeneratedText
The text generated during each run.
|
GeneratedText.Builder |
GenerateTextDetails
Details for the request to generate text.
|
GenerateTextDetails.Builder |
GenerateTextResult
The generated text result to return.
|
GenerateTextResult.Builder |
GenericChatRequest
Details for the chat request.
|
GenericChatRequest.Builder |
GenericChatResponse
The response for a chat conversation.
|
GenericChatResponse.Builder |
LlamaLlmInferenceRequest
Details for the text generation request for Llama models.
|
LlamaLlmInferenceRequest.Builder |
LlamaLlmInferenceResponse
The generated text result to return.
|
LlamaLlmInferenceResponse.Builder |
LlmInferenceRequest
The base class for the inference requests.
|
LlmInferenceRequest.RuntimeType
The runtime of the provided model.
|
LlmInferenceResponse
The base class for inference responses.
|
LlmInferenceResponse.RuntimeType
The runtime of the provided model.
|
Logprobs
Includes the logarithmic probabilities for the most likely output tokens and the chosen tokens.
|
Logprobs.Builder |
Message
A message that represents a single chat dialog.
|
Message.Role
Indicates who is writing the current chat message.
|
OnDemandServingMode
The model’s serving mode is on-demand serving on a shared infrastructure.
|
OnDemandServingMode.Builder |
SearchQuery
The generated search query.
|
SearchQuery.Builder |
ServingMode
The model’s serving mode, which is either on-demand serving or dedicated serving.
|
ServingMode.ServingType
The serving mode type, which is either on-demand serving or dedicated serving.
|
SummarizeTextDetails
Details for the request to summarize text.
|
SummarizeTextDetails.Builder |
SummarizeTextDetails.Extractiveness
Controls how close to the original text the summary is.
|
SummarizeTextDetails.Format
Indicates the style in which the summary will be delivered - in a free form paragraph or in
bullet points.
|
SummarizeTextDetails.Length
Indicates the approximate length of the summary.
|
SummarizeTextResult
Summarize text result to return to caller.
|
SummarizeTextResult.Builder |
SystemMessage
Represents a single instance of system message.
|
SystemMessage.Builder |
TextContent
Represents a single instance of text in the chat content.
|
TextContent.Builder |
TokenLikelihood
An object that contains the returned token and its corresponding likelihood.
|
TokenLikelihood.Builder |
UserMessage
Represents a single instance of user message.
|
UserMessage.Builder |
Class and Description |
---|
ChatDetails
Details of the conversation for the model to respond.
|
EmbedTextDetails
Details for the request to embed texts.
|
GenerateTextDetails
Details for the request to generate text.
|
SummarizeTextDetails
Details for the request to summarize text.
|
Class and Description |
---|
ChatResult
The response to the chat conversation.
|
EmbedTextResult
The generated embedded result to return.
|
GenerateTextResult
The generated text result to return.
|
SummarizeTextResult
Summarize text result to return to caller.
|
Copyright © 2016–2024. All rights reserved.