# Functions
GetBaseChatRequestApiFormatEnumStringValues Enumerates the set of values in String for BaseChatRequestApiFormatEnum.
GetBaseChatRequestApiFormatEnumValues Enumerates the set of values for BaseChatRequestApiFormatEnum.
GetBaseChatResponseApiFormatEnumStringValues Enumerates the set of values in String for BaseChatResponseApiFormatEnum.
GetBaseChatResponseApiFormatEnumValues Enumerates the set of values for BaseChatResponseApiFormatEnum.
GetChatContentTypeEnumStringValues Enumerates the set of values in String for ChatContentTypeEnum.
GetChatContentTypeEnumValues Enumerates the set of values for ChatContentTypeEnum.
GetCohereChatRequestCitationQualityEnumStringValues Enumerates the set of values in String for CohereChatRequestCitationQualityEnum.
GetCohereChatRequestCitationQualityEnumValues Enumerates the set of values for CohereChatRequestCitationQualityEnum.
GetCohereChatRequestPromptTruncationEnumStringValues Enumerates the set of values in String for CohereChatRequestPromptTruncationEnum.
GetCohereChatRequestPromptTruncationEnumValues Enumerates the set of values for CohereChatRequestPromptTruncationEnum.
GetCohereChatResponseFinishReasonEnumStringValues Enumerates the set of values in String for CohereChatResponseFinishReasonEnum.
GetCohereChatResponseFinishReasonEnumValues Enumerates the set of values for CohereChatResponseFinishReasonEnum.
GetCohereLlmInferenceRequestReturnLikelihoodsEnumStringValues Enumerates the set of values in String for CohereLlmInferenceRequestReturnLikelihoodsEnum.
GetCohereLlmInferenceRequestReturnLikelihoodsEnumValues Enumerates the set of values for CohereLlmInferenceRequestReturnLikelihoodsEnum.
GetCohereLlmInferenceRequestTruncateEnumStringValues Enumerates the set of values in String for CohereLlmInferenceRequestTruncateEnum.
GetCohereLlmInferenceRequestTruncateEnumValues Enumerates the set of values for CohereLlmInferenceRequestTruncateEnum.
GetCohereMessageRoleEnumStringValues Enumerates the set of values in String for CohereMessageRoleEnum.
GetCohereMessageRoleEnumValues Enumerates the set of values for CohereMessageRoleEnum.
GetCohereResponseFormatTypeEnumStringValues Enumerates the set of values in String for CohereResponseFormatTypeEnum.
GetCohereResponseFormatTypeEnumValues Enumerates the set of values for CohereResponseFormatTypeEnum.
GetEmbedTextDetailsInputTypeEnumStringValues Enumerates the set of values in String for EmbedTextDetailsInputTypeEnum.
GetEmbedTextDetailsInputTypeEnumValues Enumerates the set of values for EmbedTextDetailsInputTypeEnum.
GetEmbedTextDetailsTruncateEnumStringValues Enumerates the set of values in String for EmbedTextDetailsTruncateEnum.
GetEmbedTextDetailsTruncateEnumValues Enumerates the set of values for EmbedTextDetailsTruncateEnum.
GetImageUrlDetailEnumStringValues Enumerates the set of values in String for ImageUrlDetailEnum.
GetImageUrlDetailEnumValues Enumerates the set of values for ImageUrlDetailEnum.
GetLlmInferenceRequestRuntimeTypeEnumStringValues Enumerates the set of values in String for LlmInferenceRequestRuntimeTypeEnum.
GetLlmInferenceRequestRuntimeTypeEnumValues Enumerates the set of values for LlmInferenceRequestRuntimeTypeEnum.
GetLlmInferenceResponseRuntimeTypeEnumStringValues Enumerates the set of values in String for LlmInferenceResponseRuntimeTypeEnum.
GetLlmInferenceResponseRuntimeTypeEnumValues Enumerates the set of values for LlmInferenceResponseRuntimeTypeEnum.
GetMappingBaseChatRequestApiFormatEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingBaseChatResponseApiFormatEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingChatContentTypeEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingCohereChatRequestCitationQualityEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingCohereChatRequestPromptTruncationEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingCohereChatResponseFinishReasonEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingCohereLlmInferenceRequestReturnLikelihoodsEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingCohereLlmInferenceRequestTruncateEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingCohereMessageRoleEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingCohereResponseFormatTypeEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingEmbedTextDetailsInputTypeEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingEmbedTextDetailsTruncateEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingImageUrlDetailEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingLlmInferenceRequestRuntimeTypeEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingLlmInferenceResponseRuntimeTypeEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingMessageRoleEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingServingModeServingTypeEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingSummarizeTextDetailsExtractivenessEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingSummarizeTextDetailsFormatEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingSummarizeTextDetailsLengthEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingToolCallTypeEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingToolChoiceTypeEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMappingToolDefinitionTypeEnum performs case Insensitive comparison on enum value and return the desired enum.
GetMessageRoleEnumStringValues Enumerates the set of values in String for MessageRoleEnum.
GetMessageRoleEnumValues Enumerates the set of values for MessageRoleEnum.
GetServingModeServingTypeEnumStringValues Enumerates the set of values in String for ServingModeServingTypeEnum.
GetServingModeServingTypeEnumValues Enumerates the set of values for ServingModeServingTypeEnum.
GetSummarizeTextDetailsExtractivenessEnumStringValues Enumerates the set of values in String for SummarizeTextDetailsExtractivenessEnum.
GetSummarizeTextDetailsExtractivenessEnumValues Enumerates the set of values for SummarizeTextDetailsExtractivenessEnum.
GetSummarizeTextDetailsFormatEnumStringValues Enumerates the set of values in String for SummarizeTextDetailsFormatEnum.
GetSummarizeTextDetailsFormatEnumValues Enumerates the set of values for SummarizeTextDetailsFormatEnum.
GetSummarizeTextDetailsLengthEnumStringValues Enumerates the set of values in String for SummarizeTextDetailsLengthEnum.
GetSummarizeTextDetailsLengthEnumValues Enumerates the set of values for SummarizeTextDetailsLengthEnum.
GetToolCallTypeEnumStringValues Enumerates the set of values in String for ToolCallTypeEnum.
GetToolCallTypeEnumValues Enumerates the set of values for ToolCallTypeEnum.
GetToolChoiceTypeEnumStringValues Enumerates the set of values in String for ToolChoiceTypeEnum.
GetToolChoiceTypeEnumValues Enumerates the set of values for ToolChoiceTypeEnum.
GetToolDefinitionTypeEnumStringValues Enumerates the set of values in String for ToolDefinitionTypeEnum.
GetToolDefinitionTypeEnumValues Enumerates the set of values for ToolDefinitionTypeEnum.
NewGenerativeAiInferenceClientWithConfigurationProvider Creates a new default GenerativeAiInference client with the given configuration provider.
NewGenerativeAiInferenceClientWithOboToken Creates a new default GenerativeAiInference client with the given configuration provider.
# Constants
Set of constants representing the allowable values for BaseChatRequestApiFormatEnum.
Set of constants representing the allowable values for BaseChatRequestApiFormatEnum.
Set of constants representing the allowable values for BaseChatResponseApiFormatEnum.
Set of constants representing the allowable values for BaseChatResponseApiFormatEnum.
Set of constants representing the allowable values for ChatContentTypeEnum.
Set of constants representing the allowable values for ChatContentTypeEnum.
Set of constants representing the allowable values for CohereChatRequestCitationQualityEnum.
Set of constants representing the allowable values for CohereChatRequestCitationQualityEnum.
Set of constants representing the allowable values for CohereChatRequestPromptTruncationEnum.
Set of constants representing the allowable values for CohereChatRequestPromptTruncationEnum.
Set of constants representing the allowable values for CohereChatResponseFinishReasonEnum.
Set of constants representing the allowable values for CohereChatResponseFinishReasonEnum.
Set of constants representing the allowable values for CohereChatResponseFinishReasonEnum.
Set of constants representing the allowable values for CohereChatResponseFinishReasonEnum.
Set of constants representing the allowable values for CohereChatResponseFinishReasonEnum.
Set of constants representing the allowable values for CohereChatResponseFinishReasonEnum.
Set of constants representing the allowable values for CohereLlmInferenceRequestReturnLikelihoodsEnum.
Set of constants representing the allowable values for CohereLlmInferenceRequestReturnLikelihoodsEnum.
Set of constants representing the allowable values for CohereLlmInferenceRequestReturnLikelihoodsEnum.
Set of constants representing the allowable values for CohereLlmInferenceRequestTruncateEnum.
Set of constants representing the allowable values for CohereLlmInferenceRequestTruncateEnum.
Set of constants representing the allowable values for CohereLlmInferenceRequestTruncateEnum.
Set of constants representing the allowable values for CohereMessageRoleEnum.
Set of constants representing the allowable values for CohereMessageRoleEnum.
Set of constants representing the allowable values for CohereMessageRoleEnum.
Set of constants representing the allowable values for CohereMessageRoleEnum.
Set of constants representing the allowable values for CohereResponseFormatTypeEnum.
Set of constants representing the allowable values for CohereResponseFormatTypeEnum.
Set of constants representing the allowable values for EmbedTextDetailsInputTypeEnum.
Set of constants representing the allowable values for EmbedTextDetailsInputTypeEnum.
Set of constants representing the allowable values for EmbedTextDetailsInputTypeEnum.
Set of constants representing the allowable values for EmbedTextDetailsInputTypeEnum.
Set of constants representing the allowable values for EmbedTextDetailsInputTypeEnum.
Set of constants representing the allowable values for EmbedTextDetailsTruncateEnum.
Set of constants representing the allowable values for EmbedTextDetailsTruncateEnum.
Set of constants representing the allowable values for EmbedTextDetailsTruncateEnum.
Set of constants representing the allowable values for ImageUrlDetailEnum.
Set of constants representing the allowable values for ImageUrlDetailEnum.
Set of constants representing the allowable values for ImageUrlDetailEnum.
Set of constants representing the allowable values for LlmInferenceRequestRuntimeTypeEnum.
Set of constants representing the allowable values for LlmInferenceRequestRuntimeTypeEnum.
Set of constants representing the allowable values for LlmInferenceResponseRuntimeTypeEnum.
Set of constants representing the allowable values for LlmInferenceResponseRuntimeTypeEnum.
Set of constants representing the allowable values for MessageRoleEnum.
Set of constants representing the allowable values for MessageRoleEnum.
Set of constants representing the allowable values for MessageRoleEnum.
Set of constants representing the allowable values for MessageRoleEnum.
Set of constants representing the allowable values for ServingModeServingTypeEnum.
Set of constants representing the allowable values for ServingModeServingTypeEnum.
Set of constants representing the allowable values for SummarizeTextDetailsExtractivenessEnum.
Set of constants representing the allowable values for SummarizeTextDetailsExtractivenessEnum.
Set of constants representing the allowable values for SummarizeTextDetailsExtractivenessEnum.
Set of constants representing the allowable values for SummarizeTextDetailsExtractivenessEnum.
Set of constants representing the allowable values for SummarizeTextDetailsFormatEnum.
Set of constants representing the allowable values for SummarizeTextDetailsFormatEnum.
Set of constants representing the allowable values for SummarizeTextDetailsFormatEnum.
Set of constants representing the allowable values for SummarizeTextDetailsLengthEnum.
Set of constants representing the allowable values for SummarizeTextDetailsLengthEnum.
Set of constants representing the allowable values for SummarizeTextDetailsLengthEnum.
Set of constants representing the allowable values for SummarizeTextDetailsLengthEnum.
Set of constants representing the allowable values for ToolCallTypeEnum.
Set of constants representing the allowable values for ToolChoiceTypeEnum.
Set of constants representing the allowable values for ToolChoiceTypeEnum.
Set of constants representing the allowable values for ToolChoiceTypeEnum.
Set of constants representing the allowable values for ToolChoiceTypeEnum.
Set of constants representing the allowable values for ToolDefinitionTypeEnum.
# Structs
AssistantMessage Represents a single instance of assistant message.
ChatChoice Represents a single instance of the chat response.
ChatDetails Details of the conversation for the model to respond.
ChatRequest wrapper for the Chat operation
# See also
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaiinference/Chat.go.html to see an example of how to use ChatRequest.
ChatResponse wrapper for the Chat operation.
ChatResult The response to the chat conversation.
Choice Represents a single instance of the generated text.
Citation A section of the generated response which cites the documents that were used for generating the response.
CohereChatBotMessage A message that represents a single chat dialog as CHATBOT role.
CohereChatRequest Details for the chat request for Cohere models.
CohereChatResponse The response to the chat conversation.
CohereLlmInferenceRequest Details for the text generation request for Cohere models.
CohereLlmInferenceResponse The generated text result to return.
CohereParameterDefinition A definition of tool parameter.
CohereResponseJsonFormat The json object format for the model structured output.
CohereResponseTextFormat The text format for cohere model response.
CohereSystemMessage A message that represents a single chat dialog as SYSTEM role.
CohereTool A definition of tool (function).
CohereToolCall A tool call generated by the model.
CohereToolMessage A message that represents a single chat dialog as TOOL role.
CohereToolResult The result from invoking tools recommended by the model in the previous chat turn.
CohereUserMessage A message that represents a single chat dialog as USER role.
DedicatedServingMode The model's serving mode is dedicated serving and has an endpoint on a dedicated AI cluster.
Document The input of the document to rerank.
DocumentRank An object that contains a relevance score, an index and the text for a document.
EmbedTextDetails Details for the request to embed texts.
EmbedTextRequest wrapper for the EmbedText operation
# See also
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaiinference/EmbedText.go.html to see an example of how to use EmbedTextRequest.
EmbedTextResponse wrapper for the EmbedText operation.
EmbedTextResult The generated embedded result to return.
FunctionCall The function call generated by the model.
FunctionDefinition A function the model may call.
GeneratedText The text generated during each run.
GenerateTextDetails Details for the request to generate text.
GenerateTextRequest wrapper for the GenerateText operation
# See also
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaiinference/GenerateText.go.html to see an example of how to use GenerateTextRequest.
GenerateTextResponse wrapper for the GenerateText operation.
GenerateTextResult The generated text result to return.
GenerativeAiInferenceClient a client for GenerativeAiInference.
GenericChatRequest Details for the chat request.
GenericChatResponse The response for a chat conversation.
ImageContent Represents a single instance of chat image content.
ImageUrl Provide a base64 encoded image.
LlamaLlmInferenceRequest Details for the text generation request for Llama models.
LlamaLlmInferenceResponse The generated text result to return.
Logprobs Includes the logarithmic probabilities for the most likely output tokens and the chosen tokens.
OnDemandServingMode The model's serving mode is on-demand serving on a shared infrastructure.
RerankTextDetails Details required for a rerank request.
RerankTextRequest wrapper for the RerankText operation
# See also
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaiinference/RerankText.go.html to see an example of how to use RerankTextRequest.
RerankTextResponse wrapper for the RerankText operation.
RerankTextResult The rerank response to return to the caller.
SearchQuery The generated search query.
SummarizeTextDetails Details for the request to summarize text.
SummarizeTextRequest wrapper for the SummarizeText operation
# See also
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/generativeaiinference/SummarizeText.go.html to see an example of how to use SummarizeTextRequest.
SummarizeTextResponse wrapper for the SummarizeText operation.
SummarizeTextResult Summarize text result to return to caller.
SystemMessage Represents a single instance of system message.
TextContent Represents a single instance of text in the chat content.
TokenLikelihood An object that contains the returned token and its corresponding likelihood.
ToolChoiceAuto The model can pick between generating a message or calling one or more tools.
ToolChoiceFunction The tool choice for a function.
ToolChoiceNone The model will not call any tool and instead generates a message.
ToolChoiceRequired The model must call one or more tools.
ToolMessage Represents a single instance of tool message.
UserMessage Represents a single instance of user message.
# Interfaces
BaseChatRequest The base class to use for the chat inference request.
BaseChatResponse The base class that creates the chat response.
ChatContent The base class for the chat content.
CohereMessage A message that represents a single chat dialog.
CohereResponseFormat Specify the format the model output is guaranteed to be of.
LlmInferenceRequest The base class for the inference requests.
LlmInferenceResponse The base class for inference responses.
Message A message that represents a single chat dialog.
ServingMode The model's serving mode, which is either on-demand serving or dedicated serving.
ToolCall The tool call generated by the model, such as function call.
ToolChoice The tool choice for a tool.
ToolDefinition A tool the model may call.
# Type aliases
BaseChatRequestApiFormatEnum Enum with underlying type: string.
BaseChatResponseApiFormatEnum Enum with underlying type: string.
ChatContentTypeEnum Enum with underlying type: string.
CohereChatRequestCitationQualityEnum Enum with underlying type: string.
CohereChatRequestPromptTruncationEnum Enum with underlying type: string.
CohereChatResponseFinishReasonEnum Enum with underlying type: string.
CohereLlmInferenceRequestReturnLikelihoodsEnum Enum with underlying type: string.
CohereLlmInferenceRequestTruncateEnum Enum with underlying type: string.
CohereMessageRoleEnum Enum with underlying type: string.
CohereResponseFormatTypeEnum Enum with underlying type: string.
EmbedTextDetailsInputTypeEnum Enum with underlying type: string.
EmbedTextDetailsTruncateEnum Enum with underlying type: string.
ImageUrlDetailEnum Enum with underlying type: string.
LlmInferenceRequestRuntimeTypeEnum Enum with underlying type: string.
LlmInferenceResponseRuntimeTypeEnum Enum with underlying type: string.
MessageRoleEnum Enum with underlying type: string.
ServingModeServingTypeEnum Enum with underlying type: string.
SummarizeTextDetailsExtractivenessEnum Enum with underlying type: string.
SummarizeTextDetailsFormatEnum Enum with underlying type: string.
SummarizeTextDetailsLengthEnum Enum with underlying type: string.
ToolCallTypeEnum Enum with underlying type: string.
ToolChoiceTypeEnum Enum with underlying type: string.
ToolDefinitionTypeEnum Enum with underlying type: string.