包package
io.agentscope.extensions.model.openai.exceptionio.agentscope.extensions.model.openai.exception
package io.agentscope.extensions.model.openai.exception
io.agentscope.extensions.model.openai.exception 属于模型与向量化,大模型接入、凭证与嵌入。 该包共收录 8 个公开类型。
io.agentscope.extensions.model.openai.exception belongs to the Models & embeddings layer and contains 8 public types.
类Classes
| 类型Type | 种类Kind | 说明Description |
|---|---|---|
AuthenticationException | 类class | Authentication 异常,表示执行过程中的错误。 Exception thrown when authentication fails (HTTP 401). |
BadRequestException | 类class | Bad 请求异常,表示执行过程中的错误。 Exception thrown when the request is malformed (HTTP 400). |
InternalServerException | 类class | 内部服务端异常,表示执行过程中的错误。 Exception thrown when the server encounters an internal error (HTTP 5xx). |
NotFoundException | 类class | 未找到异常,表示执行过程中的错误。 Exception thrown when the requested resource is not found (HTTP 404). |
OpenAIException | 类class | 用于所有 OpenAI API 错误的基类异常。 Base exception for all OpenAI API errors. |
PermissionDeniedException | 类class | 权限已拒绝异常,表示执行过程中的错误。 Exception thrown when permission is denied (HTTP 403). |
RateLimitException | 类class | 速率限制异常,表示执行过程中的错误。 Exception thrown when rate limits are exceeded (HTTP 429). |
UnprocessableEntityException | 类class | Unprocessable Entity 异常,表示执行过程中的错误。 Exception thrown when the request is well-formed but semantically incorrect (HTTP 422). |