@yuntijs/arcadia-bff-sdk 1.2.10 → 1.2.11

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
@@ -134,6 +134,8 @@ export type Application = {
134
134
  showRespInfo?: Maybe<Scalars['Boolean']['output']>;
135
135
  /** showRetrievalInfo 查看引用配置,即是否在chat界面显示引用信息 */
136
136
  showRetrievalInfo?: Maybe<Scalars['Boolean']['output']>;
137
+ /** systemPrompt 系统级别的 Prompt */
138
+ systemPrompt?: Maybe<Scalars['String']['output']>;
137
139
  /** temperature 温度 */
138
140
  temperature?: Maybe<Scalars['Float']['output']>;
139
141
  /** tools 要使用的工具列表 */
@@ -2144,6 +2146,8 @@ export type UpdateApplicationConfigInput = {
2144
2146
  showRespInfo?: InputMaybe<Scalars['Boolean']['input']>;
2145
2147
  /** showRetrievalInfo 查看引用配置,即是否在chat界面显示引用信息 */
2146
2148
  showRetrievalInfo?: InputMaybe<Scalars['Boolean']['input']>;
2149
+ /** systemPrompt 系统级别的 Prompt */
2150
+ systemPrompt?: InputMaybe<Scalars['String']['input']>;
2147
2151
  /** temperature 温度 */
2148
2152
  temperature?: InputMaybe<Scalars['Float']['input']>;
2149
2153
  /** tools 要使用的工具列表 */
@@ -2775,6 +2779,7 @@ export type UpdateApplicationConfigMutation = {
2775
2779
  numDocuments?: number | null;
2776
2780
  docNullReturn?: string | null;
2777
2781
  userPrompt?: string | null;
2782
+ systemPrompt?: string | null;
2778
2783
  showRespInfo?: boolean | null;
2779
2784
  showRetrievalInfo?: boolean | null;
2780
2785
  showNextGuide?: boolean | null;
@@ -2834,6 +2839,7 @@ export type GetApplicationQuery = {
2834
2839
  numDocuments?: number | null;
2835
2840
  docNullReturn?: string | null;
2836
2841
  userPrompt?: string | null;
2842
+ systemPrompt?: string | null;
2837
2843
  showRespInfo?: boolean | null;
2838
2844
  showRetrievalInfo?: boolean | null;
2839
2845
  showNextGuide?: boolean | null;
package/dist/esm/sdk.js CHANGED
@@ -176,8 +176,8 @@ import useSWR from "./useSWR";
176
176
  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 creator\n creationTimestamp\n updateTimestamp\n isPublic\n isRecommended\n status\n category\n }\n }\n}\n "])));
177
177
  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 creator\n creationTimestamp\n updateTimestamp\n isPublic\n isRecommended\n status\n category\n }\n }\n}\n "])));
178
178
  export var DeleteApplicationDocument = gql(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n mutation deleteApplication($input: DeleteCommonInput!) {\n Application {\n deleteApplication(input: $input)\n }\n}\n "])));
179
- 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 isRecommended\n status\n category\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 enableRerank\n rerankModel\n enableMultiQuery\n chatTimeout\n enableUploadFile\n chunkSize\n chunkOverlap\n batchSize\n }\n }\n}\n "])));
180
- 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 isRecommended\n status\n category\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 enableRerank\n rerankModel\n enableMultiQuery\n chatTimeout\n enableUploadFile\n chunkSize\n chunkOverlap\n batchSize\n }\n }\n}\n "])));
179
+ 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 isRecommended\n status\n category\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 systemPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n enableRerank\n rerankModel\n enableMultiQuery\n chatTimeout\n enableUploadFile\n chunkSize\n chunkOverlap\n batchSize\n }\n }\n}\n "])));
180
+ 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 isRecommended\n status\n category\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 systemPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n enableRerank\n rerankModel\n enableMultiQuery\n chatTimeout\n enableUploadFile\n chunkSize\n chunkOverlap\n batchSize\n }\n }\n}\n "])));
181
181
  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 isRecommended\n status\n category\n }\n }\n }\n }\n}\n "])));
182
182
  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 end_datetime\n error_msg\n }\n message\n }\n }\n}\n "])));
183
183
  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 "])));