graphlit-client 1.0.20241205001 → 1.0.20241206002
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
@@ -17,6 +17,7 @@ declare class Graphlit {
|
|
17
17
|
lookupProjectCredits(correlationId: string): Promise<Types.LookupCreditsQuery>;
|
18
18
|
queryProjectUsage(startDate: Types.Scalars['DateTime'], duration: Types.Scalars['TimeSpan']): Promise<Types.QueryUsageQuery>;
|
19
19
|
queryProjectCredits(startDate: Types.Scalars['DateTime'], duration: Types.Scalars['TimeSpan']): Promise<Types.QueryCreditsQuery>;
|
20
|
+
mapWeb(uri: string, allowedPaths?: string[], excludedPaths?: string[], correlationId?: string): Promise<Types.MapWebQuery>;
|
20
21
|
searchWeb(text: string, service?: Types.SearchServiceTypes, limit?: number, correlationId?: string): Promise<Types.SearchWebQuery>;
|
21
22
|
createAlert(alert: Types.AlertInput, correlationId?: string): Promise<Types.CreateAlertMutation>;
|
22
23
|
updateAlert(alert: Types.AlertUpdateInput): Promise<Types.UpdateAlertMutation>;
|
@@ -38,6 +39,7 @@ declare class Graphlit {
|
|
38
39
|
queryCollections(filter?: Types.CollectionFilter): Promise<Types.QueryCollectionsQuery>;
|
39
40
|
describeImage(prompt: string, uri: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.DescribeImageMutation>;
|
40
41
|
describeEncodedImage(prompt: string, mimeType: string, data: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.DescribeEncodedImageMutation>;
|
42
|
+
screenshotPage(uri: string, maximumHeight?: number, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.ScreenshotPageMutation>;
|
41
43
|
ingestBatch(uris: [string], workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.IngestBatchMutation>;
|
42
44
|
ingestUri(uri: string, name?: string, id?: string, isSynchronous?: boolean, workflow?: Types.EntityReferenceInput, collections?: [Types.EntityReferenceInput], correlationId?: string): Promise<Types.IngestUriMutation>;
|
43
45
|
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 +48,7 @@ declare class Graphlit {
|
|
46
48
|
deleteContent(id: string): Promise<Types.DeleteContentMutation>;
|
47
49
|
deleteContents(): Promise<Types.DeleteContentsMutation>;
|
48
50
|
deleteAllContents(): Promise<Types.DeleteAllContentsMutation>;
|
51
|
+
summarizeText(summarization: Types.SummarizationStrategyInput, text: string, textType?: Types.TextTypes, correlationId?: string): Promise<Types.SummarizeTextMutation>;
|
49
52
|
summarizeContents(summarizations: [Types.SummarizationStrategyInput], filter?: Types.ContentFilter, correlationId?: string): Promise<Types.SummarizeContentsMutation>;
|
50
53
|
extractContents(prompt: string, filter?: Types.ContentFilter, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ExtractContentsMutation>;
|
51
54
|
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
@@ -143,6 +143,11 @@ class Graphlit {
|
|
143
143
|
return this.queryAndCheckError(Documents.QueryCredits, { startDate: startDate, duration: duration });
|
144
144
|
});
|
145
145
|
}
|
146
|
+
mapWeb(uri, allowedPaths, excludedPaths, correlationId) {
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
148
|
+
return this.queryAndCheckError(Documents.MapWeb, { uri: uri, allowedPaths: allowedPaths, excludedPaths: excludedPaths, correlationId: correlationId });
|
149
|
+
});
|
150
|
+
}
|
146
151
|
searchWeb(text, service, limit, correlationId) {
|
147
152
|
return __awaiter(this, void 0, void 0, function* () {
|
148
153
|
return this.queryAndCheckError(Documents.SearchWeb, { text: text, service: service, limit: limit, correlationId: correlationId });
|
@@ -248,6 +253,11 @@ class Graphlit {
|
|
248
253
|
return this.mutateAndCheckError(Documents.DescribeEncodedImage, { prompt: prompt, mimeType: mimeType, data: data, specification: specification, correlationId: correlationId });
|
249
254
|
});
|
250
255
|
}
|
256
|
+
screenshotPage(uri, maximumHeight, isSynchronous, workflow, collections, correlationId) {
|
257
|
+
return __awaiter(this, void 0, void 0, function* () {
|
258
|
+
return this.mutateAndCheckError(Documents.ScreenshotPage, { uri: uri, maximumHeight: maximumHeight, isSynchronous: isSynchronous, workflow: workflow, collections: collections, correlationId: correlationId });
|
259
|
+
});
|
260
|
+
}
|
251
261
|
ingestBatch(uris, workflow, collections, correlationId) {
|
252
262
|
return __awaiter(this, void 0, void 0, function* () {
|
253
263
|
return this.mutateAndCheckError(Documents.IngestBatch, { uris: uris, workflow: workflow, collections: collections, correlationId: correlationId });
|
@@ -288,6 +298,11 @@ class Graphlit {
|
|
288
298
|
return this.mutateAndCheckError(Documents.DeleteAllContents);
|
289
299
|
});
|
290
300
|
}
|
301
|
+
summarizeText(summarization, text, textType, correlationId) {
|
302
|
+
return __awaiter(this, void 0, void 0, function* () {
|
303
|
+
return this.mutateAndCheckError(Documents.SummarizeText, { summarization: summarization, text: text, textType: textType, correlationId: correlationId });
|
304
|
+
});
|
305
|
+
}
|
291
306
|
summarizeContents(summarizations, filter, correlationId) {
|
292
307
|
return __awaiter(this, void 0, void 0, function* () {
|
293
308
|
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;
|
@@ -238,6 +240,7 @@ export declare const DeleteRepos: import("graphql").DocumentNode;
|
|
238
240
|
export declare const GetRepo: import("graphql").DocumentNode;
|
239
241
|
export declare const QueryRepos: import("graphql").DocumentNode;
|
240
242
|
export declare const UpdateRepo: import("graphql").DocumentNode;
|
243
|
+
export declare const MapWeb: import("graphql").DocumentNode;
|
241
244
|
export declare const SearchWeb: import("graphql").DocumentNode;
|
242
245
|
export declare const CountSoftwares: import("graphql").DocumentNode;
|
243
246
|
export declare const CreateSoftware: 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.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = exports.SearchWeb = exports.MapWeb = 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 = exports.QuerySoftwares = 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) {
|
@@ -6057,6 +6105,18 @@ exports.UpdateRepo = (0, graphql_tag_1.default) `
|
|
6057
6105
|
}
|
6058
6106
|
}
|
6059
6107
|
`;
|
6108
|
+
exports.MapWeb = (0, graphql_tag_1.default) `
|
6109
|
+
query MapWeb($uri: URL!, $allowedPaths: [String!], $excludedPaths: [String!], $correlationId: String) {
|
6110
|
+
mapWeb(
|
6111
|
+
uri: $uri
|
6112
|
+
allowedPaths: $allowedPaths
|
6113
|
+
excludedPaths: $excludedPaths
|
6114
|
+
correlationId: $correlationId
|
6115
|
+
) {
|
6116
|
+
results
|
6117
|
+
}
|
6118
|
+
}
|
6119
|
+
`;
|
6060
6120
|
exports.SearchWeb = (0, graphql_tag_1.default) `
|
6061
6121
|
query SearchWeb($text: String!, $service: SearchServiceTypes, $limit: Int, $correlationId: String) {
|
6062
6122
|
searchWeb(
|
@@ -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;
|
@@ -9539,6 +9562,8 @@ export type Query = {
|
|
9539
9562
|
lookupCredits?: Maybe<ProjectCredits>;
|
9540
9563
|
/** Lookup usage records given tenant correlation identifier. */
|
9541
9564
|
lookupUsage?: Maybe<Array<Maybe<ProjectUsageRecord>>>;
|
9565
|
+
/** Enumerates the web pages at or beneath the provided URL using web sitemap. */
|
9566
|
+
mapWeb?: Maybe<UriResults>;
|
9542
9567
|
/** Lookup a medical condition given its ID. */
|
9543
9568
|
medicalCondition?: Maybe<MedicalCondition>;
|
9544
9569
|
/** Retrieves medical conditions based on the provided filter criteria. */
|
@@ -9839,6 +9864,12 @@ export type QueryLookupCreditsArgs = {
|
|
9839
9864
|
export type QueryLookupUsageArgs = {
|
9840
9865
|
correlationId: Scalars['String']['input'];
|
9841
9866
|
};
|
9867
|
+
export type QueryMapWebArgs = {
|
9868
|
+
allowedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
|
9869
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
9870
|
+
excludedPaths?: InputMaybe<Array<Scalars['String']['input']>>;
|
9871
|
+
uri: Scalars['URL']['input'];
|
9872
|
+
};
|
9842
9873
|
export type QueryMedicalConditionArgs = {
|
9843
9874
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
9844
9875
|
id: Scalars['ID']['input'];
|
@@ -11495,6 +11526,12 @@ export type UriResult = {
|
|
11495
11526
|
/** The URI result. */
|
11496
11527
|
uri?: Maybe<Scalars['URL']['output']>;
|
11497
11528
|
};
|
11529
|
+
/** Represents URI results. */
|
11530
|
+
export type UriResults = {
|
11531
|
+
__typename?: 'UriResults';
|
11532
|
+
/** The URI results. */
|
11533
|
+
results?: Maybe<Array<Maybe<Scalars['URL']['output']>>>;
|
11534
|
+
};
|
11498
11535
|
/** Represents video metadata. */
|
11499
11536
|
export type VideoMetadata = {
|
11500
11537
|
__typename?: 'VideoMetadata';
|
@@ -13875,6 +13912,32 @@ export type QueryContentsGraphQuery = {
|
|
13875
13912
|
} | null;
|
13876
13913
|
} | null;
|
13877
13914
|
};
|
13915
|
+
export type ScreenshotPageMutationVariables = Exact<{
|
13916
|
+
uri: Scalars['URL']['input'];
|
13917
|
+
maximumHeight?: InputMaybe<Scalars['Int']['input']>;
|
13918
|
+
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
13919
|
+
workflow?: InputMaybe<EntityReferenceInput>;
|
13920
|
+
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
13921
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
13922
|
+
}>;
|
13923
|
+
export type ScreenshotPageMutation = {
|
13924
|
+
__typename?: 'Mutation';
|
13925
|
+
screenshotPage?: {
|
13926
|
+
__typename?: 'Content';
|
13927
|
+
id: string;
|
13928
|
+
name: string;
|
13929
|
+
state: EntityState;
|
13930
|
+
type?: ContentTypes | null;
|
13931
|
+
fileType?: FileTypes | null;
|
13932
|
+
mimeType?: string | null;
|
13933
|
+
uri?: any | null;
|
13934
|
+
collections?: Array<{
|
13935
|
+
__typename?: 'Collection';
|
13936
|
+
id: string;
|
13937
|
+
name: string;
|
13938
|
+
} | null> | null;
|
13939
|
+
} | null;
|
13940
|
+
};
|
13878
13941
|
export type SummarizeContentsMutationVariables = Exact<{
|
13879
13942
|
summarizations: Array<SummarizationStrategyInput> | SummarizationStrategyInput;
|
13880
13943
|
filter?: InputMaybe<ContentFilter>;
|
@@ -13890,10 +13953,10 @@ export type SummarizeContentsMutation = {
|
|
13890
13953
|
__typename?: 'EntityReference';
|
13891
13954
|
id: string;
|
13892
13955
|
} | null;
|
13893
|
-
content
|
13956
|
+
content?: {
|
13894
13957
|
__typename?: 'EntityReference';
|
13895
13958
|
id: string;
|
13896
|
-
};
|
13959
|
+
} | null;
|
13897
13960
|
items?: Array<{
|
13898
13961
|
__typename?: 'Summarized';
|
13899
13962
|
text?: string | null;
|
@@ -13902,6 +13965,34 @@ export type SummarizeContentsMutation = {
|
|
13902
13965
|
}> | null;
|
13903
13966
|
} | null> | null;
|
13904
13967
|
};
|
13968
|
+
export type SummarizeTextMutationVariables = Exact<{
|
13969
|
+
summarization: SummarizationStrategyInput;
|
13970
|
+
text: Scalars['String']['input'];
|
13971
|
+
textType?: InputMaybe<TextTypes>;
|
13972
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
13973
|
+
}>;
|
13974
|
+
export type SummarizeTextMutation = {
|
13975
|
+
__typename?: 'Mutation';
|
13976
|
+
summarizeText?: {
|
13977
|
+
__typename?: 'PromptSummarization';
|
13978
|
+
type: SummarizationTypes;
|
13979
|
+
error?: string | null;
|
13980
|
+
specification?: {
|
13981
|
+
__typename?: 'EntityReference';
|
13982
|
+
id: string;
|
13983
|
+
} | null;
|
13984
|
+
content?: {
|
13985
|
+
__typename?: 'EntityReference';
|
13986
|
+
id: string;
|
13987
|
+
} | null;
|
13988
|
+
items?: Array<{
|
13989
|
+
__typename?: 'Summarized';
|
13990
|
+
text?: string | null;
|
13991
|
+
tokens: number;
|
13992
|
+
summarizationTime?: any | null;
|
13993
|
+
}> | null;
|
13994
|
+
} | null;
|
13995
|
+
};
|
13905
13996
|
export type UpdateContentMutationVariables = Exact<{
|
13906
13997
|
content: ContentUpdateInput;
|
13907
13998
|
}>;
|
@@ -19019,6 +19110,19 @@ export type UpdateRepoMutation = {
|
|
19019
19110
|
name: string;
|
19020
19111
|
} | null;
|
19021
19112
|
};
|
19113
|
+
export type MapWebQueryVariables = Exact<{
|
19114
|
+
uri: Scalars['URL']['input'];
|
19115
|
+
allowedPaths?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
19116
|
+
excludedPaths?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
19117
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
19118
|
+
}>;
|
19119
|
+
export type MapWebQuery = {
|
19120
|
+
__typename?: 'Query';
|
19121
|
+
mapWeb?: {
|
19122
|
+
__typename?: 'UriResults';
|
19123
|
+
results?: Array<any | null> | null;
|
19124
|
+
} | null;
|
19125
|
+
};
|
19022
19126
|
export type SearchWebQueryVariables = Exact<{
|
19023
19127
|
text: Scalars['String']['input'];
|
19024
19128
|
service?: InputMaybe<SearchServiceTypes>;
|
@@ -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 */
|