graphlit-client 1.0.20241205001 → 1.0.20241206001
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
@@ -38,6 +38,7 @@ declare class Graphlit {
|
|
38
38
|
queryCollections(filter?: Types.CollectionFilter): Promise<Types.QueryCollectionsQuery>;
|
39
39
|
describeImage(prompt: string, uri: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.DescribeImageMutation>;
|
40
40
|
describeEncodedImage(prompt: string, mimeType: string, data: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.DescribeEncodedImageMutation>;
|
41
|
+
screenshotPage(uri: string, maximumHeight?: number, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.ScreenshotPageMutation>;
|
41
42
|
ingestBatch(uris: [string], workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.IngestBatchMutation>;
|
42
43
|
ingestUri(uri: string, name?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.IngestUriMutation>;
|
43
44
|
ingestText(name: string, text: string, textType?: Types.TextTypes, uri?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.IngestTextMutation>;
|
@@ -46,6 +47,7 @@ declare class Graphlit {
|
|
46
47
|
deleteContent(id: string): Promise<Types.DeleteContentMutation>;
|
47
48
|
deleteContents(): Promise<Types.DeleteContentsMutation>;
|
48
49
|
deleteAllContents(): Promise<Types.DeleteAllContentsMutation>;
|
50
|
+
summarizeText(summarization: Types.SummarizationStrategyInput, text: string, textType?: Types.TextTypes, correlationId?: string): Promise<Types.SummarizeTextMutation>;
|
49
51
|
summarizeContents(summarizations: [Types.SummarizationStrategyInput], filter?: Types.ContentFilter, correlationId?: string): Promise<Types.SummarizeContentsMutation>;
|
50
52
|
extractContents(prompt: string, filter?: Types.ContentFilter, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ExtractContentsMutation>;
|
51
53
|
publishContents(summaryPrompt: string, summarySpecification: Types.EntityReferenceInput, connector: Types.ContentPublishingConnectorInput, publishPrompt?: string, publishSpecification?: Types.EntityReferenceInput, name?: string, filter?: Types.ContentFilter, workflow?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.PublishContentsMutation>;
|
package/dist/client.js
CHANGED
@@ -248,6 +248,11 @@ class Graphlit {
|
|
248
248
|
return this.mutateAndCheckError(Documents.DescribeEncodedImage, { prompt: prompt, mimeType: mimeType, data: data, specification: specification, correlationId: correlationId });
|
249
249
|
});
|
250
250
|
}
|
251
|
+
screenshotPage(uri, maximumHeight, isSynchronous, workflow, collections, correlationId) {
|
252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
253
|
+
return this.mutateAndCheckError(Documents.ScreenshotPage, { uri: uri, maximumHeight: maximumHeight, isSynchronous: isSynchronous, workflow: workflow, collections: collections, correlationId: correlationId });
|
254
|
+
});
|
255
|
+
}
|
251
256
|
ingestBatch(uris, workflow, collections, correlationId) {
|
252
257
|
return __awaiter(this, void 0, void 0, function* () {
|
253
258
|
return this.mutateAndCheckError(Documents.IngestBatch, { uris: uris, workflow: workflow, collections: collections, correlationId: correlationId });
|
@@ -288,6 +293,11 @@ class Graphlit {
|
|
288
293
|
return this.mutateAndCheckError(Documents.DeleteAllContents);
|
289
294
|
});
|
290
295
|
}
|
296
|
+
summarizeText(summarization, text, textType, correlationId) {
|
297
|
+
return __awaiter(this, void 0, void 0, function* () {
|
298
|
+
return this.mutateAndCheckError(Documents.SummarizeText, { summarization: summarization, text: text, textType: textType, correlationId: correlationId });
|
299
|
+
});
|
300
|
+
}
|
291
301
|
summarizeContents(summarizations, filter, correlationId) {
|
292
302
|
return __awaiter(this, void 0, void 0, function* () {
|
293
303
|
return this.mutateAndCheckError(Documents.SummarizeContents, { summarizations: summarizations, filter: filter, correlationId: correlationId });
|
@@ -45,7 +45,9 @@ export declare const PublishText: import("graphql").DocumentNode;
|
|
45
45
|
export declare const QueryContents: import("graphql").DocumentNode;
|
46
46
|
export declare const QueryContentsFacets: import("graphql").DocumentNode;
|
47
47
|
export declare const QueryContentsGraph: import("graphql").DocumentNode;
|
48
|
+
export declare const ScreenshotPage: import("graphql").DocumentNode;
|
48
49
|
export declare const SummarizeContents: import("graphql").DocumentNode;
|
50
|
+
export declare const SummarizeText: import("graphql").DocumentNode;
|
49
51
|
export declare const UpdateContent: import("graphql").DocumentNode;
|
50
52
|
export declare const ClearConversation: import("graphql").DocumentNode;
|
51
53
|
export declare const CloseConversation: import("graphql").DocumentNode;
|
@@ -3,12 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
7
|
-
exports.
|
8
|
-
exports.
|
9
|
-
exports.
|
10
|
-
exports.
|
11
|
-
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateSpecification = exports.QuerySpecifications = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = void 0;
|
6
|
+
exports.SummarizeText = exports.SummarizeContents = exports.ScreenshotPage = exports.QueryContentsGraph = exports.QueryContentsFacets = exports.QueryContents = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestTextBatch = exports.IngestText = exports.IngestEncodedFile = exports.IngestBatch = exports.GetContent = exports.ExtractContents = exports.DescribeImage = exports.DescribeEncodedImage = exports.DeleteContents = exports.DeleteContent = exports.DeleteAllContents = exports.CountContents = exports.UpdateCollection = exports.RemoveContentsFromCollection = exports.QueryCollections = exports.GetCollection = exports.DeleteCollections = exports.DeleteCollection = exports.DeleteAllCollections = exports.CreateCollection = exports.CountCollections = exports.AddContentsToCollections = exports.UpdateCategory = exports.QueryCategories = exports.GetCategory = exports.DeleteCategory = exports.DeleteCategories = exports.DeleteAllCategories = exports.CreateCategory = exports.CountCategories = exports.UpdateAlert = exports.QueryAlerts = exports.GetAlert = exports.EnableAlert = exports.DisableAlert = exports.DeleteAllAlerts = exports.DeleteAlerts = exports.DeleteAlert = exports.CreateAlert = exports.CountAlerts = void 0;
|
7
|
+
exports.DeleteAllLabels = exports.CreateLabel = exports.CountLabels = exports.UpdateFeed = exports.QuerySharePointLibraries = exports.QuerySharePointFolders = exports.QueryOneDriveFolders = exports.QueryMicrosoftTeamsTeams = exports.QueryMicrosoftTeamsChannels = exports.QueryFeeds = exports.IsFeedDone = exports.GetSharePointConsentUri = exports.GetFeed = exports.EnableFeed = exports.DisableFeed = exports.DeleteFeeds = exports.DeleteFeed = exports.DeleteAllFeeds = exports.CreateFeed = exports.CountFeeds = exports.UpdateEvent = exports.QueryEvents = exports.GetEvent = exports.DeleteEvents = exports.DeleteEvent = exports.DeleteAllEvents = exports.CreateEvent = exports.CountEvents = exports.UpdateConversation = exports.SuggestConversation = exports.ReviseText = exports.ReviseImage = exports.ReviseEncodedImage = exports.ReviseContent = exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.Prompt = exports.GetConversation = exports.FormatConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = exports.ContinueConversation = exports.CompleteConversation = exports.CloseConversation = exports.ClearConversation = exports.UpdateContent = void 0;
|
8
|
+
exports.DeleteMedicalGuidelines = exports.DeleteMedicalGuideline = exports.DeleteAllMedicalGuidelines = exports.CreateMedicalGuideline = exports.CountMedicalGuidelines = exports.UpdateMedicalDrugClass = exports.QueryMedicalDrugClasses = exports.GetMedicalDrugClass = exports.DeleteMedicalDrugClasses = exports.DeleteMedicalDrugClass = exports.DeleteAllMedicalDrugClasses = exports.CreateMedicalDrugClass = exports.CountMedicalDrugClasses = exports.UpdateMedicalDrug = exports.QueryMedicalDrugs = exports.GetMedicalDrug = exports.DeleteMedicalDrugs = exports.DeleteMedicalDrug = exports.DeleteAllMedicalDrugs = exports.CreateMedicalDrug = exports.CountMedicalDrugs = exports.UpdateMedicalDevice = exports.QueryMedicalDevices = exports.GetMedicalDevice = exports.DeleteMedicalDevices = exports.DeleteMedicalDevice = exports.DeleteAllMedicalDevices = exports.CreateMedicalDevice = exports.CountMedicalDevices = exports.UpdateMedicalContraindication = exports.QueryMedicalContraindications = exports.GetMedicalContraindication = exports.DeleteMedicalContraindications = exports.DeleteMedicalContraindication = exports.DeleteAllMedicalContraindications = exports.CreateMedicalContraindication = exports.CountMedicalContraindications = exports.UpdateMedicalCondition = exports.QueryMedicalConditions = exports.GetMedicalCondition = exports.DeleteMedicalConditions = exports.DeleteMedicalCondition = exports.DeleteAllMedicalConditions = exports.CreateMedicalCondition = exports.CountMedicalConditions = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = void 0;
|
9
|
+
exports.DeleteOrganization = exports.DeleteAllOrganizations = exports.CreateOrganization = exports.CountOrganizations = exports.UpdateObservation = exports.DeleteObservation = exports.CreateObservation = exports.UpdateMedicalTherapy = exports.QueryMedicalTherapies = exports.GetMedicalTherapy = exports.DeleteMedicalTherapy = exports.DeleteMedicalTherapies = exports.DeleteAllMedicalTherapies = exports.CreateMedicalTherapy = exports.CountMedicalTherapies = exports.UpdateMedicalTest = exports.QueryMedicalTests = exports.GetMedicalTest = exports.DeleteMedicalTests = exports.DeleteMedicalTest = exports.DeleteAllMedicalTests = exports.CreateMedicalTest = exports.CountMedicalTests = exports.UpdateMedicalStudy = exports.QueryMedicalStudies = exports.GetMedicalStudy = exports.DeleteMedicalStudy = exports.DeleteMedicalStudies = exports.DeleteAllMedicalStudies = exports.CreateMedicalStudy = exports.CountMedicalStudies = exports.UpdateMedicalProcedure = exports.QueryMedicalProcedures = exports.GetMedicalProcedure = exports.DeleteMedicalProcedures = exports.DeleteMedicalProcedure = exports.DeleteAllMedicalProcedures = exports.CreateMedicalProcedure = exports.CountMedicalProcedures = exports.UpdateMedicalIndication = exports.QueryMedicalIndications = exports.GetMedicalIndication = exports.DeleteMedicalIndications = exports.DeleteMedicalIndication = exports.DeleteAllMedicalIndications = exports.CreateMedicalIndication = exports.CountMedicalIndications = exports.UpdateMedicalGuideline = exports.QueryMedicalGuidelines = exports.GetMedicalGuideline = void 0;
|
10
|
+
exports.QuerySoftwares = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.UpdateRepo = exports.QueryRepos = exports.GetRepo = exports.DeleteRepos = exports.DeleteRepo = exports.DeleteAllRepos = exports.CreateRepo = exports.CountRepos = exports.UpdateProject = exports.QueryUsage = exports.QueryCredits = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.UpdateProduct = exports.QueryProducts = exports.GetProduct = exports.DeleteProducts = exports.DeleteProduct = exports.DeleteAllProducts = exports.CreateProduct = exports.CountProducts = exports.UpdatePlace = exports.QueryPlaces = exports.GetPlace = exports.DeletePlaces = exports.DeletePlace = exports.DeleteAllPlaces = exports.CreatePlace = exports.CountPlaces = exports.UpdatePerson = exports.QueryPersons = exports.GetPerson = exports.DeletePersons = exports.DeletePerson = exports.DeleteAllPersons = exports.CreatePerson = exports.CountPersons = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = void 0;
|
11
|
+
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = exports.UpdateSpecification = exports.QuerySpecifications = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = void 0;
|
12
12
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
13
13
|
exports.CountAlerts = (0, graphql_tag_1.default) `
|
14
14
|
query CountAlerts($filter: AlertFilter) {
|
@@ -1766,6 +1766,30 @@ exports.QueryContentsGraph = (0, graphql_tag_1.default) `
|
|
1766
1766
|
}
|
1767
1767
|
}
|
1768
1768
|
`;
|
1769
|
+
exports.ScreenshotPage = (0, graphql_tag_1.default) `
|
1770
|
+
mutation ScreenshotPage($uri: URL!, $maximumHeight: Int, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
|
1771
|
+
screenshotPage(
|
1772
|
+
uri: $uri
|
1773
|
+
maximumHeight: $maximumHeight
|
1774
|
+
workflow: $workflow
|
1775
|
+
collections: $collections
|
1776
|
+
isSynchronous: $isSynchronous
|
1777
|
+
correlationId: $correlationId
|
1778
|
+
) {
|
1779
|
+
id
|
1780
|
+
name
|
1781
|
+
state
|
1782
|
+
type
|
1783
|
+
fileType
|
1784
|
+
mimeType
|
1785
|
+
uri
|
1786
|
+
collections {
|
1787
|
+
id
|
1788
|
+
name
|
1789
|
+
}
|
1790
|
+
}
|
1791
|
+
}
|
1792
|
+
`;
|
1769
1793
|
exports.SummarizeContents = (0, graphql_tag_1.default) `
|
1770
1794
|
mutation SummarizeContents($summarizations: [SummarizationStrategyInput!]!, $filter: ContentFilter, $correlationId: String) {
|
1771
1795
|
summarizeContents(
|
@@ -1789,6 +1813,30 @@ exports.SummarizeContents = (0, graphql_tag_1.default) `
|
|
1789
1813
|
}
|
1790
1814
|
}
|
1791
1815
|
`;
|
1816
|
+
exports.SummarizeText = (0, graphql_tag_1.default) `
|
1817
|
+
mutation SummarizeText($summarization: SummarizationStrategyInput!, $text: String!, $textType: TextTypes, $correlationId: String) {
|
1818
|
+
summarizeText(
|
1819
|
+
summarization: $summarization
|
1820
|
+
text: $text
|
1821
|
+
textType: $textType
|
1822
|
+
correlationId: $correlationId
|
1823
|
+
) {
|
1824
|
+
specification {
|
1825
|
+
id
|
1826
|
+
}
|
1827
|
+
content {
|
1828
|
+
id
|
1829
|
+
}
|
1830
|
+
type
|
1831
|
+
items {
|
1832
|
+
text
|
1833
|
+
tokens
|
1834
|
+
summarizationTime
|
1835
|
+
}
|
1836
|
+
error
|
1837
|
+
}
|
1838
|
+
}
|
1839
|
+
`;
|
1792
1840
|
exports.UpdateContent = (0, graphql_tag_1.default) `
|
1793
1841
|
mutation UpdateContent($content: ContentUpdateInput!) {
|
1794
1842
|
updateContent(content: $content) {
|
@@ -3819,7 +3819,10 @@ export declare enum GroqModels {
|
|
3819
3819
|
Custom = "CUSTOM",
|
3820
3820
|
/** LLaMA 3.1 8b */
|
3821
3821
|
Llama_3_1_8B = "LLAMA_3_1_8B",
|
3822
|
-
/**
|
3822
|
+
/**
|
3823
|
+
* LLaMA 3.1 70b
|
3824
|
+
* @deprecated Use Llama 3.3 70b instead.
|
3825
|
+
*/
|
3823
3826
|
Llama_3_1_70B = "LLAMA_3_1_70B",
|
3824
3827
|
/** LLaMA 3.1 405b */
|
3825
3828
|
Llama_3_1_405B = "LLAMA_3_1_405B",
|
@@ -3841,6 +3844,8 @@ export declare enum GroqModels {
|
|
3841
3844
|
Llama_3_2_90BTextPreview = "LLAMA_3_2_90B_TEXT_PREVIEW",
|
3842
3845
|
/** LLaMA 3.2 90b Vision Preview */
|
3843
3846
|
Llama_3_2_90BVisionPreview = "LLAMA_3_2_90B_VISION_PREVIEW",
|
3847
|
+
/** LLaMA 3.3 70b */
|
3848
|
+
Llama_3_3_70B = "LLAMA_3_3_70B",
|
3844
3849
|
/** LLaMA 3 8b */
|
3845
3850
|
Llama_3_8B = "LLAMA_3_8B",
|
3846
3851
|
/** LLaMA 3 70b */
|
@@ -6848,10 +6853,14 @@ export type Mutation = {
|
|
6848
6853
|
reviseImage?: Maybe<ReviseContent>;
|
6849
6854
|
/** Revise text via prompted conversation. */
|
6850
6855
|
reviseText?: Maybe<ReviseContent>;
|
6856
|
+
/** Screenshot web page by URI. */
|
6857
|
+
screenshotPage?: Maybe<Content>;
|
6851
6858
|
/** Suggest prompts for a conversation. */
|
6852
6859
|
suggestConversation?: Maybe<PromptSuggestion>;
|
6853
6860
|
/** Summarizes contents based on the provided filter criteria. */
|
6854
6861
|
summarizeContents?: Maybe<Array<Maybe<PromptSummarization>>>;
|
6862
|
+
/** Summarizes text. */
|
6863
|
+
summarizeText?: Maybe<PromptSummarization>;
|
6855
6864
|
/** Undo an existing conversation. */
|
6856
6865
|
undoConversation?: Maybe<Conversation>;
|
6857
6866
|
/** Updates an existing alert. */
|
@@ -7548,6 +7557,14 @@ export type MutationReviseTextArgs = {
|
|
7548
7557
|
specification?: InputMaybe<EntityReferenceInput>;
|
7549
7558
|
text: Scalars['String']['input'];
|
7550
7559
|
};
|
7560
|
+
export type MutationScreenshotPageArgs = {
|
7561
|
+
collections?: InputMaybe<Array<EntityReferenceInput>>;
|
7562
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
7563
|
+
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
7564
|
+
maximumHeight?: InputMaybe<Scalars['Int']['input']>;
|
7565
|
+
uri: Scalars['URL']['input'];
|
7566
|
+
workflow?: InputMaybe<EntityReferenceInput>;
|
7567
|
+
};
|
7551
7568
|
export type MutationSuggestConversationArgs = {
|
7552
7569
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
7553
7570
|
count?: InputMaybe<Scalars['Int']['input']>;
|
@@ -7559,6 +7576,12 @@ export type MutationSummarizeContentsArgs = {
|
|
7559
7576
|
filter?: InputMaybe<ContentFilter>;
|
7560
7577
|
summarizations: Array<InputMaybe<SummarizationStrategyInput>>;
|
7561
7578
|
};
|
7579
|
+
export type MutationSummarizeTextArgs = {
|
7580
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
7581
|
+
summarization: SummarizationStrategyInput;
|
7582
|
+
text: Scalars['String']['input'];
|
7583
|
+
textType?: InputMaybe<TextTypes>;
|
7584
|
+
};
|
7562
7585
|
export type MutationUndoConversationArgs = {
|
7563
7586
|
id: Scalars['ID']['input'];
|
7564
7587
|
};
|
@@ -9428,13 +9451,13 @@ export type PromptSuggestion = {
|
|
9428
9451
|
/** Represents an LLM summarization. */
|
9429
9452
|
export type PromptSummarization = {
|
9430
9453
|
__typename?: 'PromptSummarization';
|
9431
|
-
/** The summarized content. */
|
9432
|
-
content
|
9454
|
+
/** The summarized content. Not assigned when summarizing text */
|
9455
|
+
content?: Maybe<EntityReference>;
|
9433
9456
|
/** If summarization failed, the error message. */
|
9434
9457
|
error?: Maybe<Scalars['String']['output']>;
|
9435
9458
|
/** The summarized items. */
|
9436
9459
|
items?: Maybe<Array<Summarized>>;
|
9437
|
-
/** The LLM specification. */
|
9460
|
+
/** The LLM specification, optional. */
|
9438
9461
|
specification?: Maybe<EntityReference>;
|
9439
9462
|
/** The summarization type. */
|
9440
9463
|
type: SummarizationTypes;
|
@@ -13875,6 +13898,32 @@ export type QueryContentsGraphQuery = {
|
|
13875
13898
|
} | null;
|
13876
13899
|
} | null;
|
13877
13900
|
};
|
13901
|
+
export type ScreenshotPageMutationVariables = Exact<{
|
13902
|
+
uri: Scalars['URL']['input'];
|
13903
|
+
maximumHeight?: InputMaybe<Scalars['Int']['input']>;
|
13904
|
+
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
13905
|
+
workflow?: InputMaybe<EntityReferenceInput>;
|
13906
|
+
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
13907
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
13908
|
+
}>;
|
13909
|
+
export type ScreenshotPageMutation = {
|
13910
|
+
__typename?: 'Mutation';
|
13911
|
+
screenshotPage?: {
|
13912
|
+
__typename?: 'Content';
|
13913
|
+
id: string;
|
13914
|
+
name: string;
|
13915
|
+
state: EntityState;
|
13916
|
+
type?: ContentTypes | null;
|
13917
|
+
fileType?: FileTypes | null;
|
13918
|
+
mimeType?: string | null;
|
13919
|
+
uri?: any | null;
|
13920
|
+
collections?: Array<{
|
13921
|
+
__typename?: 'Collection';
|
13922
|
+
id: string;
|
13923
|
+
name: string;
|
13924
|
+
} | null> | null;
|
13925
|
+
} | null;
|
13926
|
+
};
|
13878
13927
|
export type SummarizeContentsMutationVariables = Exact<{
|
13879
13928
|
summarizations: Array<SummarizationStrategyInput> | SummarizationStrategyInput;
|
13880
13929
|
filter?: InputMaybe<ContentFilter>;
|
@@ -13890,10 +13939,10 @@ export type SummarizeContentsMutation = {
|
|
13890
13939
|
__typename?: 'EntityReference';
|
13891
13940
|
id: string;
|
13892
13941
|
} | null;
|
13893
|
-
content
|
13942
|
+
content?: {
|
13894
13943
|
__typename?: 'EntityReference';
|
13895
13944
|
id: string;
|
13896
|
-
};
|
13945
|
+
} | null;
|
13897
13946
|
items?: Array<{
|
13898
13947
|
__typename?: 'Summarized';
|
13899
13948
|
text?: string | null;
|
@@ -13902,6 +13951,34 @@ export type SummarizeContentsMutation = {
|
|
13902
13951
|
}> | null;
|
13903
13952
|
} | null> | null;
|
13904
13953
|
};
|
13954
|
+
export type SummarizeTextMutationVariables = Exact<{
|
13955
|
+
summarization: SummarizationStrategyInput;
|
13956
|
+
text: Scalars['String']['input'];
|
13957
|
+
textType?: InputMaybe<TextTypes>;
|
13958
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
13959
|
+
}>;
|
13960
|
+
export type SummarizeTextMutation = {
|
13961
|
+
__typename?: 'Mutation';
|
13962
|
+
summarizeText?: {
|
13963
|
+
__typename?: 'PromptSummarization';
|
13964
|
+
type: SummarizationTypes;
|
13965
|
+
error?: string | null;
|
13966
|
+
specification?: {
|
13967
|
+
__typename?: 'EntityReference';
|
13968
|
+
id: string;
|
13969
|
+
} | null;
|
13970
|
+
content?: {
|
13971
|
+
__typename?: 'EntityReference';
|
13972
|
+
id: string;
|
13973
|
+
} | null;
|
13974
|
+
items?: Array<{
|
13975
|
+
__typename?: 'Summarized';
|
13976
|
+
text?: string | null;
|
13977
|
+
tokens: number;
|
13978
|
+
summarizationTime?: any | null;
|
13979
|
+
}> | null;
|
13980
|
+
} | null;
|
13981
|
+
};
|
13905
13982
|
export type UpdateContentMutationVariables = Exact<{
|
13906
13983
|
content: ContentUpdateInput;
|
13907
13984
|
}>;
|
@@ -761,7 +761,10 @@ var GroqModels;
|
|
761
761
|
GroqModels["Custom"] = "CUSTOM";
|
762
762
|
/** LLaMA 3.1 8b */
|
763
763
|
GroqModels["Llama_3_1_8B"] = "LLAMA_3_1_8B";
|
764
|
-
/**
|
764
|
+
/**
|
765
|
+
* LLaMA 3.1 70b
|
766
|
+
* @deprecated Use Llama 3.3 70b instead.
|
767
|
+
*/
|
765
768
|
GroqModels["Llama_3_1_70B"] = "LLAMA_3_1_70B";
|
766
769
|
/** LLaMA 3.1 405b */
|
767
770
|
GroqModels["Llama_3_1_405B"] = "LLAMA_3_1_405B";
|
@@ -783,6 +786,8 @@ var GroqModels;
|
|
783
786
|
GroqModels["Llama_3_2_90BTextPreview"] = "LLAMA_3_2_90B_TEXT_PREVIEW";
|
784
787
|
/** LLaMA 3.2 90b Vision Preview */
|
785
788
|
GroqModels["Llama_3_2_90BVisionPreview"] = "LLAMA_3_2_90B_VISION_PREVIEW";
|
789
|
+
/** LLaMA 3.3 70b */
|
790
|
+
GroqModels["Llama_3_3_70B"] = "LLAMA_3_3_70B";
|
786
791
|
/** LLaMA 3 8b */
|
787
792
|
GroqModels["Llama_3_8B"] = "LLAMA_3_8B";
|
788
793
|
/** LLaMA 3 70b */
|