@yuntijs/arcadia-bff-sdk 1.2.96 → 1.2.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/sdk.d.ts +8 -0
- package/dist/cjs/sdk.js +3 -0
- package/dist/esm/sdk.d.ts +8 -0
- package/dist/esm/sdk.js +1 -1
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -119,6 +119,9 @@ export type Agent = {
|
|
|
119
119
|
plugins?: Maybe<Array<Maybe<Plugin>>>;
|
|
120
120
|
/** 对话开场白 */
|
|
121
121
|
prologue?: Maybe<Scalars['String']['output']>;
|
|
122
|
+
rerankerModel?: Maybe<Scalars['String']['output']>;
|
|
123
|
+
rerankerName?: Maybe<Scalars['String']['output']>;
|
|
124
|
+
rerankerNamespace?: Maybe<Scalars['String']['output']>;
|
|
122
125
|
/** scoreThreshold 最终返回结果的最低相似度 */
|
|
123
126
|
scoreThreshold?: Maybe<Scalars['Float']['output']>;
|
|
124
127
|
/**
|
|
@@ -3248,6 +3251,8 @@ export type UpdateAgentPromptInput = {
|
|
|
3248
3251
|
userPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
3249
3252
|
};
|
|
3250
3253
|
export type UpdateAgentRerankerInput = {
|
|
3254
|
+
/** 选择的模型 */
|
|
3255
|
+
model?: InputMaybe<Scalars['String']['input']>;
|
|
3251
3256
|
/**
|
|
3252
3257
|
* 应用名称, 用于确定要更新哪个应用
|
|
3253
3258
|
* 规则: 遵循 k8s 命名
|
|
@@ -4115,6 +4120,9 @@ export type GetAgentQuery = {
|
|
|
4115
4120
|
systemPrompt?: string | null;
|
|
4116
4121
|
showRetrievalInfo?: boolean | null;
|
|
4117
4122
|
showNextGuide?: boolean | null;
|
|
4123
|
+
rerankerModel?: string | null;
|
|
4124
|
+
rerankerName?: string | null;
|
|
4125
|
+
rerankerNamespace?: string | null;
|
|
4118
4126
|
metadata?: {
|
|
4119
4127
|
__typename?: 'AgentMetadata';
|
|
4120
4128
|
name: string;
|
package/dist/cjs/sdk.js
CHANGED
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -119,6 +119,9 @@ export type Agent = {
|
|
|
119
119
|
plugins?: Maybe<Array<Maybe<Plugin>>>;
|
|
120
120
|
/** 对话开场白 */
|
|
121
121
|
prologue?: Maybe<Scalars['String']['output']>;
|
|
122
|
+
rerankerModel?: Maybe<Scalars['String']['output']>;
|
|
123
|
+
rerankerName?: Maybe<Scalars['String']['output']>;
|
|
124
|
+
rerankerNamespace?: Maybe<Scalars['String']['output']>;
|
|
122
125
|
/** scoreThreshold 最终返回结果的最低相似度 */
|
|
123
126
|
scoreThreshold?: Maybe<Scalars['Float']['output']>;
|
|
124
127
|
/**
|
|
@@ -3248,6 +3251,8 @@ export type UpdateAgentPromptInput = {
|
|
|
3248
3251
|
userPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
3249
3252
|
};
|
|
3250
3253
|
export type UpdateAgentRerankerInput = {
|
|
3254
|
+
/** 选择的模型 */
|
|
3255
|
+
model?: InputMaybe<Scalars['String']['input']>;
|
|
3251
3256
|
/**
|
|
3252
3257
|
* 应用名称, 用于确定要更新哪个应用
|
|
3253
3258
|
* 规则: 遵循 k8s 命名
|
|
@@ -4115,6 +4120,9 @@ export type GetAgentQuery = {
|
|
|
4115
4120
|
systemPrompt?: string | null;
|
|
4116
4121
|
showRetrievalInfo?: boolean | null;
|
|
4117
4122
|
showNextGuide?: boolean | null;
|
|
4123
|
+
rerankerModel?: string | null;
|
|
4124
|
+
rerankerName?: string | null;
|
|
4125
|
+
rerankerNamespace?: string | null;
|
|
4118
4126
|
metadata?: {
|
|
4119
4127
|
__typename?: 'AgentMetadata';
|
|
4120
4128
|
name: string;
|
package/dist/esm/sdk.js
CHANGED
|
@@ -174,7 +174,7 @@ export var GenerateAgentSystemPromptDocument = gql(_templateObject14 || (_templa
|
|
|
174
174
|
export var GenerateAgentPrologueDocument = gql(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n mutation generateAgentPrologue($namespacedname: String!, $currentPrologue: String!) {\n Agent {\n generateAgentPrologue(\n namespacedname: $namespacedname\n currentPrologue: $currentPrologue\n )\n }\n}\n "])));
|
|
175
175
|
export var GeneratesAgentUserPromptDocument = gql(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n mutation generatesAgentUserPrompt($namespacedname: String!) {\n Agent {\n generatesAgentUserPrompt(namespacedname: $namespacedname)\n }\n}\n "])));
|
|
176
176
|
export var GetAgentReleaseStatusDocument = gql(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n query getAgentReleaseStatus($name: String!, $namespace: String!) {\n Agent {\n getAgent(name: $name, namespace: $namespace) {\n metadata {\n name\n namespace\n platformStatus\n platforms {\n icon\n name\n displayName\n }\n }\n }\n }\n}\n "])));
|
|
177
|
-
export var GetAgentDocument = gql(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n query getAgent($name: String!, $namespace: String!) {\n Agent {\n getAgent(name: $name, namespace: $namespace) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n background\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n isRecommended\n status\n category\n notReadyReasonCode\n platformStatus\n platforms {\n icon\n name\n displayName\n }\n }\n prologue\n model\n llm {\n name\n namespace\n kind\n apiGroup\n }\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebases {\n name\n namespace\n }\n onDemand\n searchMode\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n systemPrompt\n showRetrievalInfo\n showNextGuide\n plugins {\n name\n namespace\n }\n workflows {\n name\n namespace\n }\n audioConfig {\n ttsReferenceID\n }\n }\n }\n}\n "])));
|
|
177
|
+
export var GetAgentDocument = gql(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n query getAgent($name: String!, $namespace: String!) {\n Agent {\n getAgent(name: $name, namespace: $namespace) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n background\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n isRecommended\n status\n category\n notReadyReasonCode\n platformStatus\n platforms {\n icon\n name\n displayName\n }\n }\n prologue\n model\n llm {\n name\n namespace\n kind\n apiGroup\n }\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebases {\n name\n namespace\n }\n onDemand\n searchMode\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n systemPrompt\n showRetrievalInfo\n showNextGuide\n plugins {\n name\n namespace\n }\n workflows {\n name\n namespace\n }\n audioConfig {\n ttsReferenceID\n }\n rerankerModel\n rerankerName\n rerankerNamespace\n }\n }\n}\n "])));
|
|
178
178
|
export var GetAgentLatestReleaseInEachPlatformDocument = gql(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n query getAgentLatestReleaseInEachPlatform($name: String!, $namespace: String!) {\n Agent {\n getAgentLatestReleaseInEachPlatform(name: $name, namespace: $namespace) {\n hasNextPage\n totalCount\n nodes {\n ... on AgentRelease {\n id\n platform\n name\n namesapce\n status\n log\n createdAt\n username\n }\n }\n }\n }\n}\n "])));
|
|
179
179
|
export var GetAgentReleaseHistoryDocument = gql(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n query getAgentReleaseHistory($name: String!, $namespace: String!, $page: Int, $pageSize: Int) {\n Agent {\n getAgentReleaseHistory(\n name: $name\n namespace: $namespace\n page: $page\n pageSize: $pageSize\n ) {\n hasNextPage\n totalCount\n nodes {\n ... on AgentReleaseHistory {\n date\n items {\n log\n time\n username\n platforms {\n name\n displayName\n icon\n status\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
180
180
|
export var ListAgentsDocument = gql(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n query listAgents($input: ListCommonInput!) {\n Agent {\n listAgentMetadata(input: $input) {\n page\n pageSize\n totalCount\n hasNextPage\n nodes {\n ... on AgentMetadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n background\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n isRecommended\n status\n category\n notReadyReasonCode\n }\n }\n }\n }\n}\n "])));
|