AiServiceConfig

更新时间:
复制为 MD 格式
名称类型描述示例值
object

结构体描述

providerstring

大模型提供商

qwen
addressstring

服务地址

https://dashscope.aliyun.com
enableHealthCheckboolean

是否启用健康检查

true
paiEASServiceConfigobject

PAI-EAS 服务专属配置

workspaceIdstring

工作空间 ID

cb89d4de30042df4459442589664e00d
serviceIdstring

服务 ID

svc-cvaeb0um1hkqp79k72v0
serviceNamestring

服务名称

auto-ai-service
endpointTypestring

连接类型:私网(vpc)/公网(public)

"public","private"
bedrockServiceConfigobject

Bedrock 服务专属配置

awsRegionstring

AWS 区域

us-east-1
awsAccessKeystring

AWS 访问密钥

AKIAIOSFODNN7EXAMPLE
awsSecretKeystring

AWS 密钥

wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
ApiKeyGenerateModestring

API 密钥的生成模式

Custom
defaultModelNamestring

默认使用的模型名称

gpt-4
enableOutlierDetectionboolean

是否启用异常值检测功能

true
vertexServiceConfigobject

Vertex AI 服务的配置信息

vertexAuthKeystring

Vertex AI 的认证密钥

{\"type\":\"service_account\",\"project_id\":\"my-project\",\"private_key\":\"-----BEGIN PRIVATE KEY-----...\",\"client_email\":\"xxx@xxx.iam.gserviceaccount.com\",\"token_uri\":\"https://oauth2.googleapis.com/token\"}
vertexRegionstring

Vertex AI 服务所在的 Google Cloud 区域

us-central1
vertexProjectIdstring

Google Cloud 项目 ID

my-project
vertexAuthServiceNamestring

Vertex AI 使用的认证服务名称

google-oauth2
geminiSafetySettingobject

Gemini 模型的安全过滤级别设置

string

参数

{"BLOCK_NONE": "true"}
vertexTokenRefreshAheadinteger

在访问令牌过期前多少秒提前刷新

300
protocolsarray

模型协议列表

string

协议。

OpenAI/v1
apiKeysarray

apiKey 列表

string

apiKey

sk-xxx
compatibleProtocolsarray

服务支持的兼容协议列表

string

参数

"openai", "anthropic"