@yuntijs/arcadia-bff-sdk 1.2.72 → 1.2.74
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/index.d.ts +28 -0
- package/dist/cjs/sdk.d.ts +43 -0
- package/dist/cjs/sdk.js +17 -0
- package/dist/cjs/taro.d.ts +20 -0
- package/dist/esm/index.d.ts +28 -0
- package/dist/esm/sdk.d.ts +43 -0
- package/dist/esm/sdk.js +33 -22
- package/dist/esm/taro.d.ts +20 -0
- 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/index.d.ts
CHANGED
|
@@ -200,6 +200,10 @@ export declare const sdk: {
|
|
|
200
200
|
useListSftMetric(variables: import("./sdk").Exact<{
|
|
201
201
|
kind: string;
|
|
202
202
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
203
|
+
useGetSftMonitor(variables: import("./sdk").Exact<{
|
|
204
|
+
name: string;
|
|
205
|
+
namespace: string;
|
|
206
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
|
|
203
207
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
204
208
|
name: string;
|
|
205
209
|
namespace: string;
|
|
@@ -574,6 +578,10 @@ export declare const sdk: {
|
|
|
574
578
|
listSFTMetric(variables: import("./sdk").Exact<{
|
|
575
579
|
kind: string;
|
|
576
580
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
581
|
+
getSFTMonitor(variables: import("./sdk").Exact<{
|
|
582
|
+
name: string;
|
|
583
|
+
namespace: string;
|
|
584
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
|
|
577
585
|
createSFT(variables: import("./sdk").Exact<{
|
|
578
586
|
input: import("./sdk").CreateSftInput;
|
|
579
587
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1016,6 +1024,10 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
1016
1024
|
listSFTMetric(variables: import("./sdk").Exact<{
|
|
1017
1025
|
kind: string;
|
|
1018
1026
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
1027
|
+
getSFTMonitor(variables: import("./sdk").Exact<{
|
|
1028
|
+
name: string;
|
|
1029
|
+
namespace: string;
|
|
1030
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
|
|
1019
1031
|
createSFT(variables: import("./sdk").Exact<{
|
|
1020
1032
|
input: import("./sdk").CreateSftInput;
|
|
1021
1033
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1278,6 +1290,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1278
1290
|
useListSftMetric(variables: import("./sdk").Exact<{
|
|
1279
1291
|
kind: string;
|
|
1280
1292
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
1293
|
+
useGetSftMonitor(variables: import("./sdk").Exact<{
|
|
1294
|
+
name: string;
|
|
1295
|
+
namespace: string;
|
|
1296
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
|
|
1281
1297
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
1282
1298
|
name: string;
|
|
1283
1299
|
namespace: string;
|
|
@@ -1652,6 +1668,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1652
1668
|
listSFTMetric(variables: import("./sdk").Exact<{
|
|
1653
1669
|
kind: string;
|
|
1654
1670
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
1671
|
+
getSFTMonitor(variables: import("./sdk").Exact<{
|
|
1672
|
+
name: string;
|
|
1673
|
+
namespace: string;
|
|
1674
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
|
|
1655
1675
|
createSFT(variables: import("./sdk").Exact<{
|
|
1656
1676
|
input: import("./sdk").CreateSftInput;
|
|
1657
1677
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1914,6 +1934,10 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1914
1934
|
useListSftMetric(variables: import("./sdk").Exact<{
|
|
1915
1935
|
kind: string;
|
|
1916
1936
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
1937
|
+
useGetSftMonitor(variables: import("./sdk").Exact<{
|
|
1938
|
+
name: string;
|
|
1939
|
+
namespace: string;
|
|
1940
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
|
|
1917
1941
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
1918
1942
|
name: string;
|
|
1919
1943
|
namespace: string;
|
|
@@ -2288,6 +2312,10 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2288
2312
|
listSFTMetric(variables: import("./sdk").Exact<{
|
|
2289
2313
|
kind: string;
|
|
2290
2314
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
2315
|
+
getSFTMonitor(variables: import("./sdk").Exact<{
|
|
2316
|
+
name: string;
|
|
2317
|
+
namespace: string;
|
|
2318
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
|
|
2291
2319
|
createSFT(variables: import("./sdk").Exact<{
|
|
2292
2320
|
input: import("./sdk").CreateSftInput;
|
|
2293
2321
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -111,12 +111,21 @@ export type Agent = {
|
|
|
111
111
|
model?: Maybe<Scalars['String']['output']>;
|
|
112
112
|
/** numDocuments 最终返回结果的引用上限 */
|
|
113
113
|
numDocuments?: Maybe<Scalars['Int']['output']>;
|
|
114
|
+
/** 知识库是否按需调用 */
|
|
115
|
+
onDemand?: Maybe<Scalars['Boolean']['output']>;
|
|
114
116
|
/** plugins 要使用的插件列表 */
|
|
115
117
|
plugins?: Maybe<Array<Maybe<Plugin>>>;
|
|
116
118
|
/** 对话开场白 */
|
|
117
119
|
prologue?: Maybe<Scalars['String']['output']>;
|
|
118
120
|
/** scoreThreshold 最终返回结果的最低相似度 */
|
|
119
121
|
scoreThreshold?: Maybe<Scalars['Float']['output']>;
|
|
122
|
+
/**
|
|
123
|
+
* 检索策略
|
|
124
|
+
* - hybrid
|
|
125
|
+
* - semantics
|
|
126
|
+
* - full-text
|
|
127
|
+
*/
|
|
128
|
+
searchMode?: Maybe<Scalars['String']['output']>;
|
|
120
129
|
/** showNextGuide 下一步引导,即是否在chat界面显示下一步引导 */
|
|
121
130
|
showNextGuide?: Maybe<Scalars['Boolean']['output']>;
|
|
122
131
|
/** showRetrievalInfo 查看引用配置,即是否在chat界面显示引用信息 */
|
|
@@ -2693,6 +2702,7 @@ export type SftMutationUpdateSftArgs = {
|
|
|
2693
2702
|
export type SftQuery = {
|
|
2694
2703
|
__typename?: 'SFTQuery';
|
|
2695
2704
|
getSFT: Sft;
|
|
2705
|
+
getSFTMonitor: Scalars['String']['output'];
|
|
2696
2706
|
listSFT: PaginatedResult;
|
|
2697
2707
|
/**
|
|
2698
2708
|
* 列出 SFT 微调任务的全部参数
|
|
@@ -2706,6 +2716,10 @@ export type SftQueryGetSftArgs = {
|
|
|
2706
2716
|
name: Scalars['String']['input'];
|
|
2707
2717
|
namespace: Scalars['String']['input'];
|
|
2708
2718
|
};
|
|
2719
|
+
export type SftQueryGetSftMonitorArgs = {
|
|
2720
|
+
name: Scalars['String']['input'];
|
|
2721
|
+
namespace: Scalars['String']['input'];
|
|
2722
|
+
};
|
|
2709
2723
|
export type SftQueryListSftArgs = {
|
|
2710
2724
|
input: ListCommonInput;
|
|
2711
2725
|
};
|
|
@@ -2897,8 +2911,17 @@ export type UpdateAgentKnowledgebaseInput = {
|
|
|
2897
2911
|
namespace: Scalars['String']['input'];
|
|
2898
2912
|
/** numDocuments 最终返回结果的引用上限 */
|
|
2899
2913
|
numDocuments?: InputMaybe<Scalars['Int']['input']>;
|
|
2914
|
+
/** onDemand代表是否按需调用知识库 */
|
|
2915
|
+
onDemand?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2900
2916
|
/** scoreThreshold 最终返回结果的最低相似度 */
|
|
2901
2917
|
scoreThreshold?: InputMaybe<Scalars['Float']['input']>;
|
|
2918
|
+
/**
|
|
2919
|
+
* 检索策略
|
|
2920
|
+
* - hybrid
|
|
2921
|
+
* - semantics
|
|
2922
|
+
* - full-text
|
|
2923
|
+
*/
|
|
2924
|
+
searchMode?: InputMaybe<Scalars['String']['input']>;
|
|
2902
2925
|
};
|
|
2903
2926
|
export type UpdateAgentMetadataInput = {
|
|
2904
2927
|
/** Background, 智能体对话背景,图片访问路径 */
|
|
@@ -3779,6 +3802,8 @@ export type GetAgentQuery = {
|
|
|
3779
3802
|
maxLength?: number | null;
|
|
3780
3803
|
maxTokens?: number | null;
|
|
3781
3804
|
conversionWindowSize?: number | null;
|
|
3805
|
+
onDemand?: boolean | null;
|
|
3806
|
+
searchMode?: string | null;
|
|
3782
3807
|
scoreThreshold?: number | null;
|
|
3783
3808
|
numDocuments?: number | null;
|
|
3784
3809
|
docNullReturn?: string | null;
|
|
@@ -8127,6 +8152,17 @@ export type ListSftMetricQuery = {
|
|
|
8127
8152
|
} | null>;
|
|
8128
8153
|
} | null;
|
|
8129
8154
|
};
|
|
8155
|
+
export type GetSftMonitorQueryVariables = Exact<{
|
|
8156
|
+
name: Scalars['String']['input'];
|
|
8157
|
+
namespace: Scalars['String']['input'];
|
|
8158
|
+
}>;
|
|
8159
|
+
export type GetSftMonitorQuery = {
|
|
8160
|
+
__typename?: 'Query';
|
|
8161
|
+
SFT?: {
|
|
8162
|
+
__typename?: 'SFTQuery';
|
|
8163
|
+
getSFTMonitor: string;
|
|
8164
|
+
} | null;
|
|
8165
|
+
};
|
|
8130
8166
|
export type CreateSftMutationVariables = Exact<{
|
|
8131
8167
|
input: CreateSftInput;
|
|
8132
8168
|
}>;
|
|
@@ -9241,6 +9277,7 @@ export declare const LoadVersionFilesDocument: import("../node_modules/.pnpm/gra
|
|
|
9241
9277
|
export declare const ListSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9242
9278
|
export declare const GetSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9243
9279
|
export declare const ListSftMetricDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9280
|
+
export declare const GetSftMonitorDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9244
9281
|
export declare const CreateSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9245
9282
|
export declare const UpdateSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9246
9283
|
export declare const DeleteSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -9369,6 +9406,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
9369
9406
|
listSFT(variables: ListSftQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListSftQuery>;
|
|
9370
9407
|
getSFT(variables: GetSftQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetSftQuery>;
|
|
9371
9408
|
listSFTMetric(variables: ListSftMetricQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListSftMetricQuery>;
|
|
9409
|
+
getSFTMonitor(variables: GetSftMonitorQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetSftMonitorQuery>;
|
|
9372
9410
|
createSFT(variables: CreateSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateSftMutation>;
|
|
9373
9411
|
updateSFT(variables: UpdateSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateSftMutation>;
|
|
9374
9412
|
deleteSFT(variables: DeleteSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteSftMutation>;
|
|
@@ -9446,6 +9484,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
9446
9484
|
useListSft(variables: ListSftQueryVariables, config?: SWRConfigInterface<ListSftQuery, ClientError>): import("./useSWR").SWRResponsePro<ListSftQuery, ClientError>;
|
|
9447
9485
|
useGetSft(variables: GetSftQueryVariables, config?: SWRConfigInterface<GetSftQuery, ClientError>): import("./useSWR").SWRResponsePro<GetSftQuery, ClientError>;
|
|
9448
9486
|
useListSftMetric(variables: ListSftMetricQueryVariables, config?: SWRConfigInterface<ListSftMetricQuery, ClientError>): import("./useSWR").SWRResponsePro<ListSftMetricQuery, ClientError>;
|
|
9487
|
+
useGetSftMonitor(variables: GetSftMonitorQueryVariables, config?: SWRConfigInterface<GetSftMonitorQuery, ClientError>): import("./useSWR").SWRResponsePro<GetSftMonitorQuery, ClientError>;
|
|
9449
9488
|
useGetVersionedDataset(variables: GetVersionedDatasetQueryVariables, config?: SWRConfigInterface<GetVersionedDatasetQuery, ClientError>): import("./useSWR").SWRResponsePro<GetVersionedDatasetQuery, ClientError>;
|
|
9450
9489
|
useListVersionedDatasets(variables: ListVersionedDatasetsQueryVariables, config?: SWRConfigInterface<ListVersionedDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListVersionedDatasetsQuery, ClientError>;
|
|
9451
9490
|
useListWorkers(variables: ListWorkersQueryVariables, config?: SWRConfigInterface<ListWorkersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListWorkersQuery, ClientError>;
|
|
@@ -9803,6 +9842,10 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
9803
9842
|
listSFTMetric(variables: Exact<{
|
|
9804
9843
|
kind: string;
|
|
9805
9844
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListSftMetricQuery>;
|
|
9845
|
+
getSFTMonitor(variables: Exact<{
|
|
9846
|
+
name: string;
|
|
9847
|
+
namespace: string;
|
|
9848
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetSftMonitorQuery>;
|
|
9806
9849
|
createSFT(variables: Exact<{
|
|
9807
9850
|
input: CreateSftInput;
|
|
9808
9851
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateSftMutation>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -98,6 +98,7 @@ __export(sdk_exports, {
|
|
|
98
98
|
GetRagDocument: () => GetRagDocument,
|
|
99
99
|
GetRerankerDocument: () => GetRerankerDocument,
|
|
100
100
|
GetSftDocument: () => GetSftDocument,
|
|
101
|
+
GetSftMonitorDocument: () => GetSftMonitorDocument,
|
|
101
102
|
GetTuningDataSetDocument: () => GetTuningDataSetDocument,
|
|
102
103
|
GetVersionContentDocument: () => GetVersionContentDocument,
|
|
103
104
|
GetVersionDocument: () => GetVersionDocument,
|
|
@@ -374,6 +375,8 @@ var GetAgentDocument = import_graphql_tag.default`
|
|
|
374
375
|
name
|
|
375
376
|
namespace
|
|
376
377
|
}
|
|
378
|
+
onDemand
|
|
379
|
+
searchMode
|
|
377
380
|
scoreThreshold
|
|
378
381
|
numDocuments
|
|
379
382
|
docNullReturn
|
|
@@ -2670,6 +2673,13 @@ var ListSftMetricDocument = import_graphql_tag.default`
|
|
|
2670
2673
|
}
|
|
2671
2674
|
}
|
|
2672
2675
|
`;
|
|
2676
|
+
var GetSftMonitorDocument = import_graphql_tag.default`
|
|
2677
|
+
query getSFTMonitor($name: String!, $namespace: String!) {
|
|
2678
|
+
SFT {
|
|
2679
|
+
getSFTMonitor(name: $name, namespace: $namespace)
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2682
|
+
`;
|
|
2673
2683
|
var CreateSftDocument = import_graphql_tag.default`
|
|
2674
2684
|
mutation createSFT($input: CreateSFTInput!) {
|
|
2675
2685
|
SFT {
|
|
@@ -3620,6 +3630,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
3620
3630
|
listSFTMetric(variables, requestHeaders) {
|
|
3621
3631
|
return withWrapper((wrappedRequestHeaders) => client.request(ListSftMetricDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listSFTMetric", "query", variables);
|
|
3622
3632
|
},
|
|
3633
|
+
getSFTMonitor(variables, requestHeaders) {
|
|
3634
|
+
return withWrapper((wrappedRequestHeaders) => client.request(GetSftMonitorDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getSFTMonitor", "query", variables);
|
|
3635
|
+
},
|
|
3623
3636
|
createSFT(variables, requestHeaders) {
|
|
3624
3637
|
return withWrapper((wrappedRequestHeaders) => client.request(CreateSftDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "createSFT", "mutation", variables);
|
|
3625
3638
|
},
|
|
@@ -3849,6 +3862,9 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
3849
3862
|
useListSftMetric(variables, config) {
|
|
3850
3863
|
return (0, import_useSWR.default)(genKey("ListSftMetric", variables), () => sdk.listSFTMetric(variables), config);
|
|
3851
3864
|
},
|
|
3865
|
+
useGetSftMonitor(variables, config) {
|
|
3866
|
+
return (0, import_useSWR.default)(genKey("GetSftMonitor", variables), () => sdk.getSFTMonitor(variables), config);
|
|
3867
|
+
},
|
|
3852
3868
|
useGetVersionedDataset(variables, config) {
|
|
3853
3869
|
return (0, import_useSWR.default)(genKey("GetVersionedDataset", variables), () => sdk.getVersionedDataset(variables), config);
|
|
3854
3870
|
},
|
|
@@ -3940,6 +3956,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
3940
3956
|
GetRagDocument,
|
|
3941
3957
|
GetRerankerDocument,
|
|
3942
3958
|
GetSftDocument,
|
|
3959
|
+
GetSftMonitorDocument,
|
|
3943
3960
|
GetTuningDataSetDocument,
|
|
3944
3961
|
GetVersionContentDocument,
|
|
3945
3962
|
GetVersionDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -383,6 +383,10 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
383
383
|
listSFTMetric(variables: import("./sdk").Exact<{
|
|
384
384
|
kind: string;
|
|
385
385
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
386
|
+
getSFTMonitor(variables: import("./sdk").Exact<{
|
|
387
|
+
name: string;
|
|
388
|
+
namespace: string;
|
|
389
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
|
|
386
390
|
createSFT(variables: import("./sdk").Exact<{
|
|
387
391
|
input: import("./sdk").CreateSftInput;
|
|
388
392
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -645,6 +649,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
645
649
|
useListSftMetric(variables: import("./sdk").Exact<{
|
|
646
650
|
kind: string;
|
|
647
651
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
652
|
+
useGetSftMonitor(variables: import("./sdk").Exact<{
|
|
653
|
+
name: string;
|
|
654
|
+
namespace: string;
|
|
655
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
|
|
648
656
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
649
657
|
name: string;
|
|
650
658
|
namespace: string;
|
|
@@ -1019,6 +1027,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1019
1027
|
listSFTMetric(variables: import("./sdk").Exact<{
|
|
1020
1028
|
kind: string;
|
|
1021
1029
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
1030
|
+
getSFTMonitor(variables: import("./sdk").Exact<{
|
|
1031
|
+
name: string;
|
|
1032
|
+
namespace: string;
|
|
1033
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
|
|
1022
1034
|
createSFT(variables: import("./sdk").Exact<{
|
|
1023
1035
|
input: import("./sdk").CreateSftInput;
|
|
1024
1036
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1281,6 +1293,10 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1281
1293
|
useListSftMetric(variables: import("./sdk").Exact<{
|
|
1282
1294
|
kind: string;
|
|
1283
1295
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
1296
|
+
useGetSftMonitor(variables: import("./sdk").Exact<{
|
|
1297
|
+
name: string;
|
|
1298
|
+
namespace: string;
|
|
1299
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
|
|
1284
1300
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
1285
1301
|
name: string;
|
|
1286
1302
|
namespace: string;
|
|
@@ -1655,6 +1671,10 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1655
1671
|
listSFTMetric(variables: import("./sdk").Exact<{
|
|
1656
1672
|
kind: string;
|
|
1657
1673
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
1674
|
+
getSFTMonitor(variables: import("./sdk").Exact<{
|
|
1675
|
+
name: string;
|
|
1676
|
+
namespace: string;
|
|
1677
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
|
|
1658
1678
|
createSFT(variables: import("./sdk").Exact<{
|
|
1659
1679
|
input: import("./sdk").CreateSftInput;
|
|
1660
1680
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -200,6 +200,10 @@ export declare const sdk: {
|
|
|
200
200
|
useListSftMetric(variables: import("./sdk").Exact<{
|
|
201
201
|
kind: string;
|
|
202
202
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
203
|
+
useGetSftMonitor(variables: import("./sdk").Exact<{
|
|
204
|
+
name: string;
|
|
205
|
+
namespace: string;
|
|
206
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
|
|
203
207
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
204
208
|
name: string;
|
|
205
209
|
namespace: string;
|
|
@@ -574,6 +578,10 @@ export declare const sdk: {
|
|
|
574
578
|
listSFTMetric(variables: import("./sdk").Exact<{
|
|
575
579
|
kind: string;
|
|
576
580
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
581
|
+
getSFTMonitor(variables: import("./sdk").Exact<{
|
|
582
|
+
name: string;
|
|
583
|
+
namespace: string;
|
|
584
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
|
|
577
585
|
createSFT(variables: import("./sdk").Exact<{
|
|
578
586
|
input: import("./sdk").CreateSftInput;
|
|
579
587
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1016,6 +1024,10 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
1016
1024
|
listSFTMetric(variables: import("./sdk").Exact<{
|
|
1017
1025
|
kind: string;
|
|
1018
1026
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
1027
|
+
getSFTMonitor(variables: import("./sdk").Exact<{
|
|
1028
|
+
name: string;
|
|
1029
|
+
namespace: string;
|
|
1030
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
|
|
1019
1031
|
createSFT(variables: import("./sdk").Exact<{
|
|
1020
1032
|
input: import("./sdk").CreateSftInput;
|
|
1021
1033
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1278,6 +1290,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1278
1290
|
useListSftMetric(variables: import("./sdk").Exact<{
|
|
1279
1291
|
kind: string;
|
|
1280
1292
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
1293
|
+
useGetSftMonitor(variables: import("./sdk").Exact<{
|
|
1294
|
+
name: string;
|
|
1295
|
+
namespace: string;
|
|
1296
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
|
|
1281
1297
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
1282
1298
|
name: string;
|
|
1283
1299
|
namespace: string;
|
|
@@ -1652,6 +1668,10 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1652
1668
|
listSFTMetric(variables: import("./sdk").Exact<{
|
|
1653
1669
|
kind: string;
|
|
1654
1670
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
1671
|
+
getSFTMonitor(variables: import("./sdk").Exact<{
|
|
1672
|
+
name: string;
|
|
1673
|
+
namespace: string;
|
|
1674
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
|
|
1655
1675
|
createSFT(variables: import("./sdk").Exact<{
|
|
1656
1676
|
input: import("./sdk").CreateSftInput;
|
|
1657
1677
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1914,6 +1934,10 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1914
1934
|
useListSftMetric(variables: import("./sdk").Exact<{
|
|
1915
1935
|
kind: string;
|
|
1916
1936
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
1937
|
+
useGetSftMonitor(variables: import("./sdk").Exact<{
|
|
1938
|
+
name: string;
|
|
1939
|
+
namespace: string;
|
|
1940
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftMonitorQuery, import("graphql-request/src/types").ClientError>;
|
|
1917
1941
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
1918
1942
|
name: string;
|
|
1919
1943
|
namespace: string;
|
|
@@ -2288,6 +2312,10 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2288
2312
|
listSFTMetric(variables: import("./sdk").Exact<{
|
|
2289
2313
|
kind: string;
|
|
2290
2314
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
2315
|
+
getSFTMonitor(variables: import("./sdk").Exact<{
|
|
2316
|
+
name: string;
|
|
2317
|
+
namespace: string;
|
|
2318
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftMonitorQuery>;
|
|
2291
2319
|
createSFT(variables: import("./sdk").Exact<{
|
|
2292
2320
|
input: import("./sdk").CreateSftInput;
|
|
2293
2321
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -111,12 +111,21 @@ export type Agent = {
|
|
|
111
111
|
model?: Maybe<Scalars['String']['output']>;
|
|
112
112
|
/** numDocuments 最终返回结果的引用上限 */
|
|
113
113
|
numDocuments?: Maybe<Scalars['Int']['output']>;
|
|
114
|
+
/** 知识库是否按需调用 */
|
|
115
|
+
onDemand?: Maybe<Scalars['Boolean']['output']>;
|
|
114
116
|
/** plugins 要使用的插件列表 */
|
|
115
117
|
plugins?: Maybe<Array<Maybe<Plugin>>>;
|
|
116
118
|
/** 对话开场白 */
|
|
117
119
|
prologue?: Maybe<Scalars['String']['output']>;
|
|
118
120
|
/** scoreThreshold 最终返回结果的最低相似度 */
|
|
119
121
|
scoreThreshold?: Maybe<Scalars['Float']['output']>;
|
|
122
|
+
/**
|
|
123
|
+
* 检索策略
|
|
124
|
+
* - hybrid
|
|
125
|
+
* - semantics
|
|
126
|
+
* - full-text
|
|
127
|
+
*/
|
|
128
|
+
searchMode?: Maybe<Scalars['String']['output']>;
|
|
120
129
|
/** showNextGuide 下一步引导,即是否在chat界面显示下一步引导 */
|
|
121
130
|
showNextGuide?: Maybe<Scalars['Boolean']['output']>;
|
|
122
131
|
/** showRetrievalInfo 查看引用配置,即是否在chat界面显示引用信息 */
|
|
@@ -2693,6 +2702,7 @@ export type SftMutationUpdateSftArgs = {
|
|
|
2693
2702
|
export type SftQuery = {
|
|
2694
2703
|
__typename?: 'SFTQuery';
|
|
2695
2704
|
getSFT: Sft;
|
|
2705
|
+
getSFTMonitor: Scalars['String']['output'];
|
|
2696
2706
|
listSFT: PaginatedResult;
|
|
2697
2707
|
/**
|
|
2698
2708
|
* 列出 SFT 微调任务的全部参数
|
|
@@ -2706,6 +2716,10 @@ export type SftQueryGetSftArgs = {
|
|
|
2706
2716
|
name: Scalars['String']['input'];
|
|
2707
2717
|
namespace: Scalars['String']['input'];
|
|
2708
2718
|
};
|
|
2719
|
+
export type SftQueryGetSftMonitorArgs = {
|
|
2720
|
+
name: Scalars['String']['input'];
|
|
2721
|
+
namespace: Scalars['String']['input'];
|
|
2722
|
+
};
|
|
2709
2723
|
export type SftQueryListSftArgs = {
|
|
2710
2724
|
input: ListCommonInput;
|
|
2711
2725
|
};
|
|
@@ -2897,8 +2911,17 @@ export type UpdateAgentKnowledgebaseInput = {
|
|
|
2897
2911
|
namespace: Scalars['String']['input'];
|
|
2898
2912
|
/** numDocuments 最终返回结果的引用上限 */
|
|
2899
2913
|
numDocuments?: InputMaybe<Scalars['Int']['input']>;
|
|
2914
|
+
/** onDemand代表是否按需调用知识库 */
|
|
2915
|
+
onDemand?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2900
2916
|
/** scoreThreshold 最终返回结果的最低相似度 */
|
|
2901
2917
|
scoreThreshold?: InputMaybe<Scalars['Float']['input']>;
|
|
2918
|
+
/**
|
|
2919
|
+
* 检索策略
|
|
2920
|
+
* - hybrid
|
|
2921
|
+
* - semantics
|
|
2922
|
+
* - full-text
|
|
2923
|
+
*/
|
|
2924
|
+
searchMode?: InputMaybe<Scalars['String']['input']>;
|
|
2902
2925
|
};
|
|
2903
2926
|
export type UpdateAgentMetadataInput = {
|
|
2904
2927
|
/** Background, 智能体对话背景,图片访问路径 */
|
|
@@ -3779,6 +3802,8 @@ export type GetAgentQuery = {
|
|
|
3779
3802
|
maxLength?: number | null;
|
|
3780
3803
|
maxTokens?: number | null;
|
|
3781
3804
|
conversionWindowSize?: number | null;
|
|
3805
|
+
onDemand?: boolean | null;
|
|
3806
|
+
searchMode?: string | null;
|
|
3782
3807
|
scoreThreshold?: number | null;
|
|
3783
3808
|
numDocuments?: number | null;
|
|
3784
3809
|
docNullReturn?: string | null;
|
|
@@ -8127,6 +8152,17 @@ export type ListSftMetricQuery = {
|
|
|
8127
8152
|
} | null>;
|
|
8128
8153
|
} | null;
|
|
8129
8154
|
};
|
|
8155
|
+
export type GetSftMonitorQueryVariables = Exact<{
|
|
8156
|
+
name: Scalars['String']['input'];
|
|
8157
|
+
namespace: Scalars['String']['input'];
|
|
8158
|
+
}>;
|
|
8159
|
+
export type GetSftMonitorQuery = {
|
|
8160
|
+
__typename?: 'Query';
|
|
8161
|
+
SFT?: {
|
|
8162
|
+
__typename?: 'SFTQuery';
|
|
8163
|
+
getSFTMonitor: string;
|
|
8164
|
+
} | null;
|
|
8165
|
+
};
|
|
8130
8166
|
export type CreateSftMutationVariables = Exact<{
|
|
8131
8167
|
input: CreateSftInput;
|
|
8132
8168
|
}>;
|
|
@@ -9241,6 +9277,7 @@ export declare const LoadVersionFilesDocument: import("../node_modules/.pnpm/gra
|
|
|
9241
9277
|
export declare const ListSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9242
9278
|
export declare const GetSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9243
9279
|
export declare const ListSftMetricDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9280
|
+
export declare const GetSftMonitorDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9244
9281
|
export declare const CreateSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9245
9282
|
export declare const UpdateSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
9246
9283
|
export declare const DeleteSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -9369,6 +9406,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
9369
9406
|
listSFT(variables: ListSftQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListSftQuery>;
|
|
9370
9407
|
getSFT(variables: GetSftQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetSftQuery>;
|
|
9371
9408
|
listSFTMetric(variables: ListSftMetricQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListSftMetricQuery>;
|
|
9409
|
+
getSFTMonitor(variables: GetSftMonitorQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetSftMonitorQuery>;
|
|
9372
9410
|
createSFT(variables: CreateSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateSftMutation>;
|
|
9373
9411
|
updateSFT(variables: UpdateSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateSftMutation>;
|
|
9374
9412
|
deleteSFT(variables: DeleteSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteSftMutation>;
|
|
@@ -9446,6 +9484,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
9446
9484
|
useListSft(variables: ListSftQueryVariables, config?: SWRConfigInterface<ListSftQuery, ClientError>): import("./useSWR").SWRResponsePro<ListSftQuery, ClientError>;
|
|
9447
9485
|
useGetSft(variables: GetSftQueryVariables, config?: SWRConfigInterface<GetSftQuery, ClientError>): import("./useSWR").SWRResponsePro<GetSftQuery, ClientError>;
|
|
9448
9486
|
useListSftMetric(variables: ListSftMetricQueryVariables, config?: SWRConfigInterface<ListSftMetricQuery, ClientError>): import("./useSWR").SWRResponsePro<ListSftMetricQuery, ClientError>;
|
|
9487
|
+
useGetSftMonitor(variables: GetSftMonitorQueryVariables, config?: SWRConfigInterface<GetSftMonitorQuery, ClientError>): import("./useSWR").SWRResponsePro<GetSftMonitorQuery, ClientError>;
|
|
9449
9488
|
useGetVersionedDataset(variables: GetVersionedDatasetQueryVariables, config?: SWRConfigInterface<GetVersionedDatasetQuery, ClientError>): import("./useSWR").SWRResponsePro<GetVersionedDatasetQuery, ClientError>;
|
|
9450
9489
|
useListVersionedDatasets(variables: ListVersionedDatasetsQueryVariables, config?: SWRConfigInterface<ListVersionedDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListVersionedDatasetsQuery, ClientError>;
|
|
9451
9490
|
useListWorkers(variables: ListWorkersQueryVariables, config?: SWRConfigInterface<ListWorkersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListWorkersQuery, ClientError>;
|
|
@@ -9803,6 +9842,10 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
9803
9842
|
listSFTMetric(variables: Exact<{
|
|
9804
9843
|
kind: string;
|
|
9805
9844
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListSftMetricQuery>;
|
|
9845
|
+
getSFTMonitor(variables: Exact<{
|
|
9846
|
+
name: string;
|
|
9847
|
+
namespace: string;
|
|
9848
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetSftMonitorQuery>;
|
|
9806
9849
|
createSFT(variables: Exact<{
|
|
9807
9850
|
input: CreateSftInput;
|
|
9808
9851
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateSftMutation>;
|