Package com.alibaba.cloud.ai.dashscope.spec
package com.alibaba.cloud.ai.dashscope.spec
-
ClassDescriptionRepresents a chat completion response returned by model, based on the provided input.Represents a chat completion response returned by model, based on the provided input.The reason the model stopped generating tokens.Message comprising the conversation.The function definition.An array of content parts with a defined type.The role of the author of this message.The relevant tool call.Represents a chat completion response returned by model, based on the provided input.Chat completion choice.Creates a model response for the given chat conversation.Request input of chatCreates a model response for the given chat conversation.Helper factory that creates a tool_choice of type 'none', 'auto' or selected function by name.Error response class in streaming responses.Creates an embedding vector representing the input text.Represents a tool the model may call.Function definition.Create a tool of type 'function' and the given function definition.OCR recognizes parameter configuration, where task is the built-in task name, and the supported options are: "text_recognition": general text recognition "key_information_extraction": information extraction "document_parsing": document parsing "table_parsing": table parsing "formula_recognition": formula recognition "multi_lan": multilingual recognition taskConfig is (optional) Used when the built-in task task is "key_information_extraction".Represents rerank request information.Represents dashscope rerank request inputRepresents rerank request parameters.Represents rerank responseRepresents rerank response outputRepresents rerank output resultUsage statistics for the completion request.Translation parameters that need to be configured when you use the translation model TranslationMemory A pair of statements representing the source and target languages in translation memory。 Term Terminology pairs representing source and target languagesData center.Video generation request.Video input parameters.Video generation parameters.Video generation response.Video output.Spring AI Alibaba DashScope implements all models that support the dashscope platform, and only the Qwen series models are listed here.