@yuntijs/arcadia-bff-sdk 1.2.151 → 1.2.152
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 +21 -0
- package/dist/cjs/sdk.d.ts +31 -0
- package/dist/cjs/sdk.js +19 -0
- package/dist/cjs/taro.d.ts +15 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/sdk.d.ts +31 -0
- package/dist/esm/sdk.js +108 -97
- package/dist/esm/taro.d.ts +15 -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
|
@@ -98,6 +98,9 @@ export declare const sdk: {
|
|
|
98
98
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
99
99
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
100
100
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
101
|
+
useGetKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
102
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
103
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError>;
|
|
101
104
|
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
102
105
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
103
106
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -437,6 +440,9 @@ export declare const sdk: {
|
|
|
437
440
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
438
441
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
439
442
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
443
|
+
getKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
444
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
445
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery>;
|
|
440
446
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
441
447
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
442
448
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
@@ -972,6 +978,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
972
978
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
973
979
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
974
980
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
981
|
+
getKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
982
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
983
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery>;
|
|
975
984
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
976
985
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
977
986
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
@@ -1383,6 +1392,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1383
1392
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1384
1393
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1385
1394
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
1395
|
+
useGetKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
1396
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
1397
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError>;
|
|
1386
1398
|
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1387
1399
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1388
1400
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -1722,6 +1734,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1722
1734
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1723
1735
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1724
1736
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
1737
|
+
getKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
1738
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
1739
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery>;
|
|
1725
1740
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1726
1741
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1727
1742
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
@@ -2133,6 +2148,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2133
2148
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
2134
2149
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
2135
2150
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
2151
|
+
useGetKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
2152
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
2153
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError>;
|
|
2136
2154
|
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
2137
2155
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
2138
2156
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -2472,6 +2490,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2472
2490
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
2473
2491
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
2474
2492
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
2493
|
+
getKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
2494
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
2495
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery>;
|
|
2475
2496
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
2476
2497
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
2477
2498
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -1666,6 +1666,12 @@ export type KnowledgeBaseFileChunk = {
|
|
|
1666
1666
|
processingPhaseReason: Scalars['String']['output'];
|
|
1667
1667
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1668
1668
|
};
|
|
1669
|
+
export type KnowledgeBaseFileEmbedResult = {
|
|
1670
|
+
__typename?: 'KnowledgeBaseFileEmbedResult';
|
|
1671
|
+
failedCount?: Maybe<Scalars['Int']['output']>;
|
|
1672
|
+
pendingCount?: Maybe<Scalars['Int']['output']>;
|
|
1673
|
+
succeedCount?: Maybe<Scalars['Int']['output']>;
|
|
1674
|
+
};
|
|
1669
1675
|
export type KnowledgeBaseMutation = {
|
|
1670
1676
|
__typename?: 'KnowledgeBaseMutation';
|
|
1671
1677
|
createKnowledgeBase: KnowledgeBase;
|
|
@@ -1729,6 +1735,7 @@ export type KnowledgeBaseQuery = {
|
|
|
1729
1735
|
__typename?: 'KnowledgeBaseQuery';
|
|
1730
1736
|
getKnowledgeBase: KnowledgeBase;
|
|
1731
1737
|
getKnowledgeBaseFile: KnowledgeBaseFile;
|
|
1738
|
+
getKnowledgeBaseFileEmbedResult: KnowledgeBaseFileEmbedResult;
|
|
1732
1739
|
getKnowledgeBasePrecisionTesting: PrecisionTestingRecord;
|
|
1733
1740
|
listKnowledgeBaseFileChunks: PaginatedResult;
|
|
1734
1741
|
listKnowledgeBaseFiles: PaginatedResult;
|
|
@@ -1744,6 +1751,9 @@ export type KnowledgeBaseQueryGetKnowledgeBaseArgs = {
|
|
|
1744
1751
|
export type KnowledgeBaseQueryGetKnowledgeBaseFileArgs = {
|
|
1745
1752
|
id: Scalars['String']['input'];
|
|
1746
1753
|
};
|
|
1754
|
+
export type KnowledgeBaseQueryGetKnowledgeBaseFileEmbedResultArgs = {
|
|
1755
|
+
input: ListKnowledgeBaseFilesInput;
|
|
1756
|
+
};
|
|
1747
1757
|
export type KnowledgeBaseQueryGetKnowledgeBasePrecisionTestingArgs = {
|
|
1748
1758
|
id: Scalars['String']['input'];
|
|
1749
1759
|
};
|
|
@@ -6462,6 +6472,21 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
6462
6472
|
};
|
|
6463
6473
|
} | null;
|
|
6464
6474
|
};
|
|
6475
|
+
export type GetKnowledgeBaseFileEmbedResultQueryVariables = Exact<{
|
|
6476
|
+
input: ListKnowledgeBaseFilesInput;
|
|
6477
|
+
}>;
|
|
6478
|
+
export type GetKnowledgeBaseFileEmbedResultQuery = {
|
|
6479
|
+
__typename?: 'Query';
|
|
6480
|
+
KnowledgeBase?: {
|
|
6481
|
+
__typename?: 'KnowledgeBaseQuery';
|
|
6482
|
+
getKnowledgeBaseFileEmbedResult: {
|
|
6483
|
+
__typename?: 'KnowledgeBaseFileEmbedResult';
|
|
6484
|
+
succeedCount?: number | null;
|
|
6485
|
+
failedCount?: number | null;
|
|
6486
|
+
pendingCount?: number | null;
|
|
6487
|
+
};
|
|
6488
|
+
} | null;
|
|
6489
|
+
};
|
|
6465
6490
|
export type ShowStructuredFileInfoQueryVariables = Exact<{
|
|
6466
6491
|
input: CreateKnowledgeBaseStructuredFileInput;
|
|
6467
6492
|
}>;
|
|
@@ -10921,6 +10946,7 @@ export declare const CreateKnowledgeBaseFileChunkDocument: import("../node_modul
|
|
|
10921
10946
|
export declare const UpdateKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10922
10947
|
export declare const DeleteKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10923
10948
|
export declare const ListKnowledgeBaseFileChunksDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10949
|
+
export declare const GetKnowledgeBaseFileEmbedResultDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10924
10950
|
export declare const ShowStructuredFileInfoDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10925
10951
|
export declare const CreateKnowledgeBaseStructuredFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10926
10952
|
export declare const CreateKnowledgeBaseStructuredFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -11075,6 +11101,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
11075
11101
|
updateKnowledgeBaseFileChunk(variables: UpdateKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateKnowledgeBaseFileChunkMutation>;
|
|
11076
11102
|
deleteKnowledgeBaseFileChunk(variables: DeleteKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBaseFileChunkMutation>;
|
|
11077
11103
|
listKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBaseFileChunksQuery>;
|
|
11104
|
+
getKnowledgeBaseFileEmbedResult(variables: GetKnowledgeBaseFileEmbedResultQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetKnowledgeBaseFileEmbedResultQuery>;
|
|
11078
11105
|
showStructuredFileInfo(variables: ShowStructuredFileInfoQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ShowStructuredFileInfoQuery>;
|
|
11079
11106
|
createKnowledgeBaseStructuredFiles(variables: CreateKnowledgeBaseStructuredFilesMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseStructuredFilesMutation>;
|
|
11080
11107
|
createKnowledgeBaseStructuredFileChunk(variables: CreateKnowledgeBaseStructuredFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseStructuredFileChunkMutation>;
|
|
@@ -11197,6 +11224,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11197
11224
|
useGetKnowledgeBaseFile(variables: GetKnowledgeBaseFileQueryVariables, config?: SWRConfigInterface<GetKnowledgeBaseFileQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBaseFileQuery, ClientError>;
|
|
11198
11225
|
useListKnowledgeBaseFiles(variables: ListKnowledgeBaseFilesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFilesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFilesQuery, ClientError>;
|
|
11199
11226
|
useListKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFileChunksQuery, ClientError>;
|
|
11227
|
+
useGetKnowledgeBaseFileEmbedResult(variables: GetKnowledgeBaseFileEmbedResultQueryVariables, config?: SWRConfigInterface<GetKnowledgeBaseFileEmbedResultQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBaseFileEmbedResultQuery, ClientError>;
|
|
11200
11228
|
useShowStructuredFileInfo(variables: ShowStructuredFileInfoQueryVariables, config?: SWRConfigInterface<ShowStructuredFileInfoQuery, ClientError>): import("./useSWR").SWRResponsePro<ShowStructuredFileInfoQuery, ClientError>;
|
|
11201
11229
|
useListKnowledgeBaseStructuredFileChunks(variables: ListKnowledgeBaseStructuredFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseStructuredFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseStructuredFileChunksQuery, ClientError>;
|
|
11202
11230
|
useGetKnowledgeBasePrecisionTesting(variables: GetKnowledgeBasePrecisionTestingQueryVariables, config?: SWRConfigInterface<GetKnowledgeBasePrecisionTestingQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBasePrecisionTestingQuery, ClientError>;
|
|
@@ -11432,6 +11460,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11432
11460
|
listKnowledgeBaseFileChunks(variables: Exact<{
|
|
11433
11461
|
input: ListKnowledgeBaseFileChunksInput;
|
|
11434
11462
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBaseFileChunksQuery>;
|
|
11463
|
+
getKnowledgeBaseFileEmbedResult(variables: Exact<{
|
|
11464
|
+
input: ListKnowledgeBaseFilesInput;
|
|
11465
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetKnowledgeBaseFileEmbedResultQuery>;
|
|
11435
11466
|
showStructuredFileInfo(variables: Exact<{
|
|
11436
11467
|
input: CreateKnowledgeBaseStructuredFileInput;
|
|
11437
11468
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ShowStructuredFileInfoQuery>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -101,6 +101,7 @@ __export(sdk_exports, {
|
|
|
101
101
|
GetGptStoreDocument: () => GetGptStoreDocument,
|
|
102
102
|
GetKnowledgeBaseDocument: () => GetKnowledgeBaseDocument,
|
|
103
103
|
GetKnowledgeBaseFileDocument: () => GetKnowledgeBaseFileDocument,
|
|
104
|
+
GetKnowledgeBaseFileEmbedResultDocument: () => GetKnowledgeBaseFileEmbedResultDocument,
|
|
104
105
|
GetKnowledgeBasePrecisionTestingDocument: () => GetKnowledgeBasePrecisionTestingDocument,
|
|
105
106
|
GetLlmDocument: () => GetLlmDocument,
|
|
106
107
|
GetModelDocument: () => GetModelDocument,
|
|
@@ -1392,6 +1393,17 @@ var ListKnowledgeBaseFileChunksDocument = import_graphql_tag.default`
|
|
|
1392
1393
|
}
|
|
1393
1394
|
}
|
|
1394
1395
|
`;
|
|
1396
|
+
var GetKnowledgeBaseFileEmbedResultDocument = import_graphql_tag.default`
|
|
1397
|
+
query getKnowledgeBaseFileEmbedResult($input: ListKnowledgeBaseFilesInput!) {
|
|
1398
|
+
KnowledgeBase {
|
|
1399
|
+
getKnowledgeBaseFileEmbedResult(input: $input) {
|
|
1400
|
+
succeedCount
|
|
1401
|
+
failedCount
|
|
1402
|
+
pendingCount
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1406
|
+
`;
|
|
1395
1407
|
var ShowStructuredFileInfoDocument = import_graphql_tag.default`
|
|
1396
1408
|
query showStructuredFileInfo($input: CreateKnowledgeBaseStructuredFileInput!) {
|
|
1397
1409
|
KnowledgeBase {
|
|
@@ -3934,6 +3946,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
3934
3946
|
listKnowledgeBaseFileChunks(variables, requestHeaders) {
|
|
3935
3947
|
return withWrapper((wrappedRequestHeaders) => client.request(ListKnowledgeBaseFileChunksDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listKnowledgeBaseFileChunks", "query", variables);
|
|
3936
3948
|
},
|
|
3949
|
+
getKnowledgeBaseFileEmbedResult(variables, requestHeaders) {
|
|
3950
|
+
return withWrapper((wrappedRequestHeaders) => client.request(GetKnowledgeBaseFileEmbedResultDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getKnowledgeBaseFileEmbedResult", "query", variables);
|
|
3951
|
+
},
|
|
3937
3952
|
showStructuredFileInfo(variables, requestHeaders) {
|
|
3938
3953
|
return withWrapper((wrappedRequestHeaders) => client.request(ShowStructuredFileInfoDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "showStructuredFileInfo", "query", variables);
|
|
3939
3954
|
},
|
|
@@ -4298,6 +4313,9 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
4298
4313
|
useListKnowledgeBaseFileChunks(variables, config) {
|
|
4299
4314
|
return (0, import_useSWR.default)(genKey("ListKnowledgeBaseFileChunks", variables), () => sdk.listKnowledgeBaseFileChunks(variables), config);
|
|
4300
4315
|
},
|
|
4316
|
+
useGetKnowledgeBaseFileEmbedResult(variables, config) {
|
|
4317
|
+
return (0, import_useSWR.default)(genKey("GetKnowledgeBaseFileEmbedResult", variables), () => sdk.getKnowledgeBaseFileEmbedResult(variables), config);
|
|
4318
|
+
},
|
|
4301
4319
|
useShowStructuredFileInfo(variables, config) {
|
|
4302
4320
|
return (0, import_useSWR.default)(genKey("ShowStructuredFileInfo", variables), () => sdk.showStructuredFileInfo(variables), config);
|
|
4303
4321
|
},
|
|
@@ -4500,6 +4518,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
4500
4518
|
GetGptStoreDocument,
|
|
4501
4519
|
GetKnowledgeBaseDocument,
|
|
4502
4520
|
GetKnowledgeBaseFileDocument,
|
|
4521
|
+
GetKnowledgeBaseFileEmbedResultDocument,
|
|
4503
4522
|
GetKnowledgeBasePrecisionTestingDocument,
|
|
4504
4523
|
GetLlmDocument,
|
|
4505
4524
|
GetModelDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -225,6 +225,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
225
225
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
226
226
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
227
227
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
228
|
+
getKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
229
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
230
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery>;
|
|
228
231
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
229
232
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
230
233
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
@@ -636,6 +639,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
636
639
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
637
640
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
638
641
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
642
|
+
useGetKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
643
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
644
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError>;
|
|
639
645
|
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
640
646
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
641
647
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -975,6 +981,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
975
981
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
976
982
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
977
983
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
984
|
+
getKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
985
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
986
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery>;
|
|
978
987
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
979
988
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
980
989
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
@@ -1386,6 +1395,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1386
1395
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1387
1396
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1388
1397
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
1398
|
+
useGetKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
1399
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
1400
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError>;
|
|
1389
1401
|
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1390
1402
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1391
1403
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -1725,6 +1737,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1725
1737
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1726
1738
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1727
1739
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
1740
|
+
getKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
1741
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
1742
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery>;
|
|
1728
1743
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1729
1744
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1730
1745
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -98,6 +98,9 @@ export declare const sdk: {
|
|
|
98
98
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
99
99
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
100
100
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
101
|
+
useGetKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
102
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
103
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError>;
|
|
101
104
|
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
102
105
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
103
106
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -437,6 +440,9 @@ export declare const sdk: {
|
|
|
437
440
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
438
441
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
439
442
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
443
|
+
getKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
444
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
445
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery>;
|
|
440
446
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
441
447
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
442
448
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
@@ -972,6 +978,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
972
978
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
973
979
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
974
980
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
981
|
+
getKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
982
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
983
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery>;
|
|
975
984
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
976
985
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
977
986
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
@@ -1383,6 +1392,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1383
1392
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1384
1393
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1385
1394
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
1395
|
+
useGetKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
1396
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
1397
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError>;
|
|
1386
1398
|
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1387
1399
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1388
1400
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -1722,6 +1734,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1722
1734
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
1723
1735
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
1724
1736
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
1737
|
+
getKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
1738
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
1739
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery>;
|
|
1725
1740
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
1726
1741
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
1727
1742
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
|
@@ -2133,6 +2148,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2133
2148
|
useListKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
2134
2149
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
2135
2150
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListKnowledgeBaseFileChunksQuery, import("graphql-request/src/types").ClientError>;
|
|
2151
|
+
useGetKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
2152
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
2153
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery, import("graphql-request/src/types").ClientError>;
|
|
2136
2154
|
useShowStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
2137
2155
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
2138
2156
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ShowStructuredFileInfoQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -2472,6 +2490,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2472
2490
|
listKnowledgeBaseFileChunks(variables: import("./sdk").Exact<{
|
|
2473
2491
|
input: import("./sdk").ListKnowledgeBaseFileChunksInput;
|
|
2474
2492
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListKnowledgeBaseFileChunksQuery>;
|
|
2493
|
+
getKnowledgeBaseFileEmbedResult(variables: import("./sdk").Exact<{
|
|
2494
|
+
input: import("./sdk").ListKnowledgeBaseFilesInput;
|
|
2495
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetKnowledgeBaseFileEmbedResultQuery>;
|
|
2475
2496
|
showStructuredFileInfo(variables: import("./sdk").Exact<{
|
|
2476
2497
|
input: import("./sdk").CreateKnowledgeBaseStructuredFileInput;
|
|
2477
2498
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ShowStructuredFileInfoQuery>;
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -1666,6 +1666,12 @@ export type KnowledgeBaseFileChunk = {
|
|
|
1666
1666
|
processingPhaseReason: Scalars['String']['output'];
|
|
1667
1667
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1668
1668
|
};
|
|
1669
|
+
export type KnowledgeBaseFileEmbedResult = {
|
|
1670
|
+
__typename?: 'KnowledgeBaseFileEmbedResult';
|
|
1671
|
+
failedCount?: Maybe<Scalars['Int']['output']>;
|
|
1672
|
+
pendingCount?: Maybe<Scalars['Int']['output']>;
|
|
1673
|
+
succeedCount?: Maybe<Scalars['Int']['output']>;
|
|
1674
|
+
};
|
|
1669
1675
|
export type KnowledgeBaseMutation = {
|
|
1670
1676
|
__typename?: 'KnowledgeBaseMutation';
|
|
1671
1677
|
createKnowledgeBase: KnowledgeBase;
|
|
@@ -1729,6 +1735,7 @@ export type KnowledgeBaseQuery = {
|
|
|
1729
1735
|
__typename?: 'KnowledgeBaseQuery';
|
|
1730
1736
|
getKnowledgeBase: KnowledgeBase;
|
|
1731
1737
|
getKnowledgeBaseFile: KnowledgeBaseFile;
|
|
1738
|
+
getKnowledgeBaseFileEmbedResult: KnowledgeBaseFileEmbedResult;
|
|
1732
1739
|
getKnowledgeBasePrecisionTesting: PrecisionTestingRecord;
|
|
1733
1740
|
listKnowledgeBaseFileChunks: PaginatedResult;
|
|
1734
1741
|
listKnowledgeBaseFiles: PaginatedResult;
|
|
@@ -1744,6 +1751,9 @@ export type KnowledgeBaseQueryGetKnowledgeBaseArgs = {
|
|
|
1744
1751
|
export type KnowledgeBaseQueryGetKnowledgeBaseFileArgs = {
|
|
1745
1752
|
id: Scalars['String']['input'];
|
|
1746
1753
|
};
|
|
1754
|
+
export type KnowledgeBaseQueryGetKnowledgeBaseFileEmbedResultArgs = {
|
|
1755
|
+
input: ListKnowledgeBaseFilesInput;
|
|
1756
|
+
};
|
|
1747
1757
|
export type KnowledgeBaseQueryGetKnowledgeBasePrecisionTestingArgs = {
|
|
1748
1758
|
id: Scalars['String']['input'];
|
|
1749
1759
|
};
|
|
@@ -6462,6 +6472,21 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
6462
6472
|
};
|
|
6463
6473
|
} | null;
|
|
6464
6474
|
};
|
|
6475
|
+
export type GetKnowledgeBaseFileEmbedResultQueryVariables = Exact<{
|
|
6476
|
+
input: ListKnowledgeBaseFilesInput;
|
|
6477
|
+
}>;
|
|
6478
|
+
export type GetKnowledgeBaseFileEmbedResultQuery = {
|
|
6479
|
+
__typename?: 'Query';
|
|
6480
|
+
KnowledgeBase?: {
|
|
6481
|
+
__typename?: 'KnowledgeBaseQuery';
|
|
6482
|
+
getKnowledgeBaseFileEmbedResult: {
|
|
6483
|
+
__typename?: 'KnowledgeBaseFileEmbedResult';
|
|
6484
|
+
succeedCount?: number | null;
|
|
6485
|
+
failedCount?: number | null;
|
|
6486
|
+
pendingCount?: number | null;
|
|
6487
|
+
};
|
|
6488
|
+
} | null;
|
|
6489
|
+
};
|
|
6465
6490
|
export type ShowStructuredFileInfoQueryVariables = Exact<{
|
|
6466
6491
|
input: CreateKnowledgeBaseStructuredFileInput;
|
|
6467
6492
|
}>;
|
|
@@ -10921,6 +10946,7 @@ export declare const CreateKnowledgeBaseFileChunkDocument: import("../node_modul
|
|
|
10921
10946
|
export declare const UpdateKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10922
10947
|
export declare const DeleteKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10923
10948
|
export declare const ListKnowledgeBaseFileChunksDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10949
|
+
export declare const GetKnowledgeBaseFileEmbedResultDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10924
10950
|
export declare const ShowStructuredFileInfoDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10925
10951
|
export declare const CreateKnowledgeBaseStructuredFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10926
10952
|
export declare const CreateKnowledgeBaseStructuredFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -11075,6 +11101,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
11075
11101
|
updateKnowledgeBaseFileChunk(variables: UpdateKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateKnowledgeBaseFileChunkMutation>;
|
|
11076
11102
|
deleteKnowledgeBaseFileChunk(variables: DeleteKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBaseFileChunkMutation>;
|
|
11077
11103
|
listKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBaseFileChunksQuery>;
|
|
11104
|
+
getKnowledgeBaseFileEmbedResult(variables: GetKnowledgeBaseFileEmbedResultQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetKnowledgeBaseFileEmbedResultQuery>;
|
|
11078
11105
|
showStructuredFileInfo(variables: ShowStructuredFileInfoQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ShowStructuredFileInfoQuery>;
|
|
11079
11106
|
createKnowledgeBaseStructuredFiles(variables: CreateKnowledgeBaseStructuredFilesMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseStructuredFilesMutation>;
|
|
11080
11107
|
createKnowledgeBaseStructuredFileChunk(variables: CreateKnowledgeBaseStructuredFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseStructuredFileChunkMutation>;
|
|
@@ -11197,6 +11224,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11197
11224
|
useGetKnowledgeBaseFile(variables: GetKnowledgeBaseFileQueryVariables, config?: SWRConfigInterface<GetKnowledgeBaseFileQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBaseFileQuery, ClientError>;
|
|
11198
11225
|
useListKnowledgeBaseFiles(variables: ListKnowledgeBaseFilesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFilesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFilesQuery, ClientError>;
|
|
11199
11226
|
useListKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFileChunksQuery, ClientError>;
|
|
11227
|
+
useGetKnowledgeBaseFileEmbedResult(variables: GetKnowledgeBaseFileEmbedResultQueryVariables, config?: SWRConfigInterface<GetKnowledgeBaseFileEmbedResultQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBaseFileEmbedResultQuery, ClientError>;
|
|
11200
11228
|
useShowStructuredFileInfo(variables: ShowStructuredFileInfoQueryVariables, config?: SWRConfigInterface<ShowStructuredFileInfoQuery, ClientError>): import("./useSWR").SWRResponsePro<ShowStructuredFileInfoQuery, ClientError>;
|
|
11201
11229
|
useListKnowledgeBaseStructuredFileChunks(variables: ListKnowledgeBaseStructuredFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseStructuredFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseStructuredFileChunksQuery, ClientError>;
|
|
11202
11230
|
useGetKnowledgeBasePrecisionTesting(variables: GetKnowledgeBasePrecisionTestingQueryVariables, config?: SWRConfigInterface<GetKnowledgeBasePrecisionTestingQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBasePrecisionTestingQuery, ClientError>;
|
|
@@ -11432,6 +11460,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11432
11460
|
listKnowledgeBaseFileChunks(variables: Exact<{
|
|
11433
11461
|
input: ListKnowledgeBaseFileChunksInput;
|
|
11434
11462
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBaseFileChunksQuery>;
|
|
11463
|
+
getKnowledgeBaseFileEmbedResult(variables: Exact<{
|
|
11464
|
+
input: ListKnowledgeBaseFilesInput;
|
|
11465
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetKnowledgeBaseFileEmbedResultQuery>;
|
|
11435
11466
|
showStructuredFileInfo(variables: Exact<{
|
|
11436
11467
|
input: CreateKnowledgeBaseStructuredFileInput;
|
|
11437
11468
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ShowStructuredFileInfoQuery>;
|