graphlit-client 1.0.20241229001 → 1.0.20241231001
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/client.d.ts
CHANGED
@@ -53,7 +53,7 @@ declare class Graphlit {
|
|
53
53
|
summarizeContents(summarizations: [Types.SummarizationStrategyInput], filter?: Types.ContentFilter, correlationId?: string): Promise<Types.SummarizeContentsMutation>;
|
54
54
|
extractText(prompt: string, text: string, tools: Types.ToolDefinitionInput[], specification?: Types.EntityReferenceInput, textType?: Types.TextTypes, correlationId?: string): Promise<Types.ExtractTextMutation>;
|
55
55
|
extractContents(prompt: string, tools: Types.ToolDefinitionInput[], specification?: Types.EntityReferenceInput, filter?: Types.ContentFilter, correlationId?: string): Promise<Types.ExtractContentsMutation>;
|
56
|
-
publishContents(publishPrompt: string, connector: Types.ContentPublishingConnectorInput, summaryPrompt?: string, summarySpecification?: Types.EntityReferenceInput, publishSpecification?: Types.EntityReferenceInput, name?: string, filter?: Types.ContentFilter, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, includeDetails?:
|
56
|
+
publishContents(publishPrompt: string, connector: Types.ContentPublishingConnectorInput, summaryPrompt?: string, summarySpecification?: Types.EntityReferenceInput, publishSpecification?: Types.EntityReferenceInput, name?: string, filter?: Types.ContentFilter, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, includeDetails?: boolean, correlationId?: string): Promise<Types.PublishContentsMutation>;
|
57
57
|
publishText(text: string, textType: Types.TextTypes, connector: Types.ContentPublishingConnectorInput, name?: string, workflow?: Types.EntityReferenceInput, isSynchronous?: boolean, correlationId?: string): Promise<Types.PublishTextMutation>;
|
58
58
|
getContent(id: string): Promise<Types.GetContentQuery>;
|
59
59
|
queryContents(filter?: Types.ContentFilter): Promise<Types.QueryContentsQuery>;
|
@@ -1063,6 +1063,7 @@ exports.GetContent = (0, graphql_tag_1.default) `
|
|
1063
1063
|
}
|
1064
1064
|
pages {
|
1065
1065
|
index
|
1066
|
+
text
|
1066
1067
|
relevance
|
1067
1068
|
chunks {
|
1068
1069
|
index
|
@@ -1483,20 +1484,7 @@ exports.PublishContents = (0, graphql_tag_1.default) `
|
|
1483
1484
|
contents {
|
1484
1485
|
id
|
1485
1486
|
}
|
1486
|
-
summaries
|
1487
|
-
index
|
1488
|
-
relevance
|
1489
|
-
chunks {
|
1490
|
-
index
|
1491
|
-
pageIndex
|
1492
|
-
rowIndex
|
1493
|
-
columnIndex
|
1494
|
-
confidence
|
1495
|
-
text
|
1496
|
-
role
|
1497
|
-
relevance
|
1498
|
-
}
|
1499
|
-
}
|
1487
|
+
summaries
|
1500
1488
|
text
|
1501
1489
|
textType
|
1502
1490
|
summarySpecification
|
@@ -1837,6 +1825,7 @@ exports.QueryContents = (0, graphql_tag_1.default) `
|
|
1837
1825
|
}
|
1838
1826
|
pages {
|
1839
1827
|
index
|
1828
|
+
text
|
1840
1829
|
relevance
|
1841
1830
|
chunks {
|
1842
1831
|
index
|
@@ -2086,6 +2075,7 @@ exports.QueryContentsFacets = (0, graphql_tag_1.default) `
|
|
2086
2075
|
}
|
2087
2076
|
pages {
|
2088
2077
|
index
|
2078
|
+
text
|
2089
2079
|
relevance
|
2090
2080
|
chunks {
|
2091
2081
|
index
|
@@ -9896,13 +9896,13 @@ export type PublishContents = {
|
|
9896
9896
|
export type PublishingDetails = {
|
9897
9897
|
__typename?: 'PublishingDetails';
|
9898
9898
|
/** The retrieved contents. */
|
9899
|
-
contents?: Maybe<Array<
|
9899
|
+
contents?: Maybe<Array<EntityReference>>;
|
9900
9900
|
/** JSON representation of the LLM publish specification. */
|
9901
9901
|
publishSpecification?: Maybe<Scalars['String']['output']>;
|
9902
9902
|
/** The time to publish the summaries. */
|
9903
9903
|
publishTime?: Maybe<Scalars['TimeSpan']['output']>;
|
9904
9904
|
/** The list of content summaries. */
|
9905
|
-
summaries?: Maybe<Array<
|
9905
|
+
summaries?: Maybe<Array<Scalars['String']['output']>>;
|
9906
9906
|
/** JSON representation of the LLM summary specification. */
|
9907
9907
|
summarySpecification?: Maybe<Scalars['String']['output']>;
|
9908
9908
|
/** The time to summarize the retrieved contents. */
|
@@ -13632,6 +13632,7 @@ export type GetContentQuery = {
|
|
13632
13632
|
pages?: Array<{
|
13633
13633
|
__typename?: 'TextPage';
|
13634
13634
|
index?: number | null;
|
13635
|
+
text?: string | null;
|
13635
13636
|
relevance?: number | null;
|
13636
13637
|
chunks?: Array<{
|
13637
13638
|
__typename?: 'TextChunk';
|
@@ -14096,6 +14097,7 @@ export type PublishContentsMutation = {
|
|
14096
14097
|
} | null;
|
14097
14098
|
details?: {
|
14098
14099
|
__typename?: 'PublishingDetails';
|
14100
|
+
summaries?: Array<string> | null;
|
14099
14101
|
text?: string | null;
|
14100
14102
|
textType?: TextTypes | null;
|
14101
14103
|
summarySpecification?: string | null;
|
@@ -14105,23 +14107,7 @@ export type PublishContentsMutation = {
|
|
14105
14107
|
contents?: Array<{
|
14106
14108
|
__typename?: 'EntityReference';
|
14107
14109
|
id: string;
|
14108
|
-
}
|
14109
|
-
summaries?: Array<{
|
14110
|
-
__typename?: 'TextPage';
|
14111
|
-
index?: number | null;
|
14112
|
-
relevance?: number | null;
|
14113
|
-
chunks?: Array<{
|
14114
|
-
__typename?: 'TextChunk';
|
14115
|
-
index?: number | null;
|
14116
|
-
pageIndex?: number | null;
|
14117
|
-
rowIndex?: number | null;
|
14118
|
-
columnIndex?: number | null;
|
14119
|
-
confidence?: number | null;
|
14120
|
-
text?: string | null;
|
14121
|
-
role?: TextRoles | null;
|
14122
|
-
relevance?: number | null;
|
14123
|
-
} | null> | null;
|
14124
|
-
} | null> | null;
|
14110
|
+
}> | null;
|
14125
14111
|
} | null;
|
14126
14112
|
} | null;
|
14127
14113
|
};
|
@@ -14493,6 +14479,7 @@ export type QueryContentsQuery = {
|
|
14493
14479
|
pages?: Array<{
|
14494
14480
|
__typename?: 'TextPage';
|
14495
14481
|
index?: number | null;
|
14482
|
+
text?: string | null;
|
14496
14483
|
relevance?: number | null;
|
14497
14484
|
chunks?: Array<{
|
14498
14485
|
__typename?: 'TextChunk';
|
@@ -14777,6 +14764,7 @@ export type QueryContentsFacetsQuery = {
|
|
14777
14764
|
pages?: Array<{
|
14778
14765
|
__typename?: 'TextPage';
|
14779
14766
|
index?: number | null;
|
14767
|
+
text?: string | null;
|
14780
14768
|
relevance?: number | null;
|
14781
14769
|
chunks?: Array<{
|
14782
14770
|
__typename?: 'TextChunk';
|