程序包 io.agentscope.core.model
package io.agentscope.core.model
-
类说明Anthropic Chat Model implementation using the official Anthropic Java SDK.Builder for AnthropicChatModel.Abstract base class for all models in the AgentScope framework.Represents a chat completion response from a language model.Builder for creating ChatResponse instances.Represents token usage information for chat completion responses.Builder for creating ChatUsage instances.DashScope Chat Model using native HTTP API.Encryption utilities for secure DashScope API access.Exception thrown when encryption/decryption operations fail.HTTP client for DashScope API.Builder for DashScopeHttpClient.Exception thrown when DashScope HTTP operations fail.Result of fetching a public key from DashScope API.Enum representing the endpoint type for DashScope models.Unified execution configuration for timeout and retry behavior.Builder for ExecutionConfig.Gemini Chat Model implementation using the official Google GenAI Java SDK.Builder for creating GeminiChatModel instances.Immutable generation options for LLM models.Exception thrown when model operations fail.Utility class for common Model operations.AgentScope ChatModel implementation for Ollama.HTTP client for Ollama API.Builder for OllamaHttpClient.Exception thrown when Ollama HTTP operations fail.OpenAI Chat Model using native HTTP API.Builder for OpenAIChatModel.Stateless HTTP client for OpenAI-compatible APIs.Configuration for how to ensure the model calls generate_response tool in structured output mode.Represents the tool choice behavior for LLM model calls.Auto mode: Let the model decide whether and which tools to call.None mode: Prevent the model from calling any tools.Required mode: Force the model to call at least one tool.Specific mode: Force the model to call a specific tool by name.Immutable tool schema definition.Builder for creating ToolSchema instances.