@yuntijs/arcadia-bff-sdk 1.0.72 → 1.0.73

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/esm/sdk.d.ts CHANGED
@@ -120,6 +120,8 @@ export type Application = {
120
120
  showRetrievalInfo?: Maybe<Scalars['Boolean']['output']>;
121
121
  /** temperature 温度 */
122
122
  temperature?: Maybe<Scalars['Float']['output']>;
123
+ /** tools 要使用的工具列表 */
124
+ tools?: Maybe<Array<Maybe<Tool>>>;
123
125
  /** userPrompt 用户级别的 Prompt */
124
126
  userPrompt?: Maybe<Scalars['String']['output']>;
125
127
  };
@@ -1557,6 +1559,21 @@ export type ResourcesInput = {
1557
1559
  /** gpu配置 */
1558
1560
  nvidiaGPU?: InputMaybe<Scalars['String']['input']>;
1559
1561
  };
1562
+ /** Tool 应用和Agent中用到的工具 */
1563
+ export type Tool = {
1564
+ __typename?: 'Tool';
1565
+ /** 名称,目前只有bing可选 */
1566
+ name?: Maybe<Scalars['String']['output']>;
1567
+ /** params 参数 */
1568
+ params?: Maybe<Scalars['Map']['output']>;
1569
+ };
1570
+ /** ToolInput 应用和Agent中用到的工具 */
1571
+ export type ToolInput = {
1572
+ /** 名称(必填),目前只有bing可选 */
1573
+ name: Scalars['String']['input'];
1574
+ /** params 参数,可选 */
1575
+ params?: InputMaybe<Scalars['Map']['input']>;
1576
+ };
1560
1577
  export type TypedObjectReference = {
1561
1578
  __typename?: 'TypedObjectReference';
1562
1579
  apiGroup?: Maybe<Scalars['String']['output']>;
@@ -1610,6 +1627,8 @@ export type UpdateApplicationConfigInput = {
1610
1627
  showRetrievalInfo?: InputMaybe<Scalars['Boolean']['input']>;
1611
1628
  /** temperature 温度 */
1612
1629
  temperature?: InputMaybe<Scalars['Float']['input']>;
1630
+ /** tools 要使用的工具列表 */
1631
+ tools?: InputMaybe<Array<InputMaybe<ToolInput>>>;
1613
1632
  /** userPrompt 用户级别的 Prompt */
1614
1633
  userPrompt?: InputMaybe<Scalars['String']['input']>;
1615
1634
  };
@@ -2199,6 +2218,11 @@ export type UpdateApplicationConfigMutation = {
2199
2218
  isPublic?: boolean | null;
2200
2219
  status?: string | null;
2201
2220
  } | null;
2221
+ tools?: Array<{
2222
+ __typename?: 'Tool';
2223
+ name?: string | null;
2224
+ params?: any | null;
2225
+ } | null> | null;
2202
2226
  };
2203
2227
  } | null;
2204
2228
  };
@@ -2243,6 +2267,11 @@ export type GetApplicationQuery = {
2243
2267
  isPublic?: boolean | null;
2244
2268
  status?: string | null;
2245
2269
  } | null;
2270
+ tools?: Array<{
2271
+ __typename?: 'Tool';
2272
+ name?: string | null;
2273
+ params?: any | null;
2274
+ } | null> | null;
2246
2275
  };
2247
2276
  } | null;
2248
2277
  };
package/dist/esm/sdk.js CHANGED
@@ -116,6 +116,10 @@ import useSWR from "./useSWR";
116
116
 
117
117
  /** 资源配置的输入 */
118
118
 
119
+ /** Tool 应用和Agent中用到的工具 */
120
+
121
+ /** ToolInput 应用和Agent中用到的工具 */
122
+
119
123
  /** 数据集更新的输入 */
120
124
 
121
125
  /** 更新数据源的输入 */
@@ -161,8 +165,8 @@ import useSWR from "./useSWR";
161
165
  export var CreateApplicationDocument = gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n mutation createApplication($input: CreateApplicationMetadataInput!) {\n Application {\n createApplication(input: $input) {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n }\n }\n}\n "])));
162
166
  export var UpdateApplicationDocument = gql(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n mutation updateApplication($input: UpdateApplicationMetadataInput!) {\n Application {\n updateApplication(input: $input) {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n isPublic\n }\n }\n}\n "])));
163
167
  export var DeleteApplicationDocument = gql(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n mutation deleteApplication($input: DeleteCommonInput!) {\n Application {\n deleteApplication(input: $input)\n }\n}\n "])));
164
- export var UpdateApplicationConfigDocument = gql(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n mutation updateApplicationConfig($input: UpdateApplicationConfigInput!) {\n Application {\n updateApplicationConfig(input: $input) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n }\n }\n}\n "])));
165
- export var GetApplicationDocument = gql(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n query getApplication($name: String!, $namespace: String!) {\n Application {\n getApplication(name: $name, namespace: $namespace) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n }\n }\n}\n "])));
168
+ export var UpdateApplicationConfigDocument = gql(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n mutation updateApplicationConfig($input: UpdateApplicationConfigInput!) {\n Application {\n updateApplicationConfig(input: $input) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n }\n }\n}\n "])));
169
+ export var GetApplicationDocument = gql(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n query getApplication($name: String!, $namespace: String!) {\n Application {\n getApplication(name: $name, namespace: $namespace) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n }\n }\n}\n "])));
166
170
  export var ListApplicationsDocument = gql(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n query listApplications($input: ListCommonInput!) {\n Application {\n listApplicationMetadata(input: $input) {\n page\n pageSize\n totalCount\n hasNextPage\n nodes {\n ... on ApplicationMetadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n }\n }\n }\n}\n "])));
167
171
  export var AllDataProcessListByPageDocument = gql(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n query allDataProcessListByPage($input: AllDataProcessListByPageInput!) {\n dataProcess {\n allDataProcessListByPage(input: $input) {\n status\n data {\n id\n name\n status\n pre_data_set_name\n pre_data_set_version\n post_data_set_name\n post_data_set_version\n start_datetime\n error_msg\n }\n message\n }\n }\n}\n "])));
168
172
  export var AllDataProcessListByCountDocument = gql(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n query allDataProcessListByCount($input: AllDataProcessListByCountInput!) {\n dataProcess {\n allDataProcessListByCount(input: $input) {\n status\n data\n message\n }\n }\n}\n "])));