@yuntijs/arcadia-bff-sdk 1.2.86 → 1.2.88

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
@@ -93,6 +93,8 @@ export type AddVersionInput = {
93
93
  */
94
94
  export type Agent = {
95
95
  __typename?: 'Agent';
96
+ /** audioConfig 语音配置 */
97
+ audioConfig?: Maybe<AudioConfig>;
96
98
  /** conversionWindowSize 对话轮次 */
97
99
  conversionWindowSize?: Maybe<Scalars['Int']['output']>;
98
100
  /** docNullReturn 空搜索回复 */
@@ -213,6 +215,7 @@ export type AgentMutation = {
213
215
  generatesAgentUserPrompt: Array<Scalars['String']['output']>;
214
216
  releaseAgent: AgentMetadata;
215
217
  updateAgent: AgentMetadata;
218
+ updateAgentAudioConfig?: Maybe<Scalars['Void']['output']>;
216
219
  updateAgentKnowledgeBase?: Maybe<Scalars['Void']['output']>;
217
220
  updateAgentModel?: Maybe<Scalars['Void']['output']>;
218
221
  updateAgentPlugin?: Maybe<Scalars['Void']['output']>;
@@ -252,6 +255,9 @@ export type AgentMutationReleaseAgentArgs = {
252
255
  export type AgentMutationUpdateAgentArgs = {
253
256
  input: UpdateAgentMetadataInput;
254
257
  };
258
+ export type AgentMutationUpdateAgentAudioConfigArgs = {
259
+ input: UpdateAgentAudioConfigInput;
260
+ };
255
261
  export type AgentMutationUpdateAgentKnowledgeBaseArgs = {
256
262
  input: UpdateAgentKnowledgebaseInput;
257
263
  };
@@ -361,6 +367,10 @@ export type AllDataProcessListByPageInput = {
361
367
  pageIndex: Scalars['Int']['input'];
362
368
  pageSize: Scalars['Int']['input'];
363
369
  };
370
+ export type AudioConfig = {
371
+ __typename?: 'AudioConfig';
372
+ ttsReferenceID?: Maybe<Scalars['String']['output']>;
373
+ };
364
374
  export type ChatSftInput = {
365
375
  /**
366
376
  * 是否使用生成的适配器对话
@@ -2726,6 +2736,12 @@ export type Sft = {
2726
2736
  * 规则:必填
2727
2737
  */
2728
2738
  baseModel: TypedObjectReference;
2739
+ /** SFT 微调测试对话的附加参数 */
2740
+ chatAdditionalEnvs?: Maybe<Scalars['Map']['output']>;
2741
+ /** SFT 微调测试对话节点亲合度配置 */
2742
+ chatMatchExpressions?: Maybe<Array<Maybe<NodeSelectorRequirement>>>;
2743
+ /** SFT 微调对话测试所使用的资源 */
2744
+ chatResources?: Maybe<Resources>;
2729
2745
  /** 微调完成时间, 记录微调任务完成的时间(不包括合并导出,未完成则该字段为空) */
2730
2746
  completeTimestamp?: Maybe<Scalars['Time']['output']>;
2731
2747
  /** 创建时间 */
@@ -3086,6 +3102,20 @@ export type TypedObjectReferenceInput = {
3086
3102
  name: Scalars['String']['input'];
3087
3103
  namespace?: InputMaybe<Scalars['String']['input']>;
3088
3104
  };
3105
+ export type UpdateAgentAudioConfigInput = {
3106
+ /**
3107
+ * 应用名称, 用于确定要更新哪个应用
3108
+ * 规则: 遵循 k8s 命名
3109
+ */
3110
+ name: Scalars['String']['input'];
3111
+ /**
3112
+ * 应用所在的 namespace, 用于确定要更新哪个应用
3113
+ * 规则: 非空
3114
+ */
3115
+ namespace: Scalars['String']['input'];
3116
+ /** 参考音频ID */
3117
+ ttsReferenceID?: InputMaybe<Scalars['String']['input']>;
3118
+ };
3089
3119
  export type UpdateAgentKnowledgebaseInput = {
3090
3120
  /** knowledgebases 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
3091
3121
  knowledgebases?: InputMaybe<Array<TypedObjectReferenceInput>>;
@@ -3940,6 +3970,16 @@ export type UpdateAgentWorkflowMutation = {
3940
3970
  updateAgentWorkflow?: any | null;
3941
3971
  } | null;
3942
3972
  };
3973
+ export type UpdateAgentAudioConfigMutationVariables = Exact<{
3974
+ input: UpdateAgentAudioConfigInput;
3975
+ }>;
3976
+ export type UpdateAgentAudioConfigMutation = {
3977
+ __typename?: 'Mutation';
3978
+ Agent?: {
3979
+ __typename?: 'AgentMutation';
3980
+ updateAgentAudioConfig?: any | null;
3981
+ } | null;
3982
+ };
3943
3983
  export type DeleteAgentPromptMutationVariables = Exact<{
3944
3984
  namespacedname: Scalars['String']['input'];
3945
3985
  ids?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
@@ -4082,6 +4122,10 @@ export type GetAgentQuery = {
4082
4122
  name: string;
4083
4123
  namespace: string;
4084
4124
  } | null> | null;
4125
+ audioConfig?: {
4126
+ __typename?: 'AudioConfig';
4127
+ ttsReferenceID?: string | null;
4128
+ } | null;
4085
4129
  };
4086
4130
  } | null;
4087
4131
  };
@@ -8387,6 +8431,7 @@ export type ListSftQuery = {
8387
8431
  exportName: string;
8388
8432
  exportDescription?: string | null;
8389
8433
  exportPartSize?: number | null;
8434
+ chatAdditionalEnvs?: any | null;
8390
8435
  storage: {
8391
8436
  __typename?: 'PersistentVolumeClaimSpec';
8392
8437
  accessModes: Array<string>;
@@ -8462,6 +8507,18 @@ export type ListSftQuery = {
8462
8507
  operator: string;
8463
8508
  values: Array<string>;
8464
8509
  } | null> | null;
8510
+ chatResources?: {
8511
+ __typename?: 'Resources';
8512
+ cpu?: string | null;
8513
+ memory?: string | null;
8514
+ nvidiaGPU?: string | null;
8515
+ } | null;
8516
+ chatMatchExpressions?: Array<{
8517
+ __typename?: 'NodeSelectorRequirement';
8518
+ key: string;
8519
+ operator: string;
8520
+ values: Array<string>;
8521
+ } | null> | null;
8465
8522
  } | {
8466
8523
  __typename?: 'TuningDataSet';
8467
8524
  } | {
@@ -8511,6 +8568,7 @@ export type GetSftQuery = {
8511
8568
  exportName: string;
8512
8569
  exportDescription?: string | null;
8513
8570
  exportPartSize?: number | null;
8571
+ chatAdditionalEnvs?: any | null;
8514
8572
  storage: {
8515
8573
  __typename?: 'PersistentVolumeClaimSpec';
8516
8574
  accessModes: Array<string>;
@@ -8586,6 +8644,18 @@ export type GetSftQuery = {
8586
8644
  operator: string;
8587
8645
  values: Array<string>;
8588
8646
  } | null> | null;
8647
+ chatResources?: {
8648
+ __typename?: 'Resources';
8649
+ cpu?: string | null;
8650
+ memory?: string | null;
8651
+ nvidiaGPU?: string | null;
8652
+ } | null;
8653
+ chatMatchExpressions?: Array<{
8654
+ __typename?: 'NodeSelectorRequirement';
8655
+ key: string;
8656
+ operator: string;
8657
+ values: Array<string>;
8658
+ } | null> | null;
8589
8659
  };
8590
8660
  } | null;
8591
8661
  };
@@ -8675,6 +8745,10 @@ export type CreateSftMutation = {
8675
8745
  phase?: string | null;
8676
8746
  phaseMessage?: string | null;
8677
8747
  additionalEnvs?: any | null;
8748
+ exportName: string;
8749
+ exportDescription?: string | null;
8750
+ exportPartSize?: number | null;
8751
+ chatAdditionalEnvs?: any | null;
8678
8752
  storage: {
8679
8753
  __typename?: 'PersistentVolumeClaimSpec';
8680
8754
  accessModes: Array<string>;
@@ -8750,6 +8824,18 @@ export type CreateSftMutation = {
8750
8824
  operator: string;
8751
8825
  values: Array<string>;
8752
8826
  } | null> | null;
8827
+ chatResources?: {
8828
+ __typename?: 'Resources';
8829
+ cpu?: string | null;
8830
+ memory?: string | null;
8831
+ nvidiaGPU?: string | null;
8832
+ } | null;
8833
+ chatMatchExpressions?: Array<{
8834
+ __typename?: 'NodeSelectorRequirement';
8835
+ key: string;
8836
+ operator: string;
8837
+ values: Array<string>;
8838
+ } | null> | null;
8753
8839
  };
8754
8840
  } | null;
8755
8841
  };
@@ -8780,6 +8866,10 @@ export type UpdateSftMutation = {
8780
8866
  phase?: string | null;
8781
8867
  phaseMessage?: string | null;
8782
8868
  additionalEnvs?: any | null;
8869
+ exportName: string;
8870
+ exportDescription?: string | null;
8871
+ exportPartSize?: number | null;
8872
+ chatAdditionalEnvs?: any | null;
8783
8873
  storage: {
8784
8874
  __typename?: 'PersistentVolumeClaimSpec';
8785
8875
  accessModes: Array<string>;
@@ -8855,6 +8945,18 @@ export type UpdateSftMutation = {
8855
8945
  operator: string;
8856
8946
  values: Array<string>;
8857
8947
  } | null> | null;
8948
+ chatResources?: {
8949
+ __typename?: 'Resources';
8950
+ cpu?: string | null;
8951
+ memory?: string | null;
8952
+ nvidiaGPU?: string | null;
8953
+ } | null;
8954
+ chatMatchExpressions?: Array<{
8955
+ __typename?: 'NodeSelectorRequirement';
8956
+ key: string;
8957
+ operator: string;
8958
+ values: Array<string>;
8959
+ } | null> | null;
8858
8960
  };
8859
8961
  } | null;
8860
8962
  };
@@ -9691,6 +9793,7 @@ export declare const UpdateAgentModelDocument: import("../node_modules/.pnpm/gra
9691
9793
  export declare const UpdateAgentPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9692
9794
  export declare const UpdateAgentKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9693
9795
  export declare const UpdateAgentWorkflowDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9796
+ export declare const UpdateAgentAudioConfigDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9694
9797
  export declare const DeleteAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9695
9798
  export declare const GenerateAgentSystemPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9696
9799
  export declare const GenerateAgentPrologueDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -9830,6 +9933,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
9830
9933
  updateAgentPlugin(variables: UpdateAgentPluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentPluginMutation>;
9831
9934
  updateAgentKnowledgeBase(variables: UpdateAgentKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentKnowledgeBaseMutation>;
9832
9935
  updateAgentWorkflow(variables: UpdateAgentWorkflowMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentWorkflowMutation>;
9936
+ updateAgentAudioConfig(variables: UpdateAgentAudioConfigMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentAudioConfigMutation>;
9833
9937
  deleteAgentPrompt(variables: DeleteAgentPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteAgentPromptMutation>;
9834
9938
  generateAgentSystemPrompt(variables: GenerateAgentSystemPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<GenerateAgentSystemPromptMutation>;
9835
9939
  generateAgentPrologue(variables: GenerateAgentPrologueMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<GenerateAgentPrologueMutation>;
@@ -10058,6 +10162,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
10058
10162
  updateAgentWorkflow(variables: Exact<{
10059
10163
  input: UpdateAgentWorkflowInput;
10060
10164
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentWorkflowMutation>;
10165
+ updateAgentAudioConfig(variables: Exact<{
10166
+ input: UpdateAgentAudioConfigInput;
10167
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentAudioConfigMutation>;
10061
10168
  deleteAgentPrompt(variables: Exact<{
10062
10169
  namespacedname: string;
10063
10170
  ids?: InputMaybe<string | string[]> | undefined;