@yuntijs/arcadia-bff-sdk 1.1.7 → 1.1.8
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 +73 -4
- package/dist/esm/sdk.js +4 -4
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -320,6 +320,10 @@ export type CreateEmbedderInput = {
|
|
|
320
320
|
export type CreateKnowledgeBaseInput = {
|
|
321
321
|
/** 知识库资源注释 */
|
|
322
322
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
323
|
+
/** chunkOverlap为知识库作文档拆分时相邻块的交集 */
|
|
324
|
+
chunkOverlap?: InputMaybe<Scalars['Int']['input']>;
|
|
325
|
+
/** chunkSize为知识库做文档拆分时的块大小 */
|
|
326
|
+
chunkSize?: InputMaybe<Scalars['Int']['input']>;
|
|
323
327
|
/** 知识库资源描述 */
|
|
324
328
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
325
329
|
/** 知识库资源展示名称作为显示,并提供编辑 */
|
|
@@ -885,6 +889,11 @@ export type DeleteVersionedDatasetInput = {
|
|
|
885
889
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
886
890
|
namespace: Scalars['String']['input'];
|
|
887
891
|
};
|
|
892
|
+
export type DuplicateRagInput = {
|
|
893
|
+
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
894
|
+
name: Scalars['String']['input'];
|
|
895
|
+
namespace: Scalars['String']['input'];
|
|
896
|
+
};
|
|
888
897
|
export type Embedder = {
|
|
889
898
|
__typename?: 'Embedder';
|
|
890
899
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
@@ -1034,6 +1043,10 @@ export type KnowledgeBase = {
|
|
|
1034
1043
|
__typename?: 'KnowledgeBase';
|
|
1035
1044
|
/** 添加一些辅助性记录信息 */
|
|
1036
1045
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
1046
|
+
/** chunkOverlap为知识库作文档拆分时相邻块的交集 */
|
|
1047
|
+
chunkOverlap?: Maybe<Scalars['Int']['output']>;
|
|
1048
|
+
/** chunkSize为知识库做文档拆分时的块大小 */
|
|
1049
|
+
chunkSize?: Maybe<Scalars['Int']['output']>;
|
|
1037
1050
|
/** 创建时间 */
|
|
1038
1051
|
creationTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
1039
1052
|
/**
|
|
@@ -1748,6 +1761,7 @@ export type RagMutation = {
|
|
|
1748
1761
|
__typename?: 'RAGMutation';
|
|
1749
1762
|
createRAG: Rag;
|
|
1750
1763
|
deleteRAG?: Maybe<Scalars['Void']['output']>;
|
|
1764
|
+
duplicateRAG: Rag;
|
|
1751
1765
|
updateRAG: Rag;
|
|
1752
1766
|
};
|
|
1753
1767
|
export type RagMutationCreateRagArgs = {
|
|
@@ -1756,6 +1770,9 @@ export type RagMutationCreateRagArgs = {
|
|
|
1756
1770
|
export type RagMutationDeleteRagArgs = {
|
|
1757
1771
|
input: DeleteRagInput;
|
|
1758
1772
|
};
|
|
1773
|
+
export type RagMutationDuplicateRagArgs = {
|
|
1774
|
+
input: DuplicateRagInput;
|
|
1775
|
+
};
|
|
1759
1776
|
export type RagMutationUpdateRagArgs = {
|
|
1760
1777
|
input: UpdateRagInput;
|
|
1761
1778
|
};
|
|
@@ -1856,16 +1873,56 @@ export type SelectorInput = {
|
|
|
1856
1873
|
/** Tool 应用和Agent中用到的工具 */
|
|
1857
1874
|
export type Tool = {
|
|
1858
1875
|
__typename?: 'Tool';
|
|
1859
|
-
/**
|
|
1876
|
+
/**
|
|
1877
|
+
* 名称,需要严格大小写一致,可选项为:"Bing Search API","calculator","Weather Query API","Web Scraper"
|
|
1878
|
+
* - "Bing Search API" bing搜索工具
|
|
1879
|
+
* - "calculator" 计算器
|
|
1880
|
+
* - "Weather Query API" 天气查询
|
|
1881
|
+
* - "Web Scraper" 网页爬取
|
|
1882
|
+
*/
|
|
1860
1883
|
name?: Maybe<Scalars['String']['output']>;
|
|
1861
|
-
/**
|
|
1884
|
+
/**
|
|
1885
|
+
* params 参数,需要严格大小写一致
|
|
1886
|
+
* "Bing Search API"
|
|
1887
|
+
* - apiKey:密钥,默认提供
|
|
1888
|
+
* - count:返回数目,默认为5
|
|
1889
|
+
* - scraperPage:是否抓取bing搜到的网页的内容,默认为true
|
|
1890
|
+
* "calculator" 没有参数
|
|
1891
|
+
* "Weather Query API"
|
|
1892
|
+
* - apiKey:密钥,默认提供;
|
|
1893
|
+
* "Web Scraper"
|
|
1894
|
+
* - delay:抓取时间间隔,秒,默认3
|
|
1895
|
+
* - async:是否异步抓取,是或者否,默认true
|
|
1896
|
+
* - handleLinks:是否从网页内的链接,继续抓取,是或者否,默认false
|
|
1897
|
+
* - blacklist:黑名单列表,用逗号隔开的字符串,默认是login,signup,signin,register,logout,download,redirect,表示这些页面都不抓取
|
|
1898
|
+
*/
|
|
1862
1899
|
params?: Maybe<Scalars['Map']['output']>;
|
|
1863
1900
|
};
|
|
1864
1901
|
/** ToolInput 应用和Agent中用到的工具 */
|
|
1865
1902
|
export type ToolInput = {
|
|
1866
|
-
/**
|
|
1903
|
+
/**
|
|
1904
|
+
* 名称,需要严格大小写一致,可选项为:"Bing Search API","calculator","Weather Query API","Web Scraper"
|
|
1905
|
+
* - "Bing Search API" bing搜索工具
|
|
1906
|
+
* - "calculator" 计算器
|
|
1907
|
+
* - "Weather Query API" 天气查询
|
|
1908
|
+
* - "Web Scraper" 网页爬取
|
|
1909
|
+
*/
|
|
1867
1910
|
name: Scalars['String']['input'];
|
|
1868
|
-
/**
|
|
1911
|
+
/**
|
|
1912
|
+
* params 参数,可选,需要严格大小写一致
|
|
1913
|
+
* "Bing Search API"
|
|
1914
|
+
* - apiKey:密钥,默认提供
|
|
1915
|
+
* - count:返回数目,默认为5
|
|
1916
|
+
* - scraperPage:是否抓取bing搜到的网页的内容,默认为true
|
|
1917
|
+
* "calculator" 没有参数
|
|
1918
|
+
* "Weather Query API"
|
|
1919
|
+
* - apiKey:密钥,默认提供;
|
|
1920
|
+
* "Web Scraper"
|
|
1921
|
+
* - delay:抓取时间间隔,秒,默认3
|
|
1922
|
+
* - async:是否异步抓取,是或者否,默认true
|
|
1923
|
+
* - handleLinks:是否从网页内的链接,继续抓取,是或者否,默认false
|
|
1924
|
+
* - blacklist:黑名单列表,用逗号隔开的字符串,默认是login,signup,signin,register,logout,download,redirect,表示这些页面都不抓取
|
|
1925
|
+
*/
|
|
1869
1926
|
params?: InputMaybe<Scalars['Map']['input']>;
|
|
1870
1927
|
};
|
|
1871
1928
|
export type TypedObjectReference = {
|
|
@@ -2027,6 +2084,10 @@ export type UpdateEmbedderInput = {
|
|
|
2027
2084
|
export type UpdateKnowledgeBaseInput = {
|
|
2028
2085
|
/** 知识库资源注释 */
|
|
2029
2086
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
2087
|
+
/** chunkOverlap为知识库作文档拆分时相邻块的交集 */
|
|
2088
|
+
chunkOverlap?: InputMaybe<Scalars['Int']['input']>;
|
|
2089
|
+
/** chunkSize为知识库做文档拆分时的块大小 */
|
|
2090
|
+
chunkSize?: InputMaybe<Scalars['Int']['input']>;
|
|
2030
2091
|
/** 如不更新,则为空 */
|
|
2031
2092
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
2032
2093
|
/** 如不更新,则为空 */
|
|
@@ -3594,6 +3655,8 @@ export type ListKnowledgeBasesQuery = {
|
|
|
3594
3655
|
creator?: string | null;
|
|
3595
3656
|
displayName?: string | null;
|
|
3596
3657
|
description?: string | null;
|
|
3658
|
+
chunkSize?: number | null;
|
|
3659
|
+
chunkOverlap?: number | null;
|
|
3597
3660
|
status?: string | null;
|
|
3598
3661
|
reason?: string | null;
|
|
3599
3662
|
message?: string | null;
|
|
@@ -3665,6 +3728,8 @@ export type GetKnowledgeBaseQuery = {
|
|
|
3665
3728
|
creator?: string | null;
|
|
3666
3729
|
displayName?: string | null;
|
|
3667
3730
|
description?: string | null;
|
|
3731
|
+
chunkSize?: number | null;
|
|
3732
|
+
chunkOverlap?: number | null;
|
|
3668
3733
|
status?: string | null;
|
|
3669
3734
|
reason?: string | null;
|
|
3670
3735
|
message?: string | null;
|
|
@@ -3720,6 +3785,8 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
3720
3785
|
creator?: string | null;
|
|
3721
3786
|
displayName?: string | null;
|
|
3722
3787
|
description?: string | null;
|
|
3788
|
+
chunkSize?: number | null;
|
|
3789
|
+
chunkOverlap?: number | null;
|
|
3723
3790
|
status?: string | null;
|
|
3724
3791
|
reason?: string | null;
|
|
3725
3792
|
message?: string | null;
|
|
@@ -3775,6 +3842,8 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
3775
3842
|
creator?: string | null;
|
|
3776
3843
|
displayName?: string | null;
|
|
3777
3844
|
description?: string | null;
|
|
3845
|
+
chunkSize?: number | null;
|
|
3846
|
+
chunkOverlap?: number | null;
|
|
3778
3847
|
status?: string | null;
|
|
3779
3848
|
reason?: string | null;
|
|
3780
3849
|
message?: string | null;
|
package/dist/esm/sdk.js
CHANGED
|
@@ -203,10 +203,10 @@ export var ListEmbeddersDocument = gql(_templateObject31 || (_templateObject31 =
|
|
|
203
203
|
export var GetEmbedderDocument = gql(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n query getEmbedder($name: String!, $namespace: String!) {\n Embedder {\n getEmbedder(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n }\n }\n}\n "])));
|
|
204
204
|
export var GetGptDocument = gql(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n query getGPT($name: String!) {\n GPT {\n getGPT(name: $name) {\n name\n displayName\n description\n hot\n creator\n category\n icon\n prologue\n }\n }\n}\n "])));
|
|
205
205
|
export var ListGpTsDocument = gql(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["\n query listGPTs($input: ListGPTInput!) {\n GPT {\n listGPT(input: $input) {\n page\n pageSize\n totalCount\n hasNextPage\n nodes {\n ... on GPT {\n name\n displayName\n description\n hot\n creator\n category\n icon\n prologue\n }\n }\n }\n }\n}\n "])));
|
|
206
|
-
export var ListKnowledgeBasesDocument = gql(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n query listKnowledgeBases($input: ListKnowledgeBaseInput!) {\n KnowledgeBase {\n listKnowledgeBases(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBase {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
207
|
-
export var GetKnowledgeBaseDocument = gql(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n query getKnowledgeBase($name: String!, $namespace: String!) {\n KnowledgeBase {\n getKnowledgeBase(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n }\n }\n }\n }\n}\n "])));
|
|
208
|
-
export var CreateKnowledgeBaseDocument = gql(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["\n mutation createKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n KnowledgeBase {\n createKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n }\n }\n }\n }\n}\n "])));
|
|
209
|
-
export var UpdateKnowledgeBaseDocument = gql(_templateObject38 || (_templateObject38 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBase($input: UpdateKnowledgeBaseInput) {\n KnowledgeBase {\n updateKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n }\n }\n }\n }\n}\n "])));
|
|
206
|
+
export var ListKnowledgeBasesDocument = gql(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n query listKnowledgeBases($input: ListKnowledgeBaseInput!) {\n KnowledgeBase {\n listKnowledgeBases(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBase {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
207
|
+
export var GetKnowledgeBaseDocument = gql(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n query getKnowledgeBase($name: String!, $namespace: String!) {\n KnowledgeBase {\n getKnowledgeBase(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n }\n }\n }\n }\n}\n "])));
|
|
208
|
+
export var CreateKnowledgeBaseDocument = gql(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["\n mutation createKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n KnowledgeBase {\n createKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n }\n }\n }\n }\n}\n "])));
|
|
209
|
+
export var UpdateKnowledgeBaseDocument = gql(_templateObject38 || (_templateObject38 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBase($input: UpdateKnowledgeBaseInput) {\n KnowledgeBase {\n updateKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n }\n }\n }\n }\n}\n "])));
|
|
210
210
|
export var DeleteKnowledgeBaseDocument = gql(_templateObject39 || (_templateObject39 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBase($input: DeleteCommonInput) {\n KnowledgeBase {\n deleteKnowledgeBase(input: $input)\n }\n}\n "])));
|
|
211
211
|
export var ListLlMsDocument = gql(_templateObject40 || (_templateObject40 = _taggedTemplateLiteral(["\n query listLLMs($input: ListCommonInput!) {\n LLM {\n listLLMs(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on LLM {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n }\n }\n }\n}\n "])));
|
|
212
212
|
export var GetLlmDocument = gql(_templateObject41 || (_templateObject41 = _taggedTemplateLiteral(["\n query getLLM($name: String!, $namespace: String!) {\n LLM {\n getLLM(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|