graphlit-client 1.0.20241022001 → 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
- promptConversation(prompt: string, id?: string, specification?: Types.EntityReferenceInput, tools?: [Types.ToolDefinitionInput], correlationId?: string): Promise<Types.PromptConversationMutation>;
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
- promptConversation(prompt, id, specification, tools, correlationId) {
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.GetMedicalCondition = 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.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.GetConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = void 0;
8
- exports.UpdateMedicalIndication = 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 = void 0;
9
- exports.QueryPersons = 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 = void 0;
10
- 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 = exports.GetSoftware = exports.DeleteSoftwares = exports.DeleteSoftware = exports.DeleteAllSoftwares = exports.CreateSoftware = exports.CountSoftwares = 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 = void 0;
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) {
@@ -4908,6 +5058,7 @@ exports.GetSpecification = (0, graphql_tag_1.default) `
4908
5058
  retrievalStrategy {
4909
5059
  type
4910
5060
  contentLimit
5061
+ disableFallback
4911
5062
  }
4912
5063
  rerankingStrategy {
4913
5064
  serviceType
@@ -5210,6 +5361,7 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
5210
5361
  retrievalStrategy {
5211
5362
  type
5212
5363
  contentLimit
5364
+ disableFallback
5213
5365
  }
5214
5366
  rerankingStrategy {
5215
5367
  serviceType
@@ -5419,6 +5571,8 @@ exports.CreateWorkflow = (0, graphql_tag_1.default) `
5419
5571
  key
5420
5572
  enableRedaction
5421
5573
  enableSpeakerDiarization
5574
+ detectLanguage
5575
+ language
5422
5576
  }
5423
5577
  document {
5424
5578
  includeImages
@@ -5584,6 +5738,8 @@ exports.GetWorkflow = (0, graphql_tag_1.default) `
5584
5738
  key
5585
5739
  enableRedaction
5586
5740
  enableSpeakerDiarization
5741
+ detectLanguage
5742
+ language
5587
5743
  }
5588
5744
  document {
5589
5745
  includeImages
@@ -5722,6 +5878,8 @@ exports.QueryWorkflows = (0, graphql_tag_1.default) `
5722
5878
  key
5723
5879
  enableRedaction
5724
5880
  enableSpeakerDiarization
5881
+ detectLanguage
5882
+ language
5725
5883
  }
