graphlit-client 1.0.20241104001 → 1.0.20241110001
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
|
+
searchWeb(text: string, service?: Types.SearchServiceTypes, limit?: number): Promise<Types.SearchWebQuery>;
|
20
21
|
createAlert(alert: Types.AlertInput, correlationId?: string): Promise<Types.CreateAlertMutation>;
|
21
22
|
updateAlert(alert: Types.AlertUpdateInput): Promise<Types.UpdateAlertMutation>;
|
22
23
|
deleteAlert(id: string): Promise<Types.DeleteAlertMutation>;
|
@@ -61,7 +62,8 @@ declare class Graphlit {
|
|
61
62
|
closeConversation(id: string): Promise<Types.CloseConversationMutation>;
|
62
63
|
getConversation(id: string): Promise<Types.GetConversationQuery>;
|
63
64
|
queryConversations(filter?: Types.ConversationFilter): Promise<Types.QueryConversationsQuery>;
|
64
|
-
|
65
|
+
reviseContent(prompt: string, content: Types.EntityReferenceInput, id?: string, specification?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.ReviseContentMutation>;
|
66
|
+
promptConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, tools?: [Types.ToolDefinitionInput], requireTool?: boolean, correlationId?: string): Promise<Types.PromptConversationMutation>;
|
65
67
|
continueConversation(id: string, responses: [Types.ConversationToolResponseInput], correlationId?: string): Promise<Types.ContinueConversationMutation>;
|
66
68
|
publishConversation(id: string, connector: Types.ContentPublishingConnectorInput, name?: string, workflow?: Types.EntityReferenceInput, correlationId?: string): Promise<Types.PublishConversationMutation>;
|
67
69
|
suggestConversation(id: string, count?: number, correlationId?: string): Promise<Types.SuggestConversationMutation>;
|
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
|
+
searchWeb(text, service, limit) {
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
148
|
+
return this.queryAndCheckError(Documents.SearchWeb, { text: text, service: service, limit: limit });
|
149
|
+
});
|
150
|
+
}
|
146
151
|
createAlert(alert, correlationId) {
|
147
152
|
return __awaiter(this, void 0, void 0, function* () {
|
148
153
|
return this.mutateAndCheckError(Documents.CreateAlert, { alert: alert, correlationId: correlationId });
|
@@ -363,9 +368,14 @@ class Graphlit {
|
|
363
368
|
return this.queryAndCheckError(Documents.QueryConversations, { filter: filter });
|
364
369
|
});
|
365
370
|
}
|
366
|
-
|
371
|
+
reviseContent(prompt, content, id, specification, correlationId) {
|
372
|
+
return __awaiter(this, void 0, void 0, function* () {
|
373
|
+
return this.mutateAndCheckError(Documents.ReviseContent, { prompt: prompt, content: content, id: id, specification: specification, correlationId: correlationId });
|
374
|
+
});
|
375
|
+
}
|
376
|
+
promptConversation(prompt, id, specification, tools, requireTool, correlationId) {
|
367
377
|
return __awaiter(this, void 0, void 0, function* () {
|
368
|
-
return this.mutateAndCheckError(Documents.PromptConversation, { prompt: prompt, id: id, specification: specification, tools: tools, correlationId: correlationId });
|
378
|
+
return this.mutateAndCheckError(Documents.PromptConversation, { prompt: prompt, id: id, specification: specification, tools: tools, requireTool: requireTool, correlationId: correlationId });
|
369
379
|
});
|
370
380
|
}
|
371
381
|
continueConversation(id, responses, correlationId) {
|
@@ -57,6 +57,7 @@ export declare const GetConversation: import("graphql").DocumentNode;
|
|
57
57
|
export declare const PromptConversation: import("graphql").DocumentNode;
|
58
58
|
export declare const PublishConversation: import("graphql").DocumentNode;
|
59
59
|
export declare const QueryConversations: import("graphql").DocumentNode;
|
60
|
+
export declare const ReviseContent: import("graphql").DocumentNode;
|
60
61
|
export declare const SuggestConversation: import("graphql").DocumentNode;
|
61
62
|
export declare const UpdateConversation: import("graphql").DocumentNode;
|
62
63
|
export declare const CountEvents: import("graphql").DocumentNode;
|
@@ -229,6 +230,7 @@ export declare const DeleteRepos: import("graphql").DocumentNode;
|
|
229
230
|
export declare const GetRepo: import("graphql").DocumentNode;
|
230
231
|
export declare const QueryRepos: import("graphql").DocumentNode;
|
231
232
|
export declare const UpdateRepo: import("graphql").DocumentNode;
|
233
|
+
export declare const SearchWeb: import("graphql").DocumentNode;
|
232
234
|
export declare const CountSoftwares: import("graphql").DocumentNode;
|
233
235
|
export declare const CreateSoftware: import("graphql").DocumentNode;
|
234
236
|
export declare const DeleteAllSoftwares: import("graphql").DocumentNode;
|
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.ContinueConversation = exports.CloseConversation = exports.ClearConversation = exports.UpdateContent = exports.SummarizeContents = 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.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.
|
8
|
-
exports.
|
9
|
-
exports.
|
10
|
-
exports.
|
11
|
-
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = void 0;
|
7
|
+
exports.DeleteMedicalConditions = exports.DeleteMedicalCondition = exports.DeleteAllMedicalConditions = exports.CreateMedicalCondition = exports.CountMedicalConditions = exports.UpdateLabel = exports.QueryLabels = exports.GetLabel = exports.DeleteLabels = exports.DeleteLabel = 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.ReviseContent = exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.GetConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = void 0;
|
8
|
+
exports.QueryMedicalIndications = exports.GetMedicalIndication = exports.DeleteMedicalIndications = exports.DeleteMedicalIndication = exports.DeleteAllMedicalIndications = exports.CreateMedicalIndication = exports.CountMedicalIndications = exports.UpdateMedicalGuideline = exports.QueryMedicalGuidelines = exports.GetMedicalGuideline = 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 = void 0;
|
9
|
+
exports.GetPerson = exports.DeletePersons = exports.DeletePerson = exports.DeleteAllPersons = exports.CreatePerson = exports.CountPersons = exports.UpdateOrganization = exports.QueryOrganizations = exports.GetOrganization = exports.DeleteOrganizations = 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 = void 0;
|
10
|
+
exports.UpdateSpecification = exports.QuerySpecifications = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecifications = exports.DeleteSpecification = exports.DeleteAllSpecifications = exports.CreateSpecification = exports.CountSpecifications = exports.UpdateSoftware = 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 = void 0;
|
11
|
+
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.CountWorkflows = 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) {
|
@@ -2051,12 +2051,13 @@ exports.GetConversation = (0, graphql_tag_1.default) `
|
|
2051
2051
|
}
|
2052
2052
|
`;
|
2053
2053
|
exports.PromptConversation = (0, graphql_tag_1.default) `
|
2054
|
-
mutation PromptConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $tools: [ToolDefinitionInput!], $correlationId: String) {
|
2054
|
+
mutation PromptConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $tools: [ToolDefinitionInput!], $requireTool: Boolean, $correlationId: String) {
|
2055
2055
|
promptConversation(
|
2056
2056
|
prompt: $prompt
|
2057
2057
|
id: $id
|
2058
2058
|
specification: $specification
|
2059
2059
|
tools: $tools
|
2060
|
+
requireTool: $requireTool
|
2060
2061
|
correlationId: $correlationId
|
2061
2062
|
) {
|
2062
2063
|
conversation {
|
@@ -2521,6 +2522,143 @@ exports.QueryConversations = (0, graphql_tag_1.default) `
|
|
2521
2522
|
}
|
2522
2523
|
}
|
2523
2524
|
`;
|
2525
|
+
exports.ReviseContent = (0, graphql_tag_1.default) `
|
2526
|
+
mutation ReviseContent($prompt: String!, $content: EntityReferenceInput!, $id: ID, $specification: EntityReferenceInput, $correlationId: String) {
|
2527
|
+
reviseContent(
|
2528
|
+
prompt: $prompt
|
2529
|
+
content: $content
|
2530
|
+
id: $id
|
2531
|
+
specification: $specification
|
2532
|
+
correlationId: $correlationId
|
2533
|
+
) {
|
2534
|
+
conversation {
|
2535
|
+
id
|
2536
|
+
}
|
2537
|
+
message {
|
2538
|
+
role
|
2539
|
+
author
|
2540
|
+
message
|
2541
|
+
citations {
|
2542
|
+
content {
|
2543
|
+
id
|
2544
|
+
name
|
2545
|
+
state
|
2546
|
+
originalDate
|
2547
|
+
identifier
|
2548
|
+
uri
|
2549
|
+
type
|
2550
|
+
fileType
|
2551
|
+
mimeType
|
2552
|
+
format
|
2553
|
+
formatName
|
2554
|
+
fileExtension
|
2555
|
+
fileName
|
2556
|
+
fileSize
|
2557
|
+
masterUri
|
2558
|
+
imageUri
|
2559
|
+
textUri
|
2560
|
+
audioUri
|
2561
|
+
transcriptUri
|
2562
|
+
summary
|
2563
|
+
customSummary
|
2564
|
+
keywords
|
2565
|
+
bullets
|
2566
|
+
headlines
|
2567
|
+
posts
|
2568
|
+
chapters
|
2569
|
+
questions
|
2570
|
+
video {
|
2571
|
+
width
|
2572
|
+
height
|
2573
|
+
duration
|
2574
|
+
make
|
2575
|
+
model
|
2576
|
+
software
|
2577
|
+
title
|
2578
|
+
description
|
2579
|
+
keywords
|
2580
|
+
author
|
2581
|
+
}
|
2582
|
+
audio {
|
2583
|
+
keywords
|
2584
|
+
author
|
2585
|
+
series
|
2586
|
+
episode
|
2587
|
+
episodeType
|
2588
|
+
season
|
2589
|
+
publisher
|
2590
|
+
copyright
|
2591
|
+
genre
|
2592
|
+
title
|
2593
|
+
description
|
2594
|
+
bitrate
|
2595
|
+
channels
|
2596
|
+
sampleRate
|
2597
|
+
bitsPerSample
|
2598
|
+
duration
|
2599
|
+
}
|
2600
|
+
image {
|
2601
|
+
width
|
2602
|
+
height
|
2603
|
+
resolutionX
|
2604
|
+
resolutionY
|
2605
|
+
bitsPerComponent
|
2606
|
+
components
|
2607
|
+
projectionType
|
2608
|
+
orientation
|
2609
|
+
description
|
2610
|
+
make
|
2611
|
+
model
|
2612
|
+
software
|
2613
|
+
lens
|
2614
|
+
focalLength
|
2615
|
+
exposureTime
|
2616
|
+
fNumber
|
2617
|
+
iso
|
2618
|
+
heading
|
2619
|
+
pitch
|
2620
|
+
}
|
2621
|
+
document {
|
2622
|
+
title
|
2623
|
+
subject
|
2624
|
+
summary
|
2625
|
+
author
|
2626
|
+
publisher
|
2627
|
+
description
|
2628
|
+
keywords
|
2629
|
+
pageCount
|
2630
|
+
worksheetCount
|
2631
|
+
slideCount
|
2632
|
+
wordCount
|
2633
|
+
lineCount
|
2634
|
+
paragraphCount
|
2635
|
+
isEncrypted
|
2636
|
+
hasDigitalSignature
|
2637
|
+
}
|
2638
|
+
}
|
2639
|
+
index
|
2640
|
+
text
|
2641
|
+
startTime
|
2642
|
+
endTime
|
2643
|
+
pageNumber
|
2644
|
+
frameNumber
|
2645
|
+
}
|
2646
|
+
toolCalls {
|
2647
|
+
id
|
2648
|
+
name
|
2649
|
+
arguments
|
2650
|
+
}
|
2651
|
+
tokens
|
2652
|
+
throughput
|
2653
|
+
completionTime
|
2654
|
+
timestamp
|
2655
|
+
modelService
|
2656
|
+
model
|
2657
|
+
}
|
2658
|
+
messageCount
|
2659
|
+
}
|
2660
|
+
}
|
2661
|
+
`;
|
2524
2662
|
exports.SuggestConversation = (0, graphql_tag_1.default) `
|
2525
2663
|
mutation SuggestConversation($id: ID!, $count: Int, $prompt: String, $correlationId: String) {
|
2526
2664
|
suggestConversation(
|
@@ -4749,6 +4887,18 @@ exports.UpdateRepo = (0, graphql_tag_1.default) `
|
|
4749
4887
|
}
|
4750
4888
|
}
|
4751
4889
|
`;
|
4890
|
+
exports.SearchWeb = (0, graphql_tag_1.default) `
|
4891
|
+
query SearchWeb($text: String!, $service: SearchServiceTypes, $limit: Int) {
|
4892
|
+
searchWeb(text: $text, service: $service, limit: $limit) {
|
4893
|
+
results {
|
4894
|
+
uri
|
4895
|
+
text
|
4896
|
+
title
|
4897
|
+
score
|
4898
|
+
}
|
4899
|
+
}
|
4900
|
+
}
|
4901
|
+
`;
|
4752
4902
|
exports.CountSoftwares = (0, graphql_tag_1.default) `
|
4753
4903
|
query CountSoftwares($filter: SoftwareFilter) {
|
4754
4904
|
countSoftwares(filter: $filter) {
|
@@ -5421,6 +5571,8 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
|
|
5421
5571
|
key
|
5422
5572
|
enableRedaction
|
5423
5573
|
enableSpeakerDiarization
|
5574
|
+
detectLanguage
|
5575
|
+
language
|
5424
5576
|
}
|
5425
5577
|
document {
|
5426
5578
|
includeImages
|
@@ -5586,6 +5738,8 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
|
|
5586
5738
|
key
|
5587
5739
|
enableRedaction
|
5588
5740
|
enableSpeakerDiarization
|
5741
|
+
detectLanguage
|
5742
|
+
language
|
5589
5743
|
}
|
5590
5744
|
document {
|
5591
5745
|
includeImages
|
@@ -5724,6 +5878,8 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
|
|
5724
5878
|
key
|
5725
5879
|
enableRedaction
|
5726
5880
|
enableSpeakerDiarization
|
5881
|
+
detectLanguage
|
5882
|
+
language
|
5727
5883
|
}
|
5728
5884
|
document {
|
5729
5885
|
includeImages
|
@@ -5857,6 +6013,8 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
|
|
5857
6013
|
key
|
5858
6014
|
enableRedaction
|
5859
6015
|
enableSpeakerDiarization
|
6016
|
+
detectLanguage
|
6017
|
+
language
|
5860
6018
|
}
|
5861
6019
|
document {
|
5862
6020
|
includeImages
|
@@ -392,9 +392,13 @@ export declare enum AnthropicModels {
|
|
392
392
|
/** Developer-specified model */
|
393
393
|
Custom = "CUSTOM"
|
394
394
|
}
|
395
|
+
/** Defines when a policy shall be executed. */
|
395
396
|
export declare enum ApplyPolicy {
|
397
|
+
/** After the resolver was executed. */
|
396
398
|
AfterResolver = "AFTER_RESOLVER",
|
399
|
+
/** Before the resolver was executed. */
|
397
400
|
BeforeResolver = "BEFORE_RESOLVER",
|
401
|
+
/** The policy is applied in the validation step before the execution. */
|
398
402
|
Validation = "VALIDATION"
|
399
403
|
}
|
400
404
|
/** Represents Atlassian Jira feed properties. */
|
@@ -1991,23 +1995,31 @@ export type DateRangeInput = {
|
|
1991
1995
|
/** Represents the Deepgram preparation properties. */
|
1992
1996
|
export type DeepgramAudioPreparationProperties = {
|
1993
1997
|
__typename?: 'DeepgramAudioPreparationProperties';
|
1998
|
+
/** Whether to auto-detect the speaker(s) language during Deepgram audio transcription. */
|
1999
|
+
detectLanguage?: Maybe<Scalars['Boolean']['output']>;
|
1994
2000
|
/** Whether to enable redaction during Deepgram audio transcription. */
|
1995
2001
|
enableRedaction?: Maybe<Scalars['Boolean']['output']>;
|
1996
2002
|
/** Whether to enable speaker diarization during Deepgram audio transcription. */
|
1997
2003
|
enableSpeakerDiarization?: Maybe<Scalars['Boolean']['output']>;
|
1998
2004
|
/** The Deepgram API key, optional. */
|
1999
2005
|
key?: Maybe<Scalars['String']['output']>;
|
2006
|
+
/** Specify the language to transcribe during Deepgram audio transcription. Expected language in BCP 47 format, such as 'en' or 'en-US'. */
|
2007
|
+
language?: Maybe<Scalars['String']['output']>;
|
2000
2008
|
/** The Deepgram transcription model. */
|
2001
2009
|
model?: Maybe<DeepgramModels>;
|
2002
2010
|
};
|
2003
2011
|
/** Represents the Deepgram preparation properties. */
|
2004
2012
|
export type DeepgramAudioPreparationPropertiesInput = {
|
2013
|
+
/** Whether to auto-detect the speaker(s) language during Deepgram audio transcription. */
|
2014
|
+
detectLanguage?: InputMaybe<Scalars['Boolean']['input']>;
|
2005
2015
|
/** Whether to enable redaction during Deepgram audio transcription. */
|
2006
2016
|
enableRedaction?: InputMaybe<Scalars['Boolean']['input']>;
|
2007
2017
|
/** Whether to enable speaker diarization during Deepgram audio transcription. */
|
2008
2018
|
enableSpeakerDiarization?: InputMaybe<Scalars['Boolean']['input']>;
|
2009
2019
|
/** The Deepgram API key, optional. */
|
2010
2020
|
key?: InputMaybe<Scalars['String']['input']>;
|
2021
|
+
/** Specify the language to transcribe during Deepgram audio transcription. Expected language in BCP 47 format, such as 'en' or 'en-US'. */
|
2022
|
+
language?: InputMaybe<Scalars['String']['input']>;
|
2011
2023
|
/** The Deepgram transcription model. */
|
2012
2024
|
model?: InputMaybe<DeepgramModels>;
|
2013
2025
|
};
|
@@ -6781,6 +6793,8 @@ export type Mutation = {
|
|
6781
6793
|
restartAllContents?: Maybe<Array<Maybe<Content>>>;
|
6782
6794
|
/** Restarts workflow on content. */
|
6783
6795
|
restartContent?: Maybe<Content>;
|
6796
|
+
/** Revise content via prompted conversation. */
|
6797
|
+
reviseContent?: Maybe<ReviseContent>;
|
6784
6798
|
/** Suggest prompts for a conversation. */
|
6785
6799
|
suggestConversation?: Maybe<PromptSuggestion>;
|
6786
6800
|
/** Summarizes contents based on the provided filter criteria. */
|
@@ -7369,6 +7383,7 @@ export type MutationPromptConversationArgs = {
|
|
7369
7383
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
7370
7384
|
id?: InputMaybe<Scalars['ID']['input']>;
|
7371
7385
|
prompt: Scalars['String']['input'];
|
7386
|
+
requireTool?: InputMaybe<Scalars['Boolean']['input']>;
|
7372
7387
|
specification?: InputMaybe<EntityReferenceInput>;
|
7373
7388
|
tools?: InputMaybe<Array<ToolDefinitionInput>>;
|
7374
7389
|
};
|
@@ -7421,6 +7436,13 @@ export type MutationRestartAllContentsArgs = {
|
|
7421
7436
|
export type MutationRestartContentArgs = {
|
7422
7437
|
id: Scalars['ID']['input'];
|
7423
7438
|
};
|
7439
|
+
export type MutationReviseContentArgs = {
|
7440
|
+
content: EntityReferenceInput;
|
7441
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
7442
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
7443
|
+
prompt: Scalars['String']['input'];
|
7444
|
+
specification?: InputMaybe<EntityReferenceInput>;
|
7445
|
+
};
|
7424
7446
|
export type MutationSuggestConversationArgs = {
|
7425
7447
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
7426
7448
|
count?: InputMaybe<Scalars['Int']['input']>;
|
@@ -9474,6 +9496,8 @@ export type Query = {
|
|
9474
9496
|
repo?: Maybe<Repo>;
|
9475
9497
|
/** Retrieves code repositories based on the provided filter criteria. */
|
9476
9498
|
repos?: Maybe<RepoResults>;
|
9499
|
+
/** Searches the web based on the provided properties. */
|
9500
|
+
searchWeb?: Maybe<WebSearchResults>;
|
9477
9501
|
/** Retrieves Microsoft SharePoint consent URI. Visit URI to provide administrator consent for feeds which use the Microsoft Graph API. */
|
9478
9502
|
sharePointConsentUri?: Maybe<UriResult>;
|
9479
9503
|
/** Retrieves available SharePoint document library folders. */
|
@@ -9862,6 +9886,12 @@ export type QueryReposArgs = {
|
|
9862
9886
|
facets?: InputMaybe<Array<RepoFacetInput>>;
|
9863
9887
|
filter?: InputMaybe<RepoFilter>;
|
9864
9888
|
};
|
9889
|
+
export type QuerySearchWebArgs = {
|
9890
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
9891
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
9892
|
+
service?: InputMaybe<SearchServiceTypes>;
|
9893
|
+
text: Scalars['String']['input'];
|
9894
|
+
};
|
9865
9895
|
export type QuerySharePointConsentUriArgs = {
|
9866
9896
|
tenantId: Scalars['ID']['input'];
|
9867
9897
|
};
|
@@ -10274,6 +10304,16 @@ export type RetrievalStrategyUpdateInput = {
|
|
10274
10304
|
/** The retrieval strategy type. */
|
10275
10305
|
type?: InputMaybe<RetrievalStrategyTypes>;
|
10276
10306
|
};
|
10307
|
+
/** Represents a prompted content revision. */
|
10308
|
+
export type ReviseContent = {
|
10309
|
+
__typename?: 'ReviseContent';
|
10310
|
+
/** The completed conversation. */
|
10311
|
+
conversation?: Maybe<EntityReference>;
|
10312
|
+
/** The completed conversation message. */
|
10313
|
+
message?: Maybe<ConversationMessage>;
|
10314
|
+
/** The conversation message count, after completion. */
|
10315
|
+
messageCount?: Maybe<Scalars['Int']['output']>;
|
10316
|
+
};
|
10277
10317
|
/** Represents a revision strategy. */
|
10278
10318
|
export type RevisionStrategy = {
|
10279
10319
|
__typename?: 'RevisionStrategy';
|
@@ -10327,7 +10367,7 @@ export type SearchFeedPropertiesInput = {
|
|
10327
10367
|
readLimit?: InputMaybe<Scalars['Int']['input']>;
|
10328
10368
|
/** The web search text. */
|
10329
10369
|
text: Scalars['String']['input'];
|
10330
|
-
/**
|
10370
|
+
/** Web search service type, defaults to Tavily. */
|
10331
10371
|
type?: InputMaybe<SearchServiceTypes>;
|
10332
10372
|
};
|
10333
10373
|
/** Represents web search feed properties. */
|
@@ -11450,6 +11490,24 @@ export type WebFeedPropertiesUpdateInput = {
|
|
11450
11490
|
/** The web URI. */
|
11451
11491
|
uri?: InputMaybe<Scalars['URL']['input']>;
|
11452
11492
|
};
|
11493
|
+
/** Represents web search result. */
|
11494
|
+
export type WebSearchResult = {
|
11495
|
+
__typename?: 'WebSearchResult';
|
11496
|
+
/** The search relevance score. */
|
11497
|
+
score?: Maybe<Scalars['Float']['output']>;
|
11498
|
+
/** The relevant web page text. */
|
11499
|
+
text?: Maybe<Scalars['String']['output']>;
|
11500
|
+
/** The web page title. */
|
11501
|
+
title?: Maybe<Scalars['String']['output']>;
|
11502
|
+
/** The web page URI. */
|
11503
|
+
uri: Scalars['URL']['output'];
|
11504
|
+
};
|
11505
|
+
/** Represents web search results. */
|
11506
|
+
export type WebSearchResults = {
|
11507
|
+
__typename?: 'WebSearchResults';
|
11508
|
+
/** The list of web search results. */
|
11509
|
+
results?: Maybe<Array<WebSearchResult>>;
|
11510
|
+
};
|
11453
11511
|
/** Represents a workflow. */
|
11454
11512
|
export type Workflow = {
|
11455
11513
|
__typename?: 'Workflow';
|
@@ -14048,6 +14106,7 @@ export type PromptConversationMutationVariables = Exact<{
|
|
14048
14106
|
id?: InputMaybe<Scalars['ID']['input']>;
|
14049
14107
|
specification?: InputMaybe<EntityReferenceInput>;
|
14050
14108
|
tools?: InputMaybe<Array<ToolDefinitionInput> | ToolDefinitionInput>;
|
14109
|
+
requireTool?: InputMaybe<Scalars['Boolean']['input']>;
|
14051
14110
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
14052
14111
|
}>;
|
14053
14112
|
export type PromptConversationMutation = {
|
@@ -14589,6 +14648,153 @@ export type QueryConversationsQuery = {
|
|
14589
14648
|
} | null> | null;
|
14590
14649
|
} | null;
|
14591
14650
|
};
|
14651
|
+
export type ReviseContentMutationVariables = Exact<{
|
14652
|
+
prompt: Scalars['String']['input'];
|
14653
|
+
content: EntityReferenceInput;
|
14654
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
14655
|
+
specification?: InputMaybe<EntityReferenceInput>;
|
14656
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
14657
|
+
}>;
|
14658
|
+
export type ReviseContentMutation = {
|
14659
|
+
__typename?: 'Mutation';
|
14660
|
+
reviseContent?: {
|
14661
|
+
__typename?: 'ReviseContent';
|
14662
|
+
messageCount?: number | null;
|
14663
|
+
conversation?: {
|
14664
|
+
__typename?: 'EntityReference';
|
14665
|
+
id: string;
|
14666
|
+
} | null;
|
14667
|
+
message?: {
|
14668
|
+
__typename?: 'ConversationMessage';
|
14669
|
+
role: ConversationRoleTypes;
|
14670
|
+
author?: string | null;
|
14671
|
+
message?: string | null;
|
14672
|
+
tokens?: number | null;
|
14673
|
+
throughput?: number | null;
|
14674
|
+
completionTime?: any | null;
|
14675
|
+
timestamp?: any | null;
|
14676
|
+
modelService?: ModelServiceTypes | null;
|
14677
|
+
model?: string | null;
|
14678
|
+
citations?: Array<{
|
14679
|
+
__typename?: 'ConversationCitation';
|
14680
|
+
index?: number | null;
|
14681
|
+
text: string;
|
14682
|
+
startTime?: any | null;
|
14683
|
+
endTime?: any | null;
|
14684
|
+
pageNumber?: number | null;
|
14685
|
+
frameNumber?: number | null;
|
14686
|
+
content?: {
|
14687
|
+
__typename?: 'Content';
|
14688
|
+
id: string;
|
14689
|
+
name: string;
|
14690
|
+
state: EntityState;
|
14691
|
+
originalDate?: any | null;
|
14692
|
+
identifier?: string | null;
|
14693
|
+
uri?: any | null;
|
14694
|
+
type?: ContentTypes | null;
|
14695
|
+
fileType?: FileTypes | null;
|
14696
|
+
mimeType?: string | null;
|
14697
|
+
format?: string | null;
|
14698
|
+
formatName?: string | null;
|
14699
|
+
fileExtension?: string | null;
|
14700
|
+
fileName?: string | null;
|
14701
|
+
fileSize?: any | null;
|
14702
|
+
masterUri?: any | null;
|
14703
|
+
imageUri?: any | null;
|
14704
|
+
textUri?: any | null;
|
14705
|
+
audioUri?: any | null;
|
14706
|
+
transcriptUri?: any | null;
|
14707
|
+
summary?: string | null;
|
14708
|
+
customSummary?: string | null;
|
14709
|
+
keywords?: Array<string> | null;
|
14710
|
+
bullets?: Array<string> | null;
|
14711
|
+
headlines?: Array<string> | null;
|
14712
|
+
posts?: Array<string> | null;
|
14713
|
+
chapters?: Array<string> | null;
|
14714
|
+
questions?: Array<string> | null;
|
14715
|
+
video?: {
|
14716
|
+
__typename?: 'VideoMetadata';
|
14717
|
+
width?: number | null;
|
14718
|
+
height?: number | null;
|
14719
|
+
duration?: any | null;
|
14720
|
+
make?: string | null;
|
14721
|
+
model?: string | null;
|
14722
|
+
software?: string | null;
|
14723
|
+
title?: string | null;
|
14724
|
+
description?: string | null;
|
14725
|
+
keywords?: Array<string | null> | null;
|
14726
|
+
author?: string | null;
|
14727
|
+
} | null;
|
14728
|
+
audio?: {
|
14729
|
+
__typename?: 'AudioMetadata';
|
14730
|
+
keywords?: Array<string | null> | null;
|
14731
|
+
author?: string | null;
|
14732
|
+
series?: string | null;
|
14733
|
+
episode?: string | null;
|
14734
|
+
episodeType?: string | null;
|
14735
|
+
season?: string | null;
|
14736
|
+
publisher?: string | null;
|
14737
|
+
copyright?: string | null;
|
14738
|
+
genre?: string | null;
|
14739
|
+
title?: string | null;
|
14740
|
+
description?: string | null;
|
14741
|
+
bitrate?: number | null;
|
14742
|
+
channels?: number | null;
|
14743
|
+
sampleRate?: number | null;
|
14744
|
+
bitsPerSample?: number | null;
|
14745
|
+
duration?: any | null;
|
14746
|
+
} | null;
|
14747
|
+
image?: {
|
14748
|
+
__typename?: 'ImageMetadata';
|
14749
|
+
width?: number | null;
|
14750
|
+
height?: number | null;
|
14751
|
+
resolutionX?: number | null;
|
14752
|
+
resolutionY?: number | null;
|
14753
|
+
bitsPerComponent?: number | null;
|
14754
|
+
components?: number | null;
|
14755
|
+
projectionType?: ImageProjectionTypes | null;
|
14756
|
+
orientation?: OrientationTypes | null;
|
14757
|
+
description?: string | null;
|
14758
|
+
make?: string | null;
|
14759
|
+
model?: string | null;
|
14760
|
+
software?: string | null;
|
14761
|
+
lens?: string | null;
|
14762
|
+
focalLength?: number | null;
|
14763
|
+
exposureTime?: string | null;
|
14764
|
+
fNumber?: string | null;
|
14765
|
+
iso?: string | null;
|
14766
|
+
heading?: number | null;
|
14767
|
+
pitch?: number | null;
|
14768
|
+
} | null;
|
14769
|
+
document?: {
|
14770
|
+
__typename?: 'DocumentMetadata';
|
14771
|
+
title?: string | null;
|
14772
|
+
subject?: string | null;
|
14773
|
+
summary?: string | null;
|
14774
|
+
author?: string | null;
|
14775
|
+
publisher?: string | null;
|
14776
|
+
description?: string | null;
|
14777
|
+
keywords?: Array<string | null> | null;
|
14778
|
+
pageCount?: number | null;
|
14779
|
+
worksheetCount?: number | null;
|
14780
|
+
slideCount?: number | null;
|
14781
|
+
wordCount?: number | null;
|
14782
|
+
lineCount?: number | null;
|
14783
|
+
paragraphCount?: number | null;
|
14784
|
+
isEncrypted?: boolean | null;
|
14785
|
+
hasDigitalSignature?: boolean | null;
|
14786
|
+
} | null;
|
14787
|
+
} | null;
|
14788
|
+
} | null> | null;
|
14789
|
+
toolCalls?: Array<{
|
14790
|
+
__typename?: 'ConversationToolCall';
|
14791
|
+
id: string;
|
14792
|
+
name: string;
|
14793
|
+
arguments: string;
|
14794
|
+
} | null> | null;
|
14795
|
+
} | null;
|
14796
|
+
} | null;
|
14797
|
+
};
|
14592
14798
|
export type SuggestConversationMutationVariables = Exact<{
|
14593
14799
|
id: Scalars['ID']['input'];
|
14594
14800
|
count?: InputMaybe<Scalars['Int']['input']>;
|
@@ -17408,6 +17614,24 @@ export type UpdateRepoMutation = {
|
|
17408
17614
|
name: string;
|
17409
17615
|
} | null;
|
17410
17616
|
};
|
17617
|
+
export type SearchWebQueryVariables = Exact<{
|
17618
|
+
text: Scalars['String']['input'];
|
17619
|
+
service?: InputMaybe<SearchServiceTypes>;
|
17620
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
17621
|
+
}>;
|
17622
|
+
export type SearchWebQuery = {
|
17623
|
+
__typename?: 'Query';
|
17624
|
+
searchWeb?: {
|
17625
|
+
__typename?: 'WebSearchResults';
|
17626
|
+
results?: Array<{
|
17627
|
+
__typename?: 'WebSearchResult';
|
17628
|
+
uri: any;
|
17629
|
+
text?: string | null;
|
17630
|
+
title?: string | null;
|
17631
|
+
score?: number | null;
|
17632
|
+
}> | null;
|
17633
|
+
} | null;
|
17634
|
+
};
|
17411
17635
|
export type CountSoftwaresQueryVariables = Exact<{
|
17412
17636
|
filter?: InputMaybe<SoftwareFilter>;
|
17413
17637
|
}>;
|
@@ -18201,6 +18425,8 @@ export type CreateWorkflowMutation = {
|
|
18201
18425
|
key?: string | null;
|
18202
18426
|
enableRedaction?: boolean | null;
|
18203
18427
|
enableSpeakerDiarization?: boolean | null;
|
18428
|
+
detectLanguage?: boolean | null;
|
18429
|
+
language?: string | null;
|
18204
18430
|
} | null;
|
18205
18431
|
document?: {
|
18206
18432
|
__typename?: 'DocumentPreparationProperties';
|
@@ -18412,6 +18638,8 @@ export type GetWorkflowQuery = {
|
|
18412
18638
|
key?: string | null;
|
18413
18639
|
enableRedaction?: boolean | null;
|
18414
18640
|
enableSpeakerDiarization?: boolean | null;
|
18641
|
+
detectLanguage?: boolean | null;
|
18642
|
+
language?: string | null;
|
18415
18643
|
} | null;
|
18416
18644
|
document?: {
|
18417
18645
|
__typename?: 'DocumentPreparationProperties';
|
@@ -18589,6 +18817,8 @@ export type QueryWorkflowsQuery = {
|
|
18589
18817
|
key?: string | null;
|
18590
18818
|
enableRedaction?: boolean | null;
|
18591
18819
|
enableSpeakerDiarization?: boolean | null;
|
18820
|
+
detectLanguage?: boolean | null;
|
18821
|
+
language?: string | null;
|
18592
18822
|
} | null;
|
18593
18823
|
document?: {
|
18594
18824
|
__typename?: 'DocumentPreparationProperties';
|
@@ -18759,6 +18989,8 @@ export type UpdateWorkflowMutation = {
|
|
18759
18989
|
key?: string | null;
|
18760
18990
|
enableRedaction?: boolean | null;
|
18761
18991
|
enableSpeakerDiarization?: boolean | null;
|
18992
|
+
detectLanguage?: boolean | null;
|
18993
|
+
language?: string | null;
|
18762
18994
|
} | null;
|
18763
18995
|
document?: {
|
18764
18996
|
__typename?: 'DocumentPreparationProperties';
|
@@ -47,10 +47,14 @@ var AnthropicModels;
|
|
47
47
|
/** Developer-specified model */
|
48
48
|
AnthropicModels["Custom"] = "CUSTOM";
|
49
49
|
})(AnthropicModels || (exports.AnthropicModels = AnthropicModels = {}));
|
50
|
+
/** Defines when a policy shall be executed. */
|
50
51
|
var ApplyPolicy;
|
51
52
|
(function (ApplyPolicy) {
|
53
|
+
/** After the resolver was executed. */
|
52
54
|
ApplyPolicy["AfterResolver"] = "AFTER_RESOLVER";
|
55
|
+
/** Before the resolver was executed. */
|
53
56
|
ApplyPolicy["BeforeResolver"] = "BEFORE_RESOLVER";
|
57
|
+
/** The policy is applied in the validation step before the execution. */
|
54
58
|
ApplyPolicy["Validation"] = "VALIDATION";
|
55
59
|
})(ApplyPolicy || (exports.ApplyPolicy = ApplyPolicy = {}));
|
56
60
|
var AzureDocumentIntelligenceModels;
|