Loading...
Loading...
Compare original and translation side by side
openAIanthropicawsBedrockTGxtSW50ZWdyYXRpb246MTI6YUJjRA==defaultproxy_with_headersbearer_tokenopenAIanthropicawsBedrockTGxtSW50ZWdyYXRpb246MTI6YUJjRA==defaultproxy_with_headersbearer_tokenaxaxax0.8.0axax0.8.0ax --version && echo "--- env ---" && if [ -n "$ARIZE_API_KEY" ]; then echo "ARIZE_API_KEY: (set)"; else echo "ARIZE_API_KEY: (not set)"; fi && echo "ARIZE_SPACE_ID: ${ARIZE_SPACE_ID:-(not set)}" && echo "--- profiles ---" && ax profiles show 2>&1ax --version; Write-Host "--- env ---"; Write-Host "ARIZE_API_KEY: $(if ($env:ARIZE_API_KEY) { '(set)' } else { '(not set)' })"; Write-Host "ARIZE_SPACE_ID: $env:ARIZE_SPACE_ID"; Write-Host "--- profiles ---"; ax profiles show 2>&1ax spaces list -o jsonax --version && echo "--- env ---" && if [ -n "$ARIZE_API_KEY" ]; then echo "ARIZE_API_KEY: (set)"; else echo "ARIZE_API_KEY: (not set)"; fi && echo "ARIZE_SPACE_ID: ${ARIZE_SPACE_ID:-(not set)}" && echo "--- profiles ---" && ax profiles show 2>&1ax --version; Write-Host "--- env ---"; Write-Host "ARIZE_API_KEY: $(if ($env:ARIZE_API_KEY) { '(set)' } else { '(not set)' })"; Write-Host "ARIZE_SPACE_ID: $env:ARIZE_SPACE_ID"; Write-Host "--- profiles ---"; ax profiles show 2>&1ax spaces list -o jsonax ai-integrations list --space-id SPACE_IDax ai-integrations list --space-id SPACE_ID --name "openai"undefinedax ai-integrations list --space-id SPACE_IDax ai-integrations list --space-id SPACE_ID --name "openai"undefined
**Key flags:**
| Flag | Description |
|------|-------------|
| `--space-id` | Space to list integrations in |
| `--name` | Case-insensitive substring filter on integration name |
| `--limit` | Max results (1–100, default 50) |
| `--cursor` | Pagination token from a previous response |
| `-o, --output` | Output format: `table` (default) or `json` |
**Response fields:**
| Field | Description |
|-------|-------------|
| `id` | Base64 integration ID — copy this for downstream commands |
| `name` | Human-readable name |
| `provider` | LLM provider enum (see Supported Providers below) |
| `has_api_key` | `true` if credentials are stored |
| `model_names` | Allowed model list, or `null` if all models are enabled |
| `enable_default_models` | Whether default models for this provider are allowed |
| `function_calling_enabled` | Whether tool/function calling is enabled |
| `auth_type` | Authentication method: `default`, `proxy_with_headers`, or `bearer_token` |
---
**关键参数:**
| 参数 | 描述 |
|------|-------------|
| `--space-id` | 要列出集成的空间ID |
| `--name` | 集成名称的不区分大小写子字符串过滤条件 |
| `--limit` | 最大结果数(1–100,默认50) |
| `--cursor` | 上一次响应返回的分页令牌 |
| `-o, --output` | 输出格式:`table`(默认)或`json` |
**响应字段:**
| 字段 | 描述 |
|-------|-------------|
| `id` | Base64编码的集成ID — 复制此ID用于后续命令 |
| `name` | 人类可读的名称 |
| `provider` | LLM提供商枚举值(见下方支持的提供商) |
| `has_api_key` | `true`表示已存储凭据 |
| `model_names` | 允许使用的模型列表,若为`null`则允许所有模型 |
| `enable_default_models` | 是否允许使用该提供商的默认模型列表 |
| `function_calling_enabled` | 是否启用工具/函数调用 |
| `auth_type` | 认证方式:`default`、`proxy_with_headers`或`bearer_token` |
---ax ai-integrations get INT_ID
ax ai-integrations get INT_ID -o jsonax ai-integrations get INT_ID
ax ai-integrations get INT_ID -o jsonax ai-integrations list --space-id SPACE_IDax ai-integrations list --space-id SPACE_IDax ai-integrations create \
--name "My OpenAI Integration" \
--provider openAI \
--api-key "sk-..."ax ai-integrations create \
--name "My OpenAI Integration" \
--provider openAI \
--api-key "sk-..."ax ai-integrations create \
--name "My Anthropic Integration" \
--provider anthropic \
--api-key "sk-ant-..."ax ai-integrations create \
--name "My Anthropic Integration" \
--provider anthropic \
--api-key "sk-ant-..."ax ai-integrations create \
--name "My Azure OpenAI Integration" \
--provider azureOpenAI \
--api-key "AZURE_API_KEY" \
--base-url "https://my-resource.openai.azure.com/"ax ai-integrations create \
--name "My Azure OpenAI Integration" \
--provider azureOpenAI \
--api-key "AZURE_API_KEY" \
--base-url "https://my-resource.openai.azure.com/"ax ai-integrations create \
--name "My Bedrock Integration" \
--provider awsBedrock \
--role-arn "arn:aws:iam::123456789012:role/ArizeBedrockRole"ax ai-integrations create \
--name "My Bedrock Integration" \
--provider awsBedrock \
--role-arn "arn:aws:iam::123456789012:role/ArizeBedrockRole"ax ai-integrations create \
--name "My Vertex AI Integration" \
--provider vertexAI \
--project-id "my-gcp-project" \
--location "us-central1"ax ai-integrations create \
--name "My Vertex AI Integration" \
--provider vertexAI \
--project-id "my-gcp-project" \
--location "us-central1"ax ai-integrations create \
--name "My Gemini Integration" \
--provider gemini \
--api-key "AIza..."ax ai-integrations create \
--name "My Gemini Integration" \
--provider gemini \
--api-key "AIza..."ax ai-integrations create \
--name "My NVIDIA NIM Integration" \
--provider nvidiaNim \
--api-key "nvapi-..." \
--base-url "https://integrate.api.nvidia.com/v1"ax ai-integrations create \
--name "My NVIDIA NIM Integration" \
--provider nvidiaNim \
--api-key "nvapi-..." \
--base-url "https://integrate.api.nvidia.com/v1"ax ai-integrations create \
--name "My Custom Integration" \
--provider custom \
--base-url "https://my-llm-proxy.example.com/v1" \
--api-key "optional-key-if-needed"ax ai-integrations create \
--name "My Custom Integration" \
--provider custom \
--base-url "https://my-llm-proxy.example.com/v1" \
--api-key "optional-key-if-needed"| Provider | Required extra flags |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| 提供商 | 必需的额外参数 |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| Flag | Description |
|---|---|
| Comma-separated list of allowed model names; omit to allow all models |
| Enable or disable the provider's default model list |
| Enable or disable tool/function calling support |
| 参数 | 描述 |
|---|---|
| 逗号分隔的允许使用的模型名称列表;省略则允许所有模型 |
| 启用或禁用提供商的默认模型列表 |
| 启用或禁用工具/函数调用支持 |
TGxtSW50ZWdyYXRpb246MTI6YUJjRA==ax ai-integrations list --space-id SPACE_ID -o jsonTGxtSW50ZWdyYXRpb246MTI6YUJjRA==ax ai-integrations list --space-id SPACE_ID -o json
---
---updateundefinedupdateundefined
Any flag accepted by `create` can be passed to `update`.
---
`create`命令接受的所有参数都可以传递给`update`。
---ax ai-integrations delete INT_ID --force--forceax ai-integrations delete INT_ID --force--force| Problem | Solution |
|---|---|
| See ax-setup.md |
| API key may not have access to this space. Verify key and space ID at https://app.arize.com/admin > API Keys |
| Run |
| Verify with |
| Credentials were not saved — re-run |
| Evaluator runs fail with LLM errors | Check integration credentials with |
| Cannot change provider after creation — delete and recreate with the correct provider |
| 问题 | 解决方案 |
|---|---|
| 查看ax-setup.md |
| API密钥可能无权访问此空间。在https://app.arize.com/admin > API Keys验证密钥和空间ID |
| 运行 |
| 使用 |
创建后 | 未保存凭据 — 重新运行 |
| 评估器运行时出现LLM错误 | 使用 |
| 创建后无法修改提供商 — 删除并重新创建正确提供商的集成 |
arize-evaluatorarize-experimentarize-evaluatorarize-experimentARIZE_API_KEYARIZE_SPACE_ID"Yes, save them""No thanks"ax profiles showax profiles createax profiles updateARIZE_API_KEYARIZE_SPACE_ID"是,保存""不用了,谢谢"ax profiles showax profiles createax profiles update