5726
5884
  document {
5727
5885
  includeImages
@@ -5855,6 +6013,8 @@ exports.UpdateWorkflow = (0, graphql_tag_1.default) `
5855
6013
  key
5856
6014
  enableRedaction
5857
6015
  enableSpeakerDiarization
6016
+ detectLanguage
6017
+ language
5858
6018
  }
5859
6019
  document {
5860
6020
  includeImages
@@ -363,6 +363,10 @@ export declare enum AnthropicModels {
363
363
  Claude_2_0 = "CLAUDE_2_0",
364
364
  /** @deprecated Use Claude 3.x instead. */
365
365
  Claude_2_1 = "CLAUDE_2_1",
366
+ /** Claude 3.5 Haiku (Latest) */
367
+ Claude_3_5Haiku = "CLAUDE_3_5_HAIKU",
368
+ /** Claude 3.5 Haiku (10-22-2024 version) */
369
+ Claude_3_5Haiku_20241022 = "CLAUDE_3_5_HAIKU_20241022",
366
370
  /** Claude 3.5 Sonnet (Latest) */
367
371
  Claude_3_5Sonnet = "CLAUDE_3_5_SONNET",
368
372
  /** Claude 3.5 Sonnet (06-20-2024 version) */
@@ -381,16 +385,20 @@ export declare enum AnthropicModels {
381
385
  Claude_3Sonnet = "CLAUDE_3_SONNET",
382
386
  /** Claude 3 Sonnet (02-29-2024 version) */
383
387
  Claude_3Sonnet_20240229 = "CLAUDE_3_SONNET_20240229",
384
- /** @deprecated Use Claude 3 Haiku instead. */
388
+ /** @deprecated Use Claude 3.5 Haiku instead. */
385
389
  ClaudeInstant_1 = "CLAUDE_INSTANT_1",
386
- /** @deprecated Use Claude 3 Haiku instead. */
390
+ /** @deprecated Use Claude 3.5 Haiku instead. */
387
391
  ClaudeInstant_1_2 = "CLAUDE_INSTANT_1_2",
388
392
  /** Developer-specified model */
389
393
  Custom = "CUSTOM"
390
394
  }
395
+ /** Defines when a policy shall be executed. */
391
396
  export declare enum ApplyPolicy {
397
+ /** After the resolver was executed. */
392
398
  AfterResolver = "AFTER_RESOLVER",
399
+ /** Before the resolver was executed. */
393
400
  BeforeResolver = "BEFORE_RESOLVER",
401
+ /** The policy is applied in the validation step before the execution. */
394
402
  Validation = "VALIDATION"
395
403
  }
396
404
  /** Represents Atlassian Jira feed properties. */
@@ -1803,7 +1811,7 @@ export type ConversationInput = {
1803
1811
  /** Filter content for conversation, optional. */
1804
1812
  filter?: InputMaybe<ContentCriteriaInput>;
1805
1813
  /** The conversation messages. */
1806
- messages?: InputMaybe<Array<InputMaybe<ConversationMessageInput>>>;
1814
+ messages?: InputMaybe<Array<ConversationMessageInput>>;
1807
1815
  /** The name of the conversation. */
1808
1816
  name: Scalars['String']['input'];
1809
1817
  /** The LLM specification used by this conversation, optional. */
@@ -1926,8 +1934,8 @@ export type ConversationToolCall = {
1926
1934
  __typename?: 'ConversationToolCall';
1927
1935
  /** The tool arguments. */
1928
1936
  arguments: Scalars['String']['output'];
1929
- /** The tool identifier. */
1930
- id?: Maybe<Scalars['String']['output']>;
1937
+ /** The tool call identifier. */
1938
+ id: Scalars['String']['output'];
1931
1939
  /** The tool name. */
1932
1940
  name: Scalars['String']['output'];
1933
1941
  };
@@ -1987,23 +1995,31 @@ export type DateRangeInput = {
1987
1995
  /** Represents the Deepgram preparation properties. */
1988
1996
  export type DeepgramAudioPreparationProperties = {
1989
1997
  __typename?: 'DeepgramAudioPreparationProperties';
1998
+ /** Whether to auto-detect the speaker(s) language during Deepgram audio transcription. */
1999
+ detectLanguage?: Maybe<Scalars['Boolean']['output']>;
1990
2000
  /** Whether to enable redaction during Deepgram audio transcription. */
1991
2001
  enableRedaction?: Maybe<Scalars['Boolean']['output']>;
1992
2002
  /** Whether to enable speaker diarization during Deepgram audio transcription. */
1993
2003
  enableSpeakerDiarization?: Maybe<Scalars['Boolean']['output']>;
1994
2004
  /** The Deepgram API key, optional. */
1995
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']>;
1996
2008
  /** The Deepgram transcription model. */
1997
2009
  model?: Maybe<DeepgramModels>;
1998
2010
  };
1999
2011
  /** Represents the Deepgram preparation properties. */
2000
2012
  export type DeepgramAudioPreparationPropertiesInput = {
2013
+ /** Whether to auto-detect the speaker(s) language during Deepgram audio transcription. */
2014
+ detectLanguage?: InputMaybe<Scalars['Boolean']['input']>;
2001
2015
  /** Whether to enable redaction during Deepgram audio transcription. */
2002
2016
  enableRedaction?: InputMaybe<Scalars['Boolean']['input']>;
2003
2017
  /** Whether to enable speaker diarization during Deepgram audio transcription. */
2004
2018
  enableSpeakerDiarization?: InputMaybe<Scalars['Boolean']['input']>;
2005
2019
  /** The Deepgram API key, optional. */
2006
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']>;
2007
2023
  /** The Deepgram transcription model. */
2008
2024
  model?: InputMaybe<DeepgramModels>;
2009
2025
  };
@@ -6777,6 +6793,8 @@ export type Mutation = {
6777
6793
  restartAllContents?: Maybe<Array<Maybe<Content>>>;
6778
6794
  /** Restarts workflow on content. */
6779
6795
  restartContent?: Maybe<Content>;
6796
+ /** Revise content via prompted conversation. */
6797
+ reviseContent?: Maybe<ReviseContent>;
6780
6798
  /** Suggest prompts for a conversation. */
6781
6799
  suggestConversation?: Maybe<PromptSuggestion>;
6782
6800
  /** Summarizes contents based on the provided filter criteria. */
@@ -7365,6 +7383,7 @@ export type MutationPromptConversationArgs = {
7365
7383
  correlationId?: InputMaybe<Scalars['String']['input']>;
7366
7384
  id?: InputMaybe<Scalars['ID']['input']>;
7367
7385
  prompt: Scalars['String']['input'];
7386
+ requireTool?: InputMaybe<Scalars['Boolean']['input']>;
7368
7387
  specification?: InputMaybe<EntityReferenceInput>;
7369
7388
  tools?: InputMaybe<Array<ToolDefinitionInput>>;
7370
7389
  };
@@ -7417,6 +7436,13 @@ export type MutationRestartAllContentsArgs = {
7417
7436
  export type MutationRestartContentArgs = {
7418
7437
  id: Scalars['ID']['input'];
7419
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
+ };
7420
7446
  export type MutationSuggestConversationArgs = {
7421
7447
  correlationId?: InputMaybe<Scalars['String']['input']>;
7422
7448
  count?: InputMaybe<Scalars['Int']['input']>;
@@ -9470,6 +9496,8 @@ export type Query = {
9470
9496
  repo?: Maybe<Repo>;
9471
9497
  /** Retrieves code repositories based on the provided filter criteria. */
9472
9498
  repos?: Maybe<RepoResults>;
9499
+ /** Searches the web based on the provided properties. */
9500
+ searchWeb?: Maybe<WebSearchResults>;
9473
9501
  /** Retrieves Microsoft SharePoint consent URI. Visit URI to provide administrator consent for feeds which use the Microsoft Graph API. */
9474
9502
  sharePointConsentUri?: Maybe<UriResult>;
9475
9503
  /** Retrieves available SharePoint document library folders. */
@@ -9858,6 +9886,12 @@ export type QueryReposArgs = {
9858
9886
  facets?: InputMaybe<Array<RepoFacetInput>>;
9859
9887
  filter?: InputMaybe<RepoFilter>;
9860
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
+ };
9861
9895
  export type QuerySharePointConsentUriArgs = {
9862
9896
  tenantId: Scalars['ID']['input'];
9863
9897
  };
@@ -10240,6 +10274,8 @@ export type RetrievalStrategy = {
10240
10274
  __typename?: 'RetrievalStrategy';
10241
10275
  /** The maximum number of content sources to provide with prompt context. Defaults to 25. */
10242
10276
  contentLimit?: Maybe<Scalars['Int']['output']>;
10277
+ /** Whether to disable fallback to previous contents, when no contents are found by semantic search. Defaults to false. */
10278
+ disableFallback?: Maybe<Scalars['Boolean']['output']>;
10243
10279
  /** The retrieval strategy type. */
10244
10280
  type: RetrievalStrategyTypes;
10245
10281
  };
@@ -10247,6 +10283,8 @@ export type RetrievalStrategy = {
10247
10283
  export type RetrievalStrategyInput = {
10248
10284
  /** The maximum number of content sources to provide with prompt context. Defaults to 25. */
10249
10285
  contentLimit?: InputMaybe<Scalars['Int']['input']>;
10286
+ /** Whether to disable fallback to previous contents, when no contents are found by semantic search. Defaults to false. */
10287
+ disableFallback?: InputMaybe<Scalars['Boolean']['input']>;
10250
10288
  /** The retrieval strategy type. */
10251
10289
  type: RetrievalStrategyTypes;
10252
10290
  };
@@ -10266,6 +10304,16 @@ export type RetrievalStrategyUpdateInput = {
10266
10304
  /** The retrieval strategy type. */
10267
10305
  type?: InputMaybe<RetrievalStrategyTypes>;
10268
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
+ };
10269
10317
  /** Represents a revision strategy. */
10270
10318
  export type RevisionStrategy = {
10271
10319
  __typename?: 'RevisionStrategy';
@@ -10319,7 +10367,7 @@ export type SearchFeedPropertiesInput = {
10319
10367
  readLimit?: InputMaybe<Scalars['Int']['input']>;
10320
10368
  /** The web search text. */
10321
10369
  text: Scalars['String']['input'];
10322
- /** Search service type, defaults to Tavily. */
10370
+ /** Web search service type, defaults to Tavily. */
10323
10371
  type?: InputMaybe<SearchServiceTypes>;
10324
10372
  };
10325
10373
  /** Represents web search feed properties. */
@@ -11442,6 +11490,24 @@ export type WebFeedPropertiesUpdateInput = {
11442
11490
  /** The web URI. */
11443
11491
  uri?: InputMaybe<Scalars['URL']['input']>;
11444
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
+ };
11445
11511
  /** Represents a workflow. */
11446
11512
  export type Workflow = {
11447
11513
  __typename?: 'Workflow';
@@ -13601,7 +13667,7 @@ export type ContinueConversationMutation = {
13601
13667
  } | null> | null;
13602
13668
  toolCalls?: Array<{
13603
13669
  __typename?: 'ConversationToolCall';
13604
- id?: string | null;
13670
+ id: string;
13605
13671
  name: string;
13606
13672
  arguments: string;
13607
13673
  } | null> | null;
@@ -13847,7 +13913,7 @@ export type GetConversationQuery = {
13847
13913
  } | null> | null;
13848
13914
  toolCalls?: Array<{
13849
13915
  __typename?: 'ConversationToolCall';
13850
- id?: string | null;
13916
+ id: string;
13851
13917
  name: string;
13852
13918
  arguments: string;
13853
13919
  } | null> | null;
@@ -14040,6 +14106,7 @@ export type PromptConversationMutationVariables = Exact<{
14040
14106
  id?: InputMaybe<Scalars['ID']['input']>;
14041
14107
  specification?: InputMaybe<EntityReferenceInput>;
14042
14108
  tools?: InputMaybe<Array<ToolDefinitionInput> | ToolDefinitionInput>;
14109
+ requireTool?: InputMaybe<Scalars['Boolean']['input']>;
14043
14110
  correlationId?: InputMaybe<Scalars['String']['input']>;
14044
14111
  }>;
14045
14112
  export type PromptConversationMutation = {
@@ -14175,7 +14242,7 @@ export type PromptConversationMutation = {
14175
14242
  } | null> | null;
14176
14243
  toolCalls?: Array<{
14177
14244
  __typename?: 'ConversationToolCall';
14178
- id?: string | null;
14245
+ id: string;
14179
14246
  name: string;
14180
14247
  arguments: string;
14181
14248
  } | null> | null;
@@ -14392,7 +14459,7 @@ export type QueryConversationsQuery = {
14392
14459
  } | null> | null;
14393
14460
  toolCalls?: Array<{
14394
14461
  __typename?: 'ConversationToolCall';
14395
- id?: string | null;
14462
+ id: string;
14396
14463
  name: string;
14397
14464
  arguments: string;
14398
14465
  } | null> | null;
@@ -14581,6 +14648,153 @@ export type QueryConversationsQuery = {
14581
14648
  } | null> | null;
14582
14649
  } | null;
14583
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
+ };
14584
14798
  export type SuggestConversationMutationVariables = Exact<{
14585
14799
  id: Scalars['ID']['input'];
14586
14800
  count?: InputMaybe<Scalars['Int']['input']>;
@@ -17400,6 +17614,24 @@ export type UpdateRepoMutation = {
17400
17614
  name: string;
17401
17615
  } | null;
17402
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
+ };
17403
17635
  export type CountSoftwaresQueryVariables = Exact<{
17404
17636
  filter?: InputMaybe<SoftwareFilter>;
17405
17637
  }>;
@@ -17605,6 +17837,7 @@ export type GetSpecificationQuery = {
17605
17837
  __typename?: 'RetrievalStrategy';
17606
17838
  type: RetrievalStrategyTypes;
17607
17839
  contentLimit?: number | null;
17840
+ disableFallback?: boolean | null;
17608
17841
  } | null;
17609
17842
  rerankingStrategy?: {
17610
17843
  __typename?: 'RerankingStrategy';
@@ -17895,7 +18128,7 @@ export type PromptSpecificationsMutation = {
17895
18128
  } | null> | null;
17896
18129
  toolCalls?: Array<{
17897
18130
  __typename?: 'ConversationToolCall';
17898
- id?: string | null;
18131
+ id: string;
17899
18132
  name: string;
17900
18133
  arguments: string;
17901
18134
  } | null> | null;
@@ -17944,6 +18177,7 @@ export type QuerySpecificationsQuery = {
17944
18177
  __typename?: 'RetrievalStrategy';
17945
18178
  type: RetrievalStrategyTypes;
17946
18179
  contentLimit?: number | null;
18180
+ disableFallback?: boolean | null;
17947
18181
  } | null;
17948
18182
  rerankingStrategy?: {
17949
18183
  __typename?: 'RerankingStrategy';
@@ -18191,6 +18425,8 @@ export type CreateWorkflowMutation = {
18191
18425
  key?: string | null;
18192
18426
  enableRedaction?: boolean | null;
18193
18427
  enableSpeakerDiarization?: boolean | null;
18428
+ detectLanguage?: boolean | null;
18429
+ language?: string | null;
18194
18430
  } | null;
18195
18431
  document?: {
18196
18432
  __typename?: 'DocumentPreparationProperties';
@@ -18402,6 +18638,8 @@ export type GetWorkflowQuery = {
18402
18638
  key?: string | null;
18403
18639
  enableRedaction?: boolean | null;
18404
18640
  enableSpeakerDiarization?: boolean | null;
18641
+ detectLanguage?: boolean | null;
18642
+ language?: string | null;
18405
18643
  } | null;
18406
18644
  document?: {
18407
18645
  __typename?: 'DocumentPreparationProperties';
@@ -18579,6 +18817,8 @@ export type QueryWorkflowsQuery = {
18579
18817
  key?: string | null;
18580
18818
  enableRedaction?: boolean | null;
18581
18819
  enableSpeakerDiarization?: boolean | null;
18820
+ detectLanguage?: boolean | null;
18821
+ language?: string | null;
18582
18822
  } | null;
18583
18823
  document?: {
18584
18824
  __typename?: 'DocumentPreparationProperties';
@@ -18749,6 +18989,8 @@ export type UpdateWorkflowMutation = {
18749
18989
  key?: string | null;
18750
18990
  enableRedaction?: boolean | null;
18751
18991
  enableSpeakerDiarization?: boolean | null;
18992
+ detectLanguage?: boolean | null;
18993
+ language?: string | null;
18752
18994
  } | null;
18753
18995
  document?: {
18754
18996
  __typename?: 'DocumentPreparationProperties';
@@ -18,6 +18,10 @@ var AnthropicModels;
18
18
  AnthropicModels["Claude_2_0"] = "CLAUDE_2_0";
19
19
  /** @deprecated Use Claude 3.x instead. */
20
20
  AnthropicModels["Claude_2_1"] = "CLAUDE_2_1";
21
+ /** Claude 3.5 Haiku (Latest) */
22
+ AnthropicModels["Claude_3_5Haiku"] = "CLAUDE_3_5_HAIKU";
23
+ /** Claude 3.5 Haiku (10-22-2024 version) */
24
+ AnthropicModels["Claude_3_5Haiku_20241022"] = "CLAUDE_3_5_HAIKU_20241022";
21
25
  /** Claude 3.5 Sonnet (Latest) */
22
26
  AnthropicModels["Claude_3_5Sonnet"] = "CLAUDE_3_5_SONNET";
23
27
  /** Claude 3.5 Sonnet (06-20-2024 version) */
@@ -36,17 +40,21 @@ var AnthropicModels;
36
40
  AnthropicModels["Claude_3Sonnet"] = "CLAUDE_3_SONNET";
37
41
  /** Claude 3 Sonnet (02-29-2024 version) */
38
42
  AnthropicModels["Claude_3Sonnet_20240229"] = "CLAUDE_3_SONNET_20240229";
39
- /** @deprecated Use Claude 3 Haiku instead. */
43
+ /** @deprecated Use Claude 3.5 Haiku instead. */
40
44
  AnthropicModels["ClaudeInstant_1"] = "CLAUDE_INSTANT_1";
41
- /** @deprecated Use Claude 3 Haiku instead. */
45
+ /** @deprecated Use Claude 3.5 Haiku instead. */
42
46
  AnthropicModels["ClaudeInstant_1_2"] = "CLAUDE_INSTANT_1_2";
43
47
  /** Developer-specified model */
44
48
  AnthropicModels["Custom"] = "CUSTOM";
45
49
  })(AnthropicModels || (exports.AnthropicModels = AnthropicModels = {}));
50
+ /** Defines when a policy shall be executed. */
46
51
  var ApplyPolicy;
47
52
  (function (ApplyPolicy) {
53
+ /** After the resolver was executed. */
48
54
  ApplyPolicy["AfterResolver"] = "AFTER_RESOLVER";
55
+ /** Before the resolver was executed. */
49
56
  ApplyPolicy["BeforeResolver"] = "BEFORE_RESOLVER";
57
+ /** The policy is applied in the validation step before the execution. */
50
58
  ApplyPolicy["Validation"] = "VALIDATION";
51
59
  })(ApplyPolicy || (exports.ApplyPolicy = ApplyPolicy = {}));
52
60
  var AzureDocumentIntelligenceModels;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20241022001",
3
+ "version": "1.0.20241110001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",