|
名稱 |
類型 |
描述 |
樣本值 |
|---|---|---|---|
|
object |
body |
||
| type |
string |
原則範本類型。 |
K8S |
| enable |
boolean |
是否啟用。 |
false |
| aiFallbackConfig |
object |
AI 降級配置 |
|
| serviceConfigs |
array |
服務配置列表 |
|
|
object |
服務配置列表 |
||
| serviceId |
string |
服務 ID。 |
svc-d54fcbm****** |
| name |
string |
名稱。 |
174174482Z**** |
| targetModelName |
string |
目標模型名稱 |
gpt-4o |
| passThroughModelName |
boolean |
透傳模型名稱 |
true |
| onlyRedirectUpstreamCode |
boolean |
僅重新導向上遊編碼 |
true |
| routeEmbedded |
boolean |
是否內嵌路由 |
true |
| aiSecurityGuardConfig |
object |
AI 安全防護配置 |
|
| serviceAddress |
string |
服務地址 |
https://api.example.com/v1 |
| checkRequest |
boolean |
檢查請求 |
true |
| checkResponse |
boolean |
檢查響應 |
true |
| checkRequestImage |
boolean |
檢查請求中的映像 |
true |
| checkResponseImage |
boolean |
檢查響應中的映像 |
true |
| requestCheckService |
string |
請求檢查服務 |
content-moderation-service |
| responseCheckService |
string |
響應檢查服務 |
output-moderation-service |
| requestImageCheckService |
string |
請求映像檢查服務 |
image-moderation-service |
| responseImageCheckService |
string |
響應映像檢查服務 |
generated-image-scanner |
| riskAlertLevel |
string |
風險警示層級 |
low |
| riskConfig |
array |
風險配置 |
|
|
object |
風險配置 |
||
| type |
string |
外掛程式類型。 |
K8S |
| level |
string |
衝突等級 |
max |
| consumerRules |
object |
消費者規則 |
|
| pattern |
string |
匹配模式 |
/v1/chat/* |
| matchType |
string |
查詢匹配類型 |
All |
| bufferLimit |
integer |
緩衝區大小上限 |
1024 |
| pluginStatus |
object |
外掛程式目前狀態 |
|
| errorLogs |
object |
錯誤記錄檔列表 |
|
|
string |
錯誤記錄檔列表 |
Failed to connect to server |
|
| serviceHealthy |
boolean |
服務健康狀態 |
true |
| pluginId |
string |
外掛程式 ID |
pl-cvmuoiem1h****** |
| consumerRequestCheckService |
array |
消費者請求校正服務 |
|
|
object |
消費者請求校正服務 |
||
| name |
string |
服務名稱 |
oldUI-17590****** |
| requestCheckService |
string |
請求校正服務 |
rate-limit-check |
| requestImageCheckService |
string |
請求圖片校正服務 |
nsfw-image-detector |
| matchType |
string |
查詢匹配類型 |
all |
| modalityType |
string |
模態類型 |
text |
| consumerResponseCheckService |
array |
消費者響應校正服務 |
|
|
object |
消費者響應校正服務 |
||
| name |
string |
名稱 |
1744250****** |
| responseCheckService |
string |
響應校正服務 |
pii-redaction |
| responseImageCheckService |
string |
響應圖片校正服務 |
watermark-detector |
| matchType |
string |
查詢匹配類型 |
all |
| modalityType |
string |
模態類型 |
text |
| consumerRiskLevel |
array |
消費者風險等級 |
|
|
object |
消費者風險等級 |
||
| name |
string |
參數名稱。 |
1742090****** |
| matchType |
string |
查詢匹配類型 |
all |
| type |
string |
類型 |
K8S |
| level |
string |
衝突等級 |
max |
| aiTokenRateLimitConfig |
object |
AI 令牌速率限制配置 |
|
| rules |
array |
規則列表 |
|
|
object |
規則列表 |
||
| limitType |
string |
限流類型 |
fixed |
| matchKey |
string |
匹配鍵 |
user_id |
| matchType |
string |
查詢匹配類型 |
all |
| matchValue |
string |
匹配值 |
12345 |
| limitMode |
string |
限流模式 |
local |
| limitValue |
string |
限流值 |
100 |
| enableGlobalRules |
boolean |
啟用全域規則 |
true |
| globalRules |
array |
全域規則 |
|
|
object |
全域規則 |
||
| limitType |
string |
限流類型 |
fixed |
| matchKey |
string |
匹配鍵 |
user_id |
| matchType |
string |
查詢匹配類型 |
all |
| matchValue |
string |
匹配值 |
12345 |
| limitMode |
string |
限流模式 |
local |
| limitValue |
string |
限流值 |
100 |
| redisConfig |
object |
Redis 配置 |
|
| host |
string |
節點的 IP 位址。 |
0.0.0.0 |
| port |
integer |
連接埠號碼。 |
6379 |
| username |
string |
使用者名稱 |
root |
| password |
string |
密碼 |
****** |
| timeout |
integer |
健全狀態檢查響應逾時時間。單位:秒。 |
60 |
| databaseNumber |
integer |
資料庫連接數 |
1 |
| pluginStatus |
object |
外掛程式狀態。 |
|
| errorLogs |
object |
錯誤記錄檔 |
|
|
string |
錯誤記錄檔 |
auth-failed |
|
| serviceHealthy |
boolean |
服務健康狀態 |
true |
| pluginId |
string |
外掛程式 ID |
pl-cvmuoiem1h****** |
| aiCacheConfig |
object |
AI 緩衝配置 |
|
| cacheTTL |
integer |
緩衝存留時間(TTL) |
300 |
| redisConfig |
object |
Redis 配置 |
|
| host |
string |
節點的 IP 位址 |
0.0.0.0 |
| port |
integer |
連接埠號碼 |
6379 |
| username |
string |
使用者名稱 |
root |
| password |
string |
密碼。 |
****** |
| timeout |
integer |
健全狀態檢查響應逾時時間。單位:秒。 |
60 |
| databaseNumber |
integer |
資料庫連接數 |
1 |
| vectorConfig |
object |
向量配置 |
|
| type |
string |
類型 |
K8S |
| serviceHost |
string |
服務主機地址 |
localhost |
| apiKey |
string |
API Key |
sk-wRN****** |
| timeout |
integer |
健全狀態檢查響應逾時時間。單位:秒。 |
60 |
| collectionId |
string |
集合 ID |
col_12345 |
| threshold |
number |
閾值 |
100 |
| embeddingConfig |
object |
嵌入配置 |
|
| type |
string |
類型 |
K8S |
| serviceId |
string |
服務 ID |
svc-d5tgnoum1****** |
| timeout |
integer |
健全狀態檢查響應逾時時間。單位:秒。 |
60 |
| modelName |
string |
模型名稱 |
custom_model |
| cacheKeyStrategy |
string |
緩衝鍵策略 |
input-hash |
| cacheMode |
string |
緩衝模式 |
read-write |
| pluginStatus |
object |
外掛程式狀態。 |
|
| errorLogs |
object |
錯誤記錄檔 |
|
|
string |
錯誤記錄檔 |
timeout |
|
| serviceHealthy |
boolean |
服務健康狀態 |
true |
| pluginId |
string |
外掛程式 ID |
pl-d1selpem1h****** |
| aiNetworkSearchConfig |
object |
AI 網路搜尋配置 |
|
| needReference |
boolean |
是否需要引用 |
true |
| referenceFormat |
string |
引用格式 |
APA |
| referenceLocation |
string |
引用位置 |
end |
| defaultLang |
string |
預設語言 |
zh |
| defaultEnable |
boolean |
預設啟用 |
true |
| searchFrom |
array |
搜尋來源 |
|
|
object |
搜尋來源 |
||
| type |
string |
類型。 |
K8S |
| apiKey |
string |
API Key |
asdfjoY87-****** |
| count |
integer |
統計項數量 |
2 |
| start |
integer |
議程開始時間。 |
1740153600000 |
| timeoutMillisecond |
integer |
逾時時間 |
5000 |
| optionArgs |
object |
選擇性參數 |
|
|
string |
選擇性參數 |
temperature |
|
| endpoint |
string |
網關存取點。 |
******-hangzhou.aliyuncs.com |
| contentMode |
string |
內容模式 |
text |
| industry |
string |
執行個體行業類型 |
content |
| timeRange |
string |
時間範圍 |
last-7-days |
| searchEngineConfig |
object |
搜尋引擎配置 |
|
| type |
string |
外掛程式類型。 |
K8S |
| apiKey |
string |
API Key |
*** |
| count |
integer |
數量 |
2 |
| start |
integer |
開始時間 |
1741829226090 |
| timeoutMillisecond |
integer |
逾時時間 |
3000 |
| optionArgs |
object |
選擇性參數 |
|
|
string |
選擇性參數 |
temperature |
|
| endpoint |
string |
存取點 |
******-hangzhou.aliyuncs.com |
| contentMode |
string |
內容模式 |
text |
| industry |
string |
執行個體行業類型 |
content |
| timeRange |
string |
時間範圍 |
last-24h |
| searchRewrite |
object |
搜尋重寫 |
|
| enable |
boolean |
是否啟用 |
true |
| serviceId |
string |
服務 ID |
svc-cvj05lmm******* |
| modelName |
string |
模型名稱 |
aa |
| timeoutMillisecond |
integer |
逾時時間 |
2000 |
| maxCount |
integer |
最大數量 |
10 |
| pluginStatus |
object |
外掛程式狀態。 |
|
| errorLogs |
object |
錯誤記錄檔 |
|
|
string |
錯誤記錄檔 |
timeout |
|
| serviceHealthy |
boolean |
服務健康狀態 |
true |
| pluginId |
string |
外掛程式 ID |
pl-cvmuoiem1****** |
| aiToolSelectionConfig |
object |
AI 工具選擇配置 |
|
| enableConditions |
object |
啟用條件 |
|
| toolCountThreshold |
integer |
工具數量閾值 |
3 |
| toolReranking |
object |
工具重排序 |
|
| modelService |
object |
模型服務 |
|
| serviceId |
string |
服務 ID |
svc-cv21nj6m1hkk****** |
| modelName |
string |
模型名稱 |
custom_model |
| timeoutMillisecond |
integer |
逾時時間 |
3000 |
| filteringMethod |
string |
過濾方法 |
keyword |
| topKPercent |
integer |
前 K 百分比 |
0.1 |
| topNCount |
integer |
前 N 個數量 |
5 |
| scoreThreshold |
number |
分數閾值 |
0.5 |
| fallbackStrategy |
string |
回退策略 |
none |
| queryRewriting |
object |
查詢重寫 |
|
| enabled |
boolean |
是否開啟叢集審計日誌功能。
|
true |
| modelService |
object |
模型服務 |
|
| serviceId |
string |
服務 ID |
svc-d51m42um1****** |
| modelName |
string |
模型名稱 |
custom_image_embedding |
| timeoutMillisecond |
integer |
逾時時間 |
2000 |
| promptConfig |
object |
提示詞配置 |
|
| type |
string |
外掛程式類型。 |
K8S |
| customPrompt |
string |
抽取指令 |
略帶搞笑的語氣,編寫一段推廣語,提高閱讀興趣。 |
| maxOutputTokens |
integer |
最大輸出令牌數 |
256 |
| triggerConditions |
object |
觸發條件 |
|
| messageCountThreshold |
integer |
訊息數量閾值 |
5 |
| contextSelection |
object |
上下文選擇 |
|
| type |
string |
外掛程式類型。 |
K8S |
| value |
integer |
匹配值。 |
1 |
| fallbackStrategy |
string |
回退策略 |
none |
| pluginStatus |
object |
外掛程式狀態。 |
|
| errorLogs |
object |
錯誤記錄檔 |
|
|
string |
錯誤記錄檔 |
timeout |
|
| serviceHealthy |
boolean |
服務健康狀態 |
true |
| pluginId |
string |
外掛程式 ID |
pl-d4ijmu6m1hk****** |
| aiStatisticsConfig |
object |
AI 統計配置 |
|
| logRequestContent |
boolean |
記錄請求內容 |
true |
| logResponseContent |
boolean |
記錄響應內容 |
true |
| semanticRouterConfig |
object |
語義路由配置 |
|
| timeoutMillisecond |
integer |
逾時時間(毫秒) |
2000 |