枚举类的使用
io.agentscope.core.model.EndpointType
使用EndpointType的程序包
-
io.agentscope.core.formatter.dashscope.dto中EndpointType的使用
修饰符和类型方法说明DashScopeRequest.Builder.endpointType(EndpointType endpointType) Sets the endpoint type for endpoint selection.voidDashScopeRequest.setEndpointType(EndpointType endpointType) Sets the endpoint type for endpoint selection. -
io.agentscope.core.model中EndpointType的使用
修饰符和类型方法说明static EndpointType返回带有指定名称的该类的枚举常量。static EndpointType[]EndpointType.values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同参数类型为EndpointType的io.agentscope.core.model中的方法修饰符和类型方法说明DashScopeChatModel.Builder.endpointType(EndpointType endpointType) Sets the endpoint type to use for endpoint routing.booleanDashScopeHttpClient.requiresMultimodalApi(String modelName, EndpointType endpointType) Check if a model requires the multimodal API based on the specified endpoint type.DashScopeHttpClient.selectEndpoint(String modelName, EndpointType endpointType) Select the appropriate API endpoint based on model name and endpoint type.参数类型为EndpointType的io.agentscope.core.model中的构造器限定符构造器说明DashScopeChatModel(String apiKey, String modelName, boolean stream, Boolean enableThinking, Boolean enableSearch, EndpointType endpointType, GenerateOptions defaultOptions, String baseUrl, Formatter<DashScopeMessage, DashScopeResponse, DashScopeRequest> formatter, HttpTransport httpTransport, String publicKeyId, String publicKey) Creates a new DashScope chat model instance with explicit API type.