graphlit-client 1.0.20240930002 → 1.0.20241003001

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.
@@ -32,6 +32,7 @@ export declare const DeleteContent: import("graphql").DocumentNode;
32
32
  export declare const DeleteContents: import("graphql").DocumentNode;
33
33
  export declare const ExtractContents: import("graphql").DocumentNode;
34
34
  export declare const GetContent: import("graphql").DocumentNode;
35
+ export declare const IngestBatch: import("graphql").DocumentNode;
35
36
  export declare const IngestEncodedFile: import("graphql").DocumentNode;
36
37
  export declare const IngestText: import("graphql").DocumentNode;
37
38
  export declare const IngestUri: import("graphql").DocumentNode;
@@ -45,6 +46,7 @@ export declare const SummarizeContents: import("graphql").DocumentNode;
45
46
  export declare const UpdateContent: import("graphql").DocumentNode;
46
47
  export declare const ClearConversation: import("graphql").DocumentNode;
47
48
  export declare const CloseConversation: import("graphql").DocumentNode;
49
+ export declare const ContinueConversation: import("graphql").DocumentNode;
48
50
  export declare const CountConversations: import("graphql").DocumentNode;
49
51
  export declare const CreateConversation: import("graphql").DocumentNode;
50
52
  export declare const DeleteAllConversations: 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.DeleteAllConversations = exports.CreateConversation = exports.CountConversations = exports.CloseConversation = exports.ClearConversation = exports.UpdateContent = exports.SummarizeContents = exports.QueryContentsGraph = exports.QueryContentsFacets = exports.QueryContents = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestText = exports.IngestEncodedFile = 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.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 = 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 = void 0;
8
- 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 = 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 = void 0;
9
- 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 = 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 = void 0;
10
- 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 = 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 = void 0;
11
- exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = void 0;
6
+ exports.CountConversations = 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.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.QueryMedicalConditions = 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 = void 0;
8
+ exports.CountMedicalProcedures = 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 = void 0;
9
+ exports.UpdatePerson = 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 = void 0;
10
+ 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 = 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 = void 0;
11
+ exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = 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) {
@@ -531,11 +531,12 @@ exports.DeleteContents = (0, graphql_tag_1.default) `
531
531
  }
532
532
  `;
533
533
  exports.ExtractContents = (0, graphql_tag_1.default) `
534
- mutation ExtractContents($prompt: String!, $filter: ContentFilter, $specification: EntityReferenceInput!, $correlationId: String) {
534
+ mutation ExtractContents($prompt: String!, $filter: ContentFilter, $specification: EntityReferenceInput!, $tools: [ToolDefinitionInput!]!, $correlationId: String) {
535
535
  extractContents(
536
536
  prompt: $prompt
537
537
  filter: $filter
538
538
  specification: $specification
539
+ tools: $tools
539
540
  correlationId: $correlationId
540
541
  ) {
541
542
  specification {
@@ -793,6 +794,28 @@ exports.GetContent = (0, graphql_tag_1.default) `
793
794
  }
794
795
  }
795
796
  `;
797
+ exports.IngestBatch = (0, graphql_tag_1.default) `
798
+ mutation IngestBatch($uris: [URL!]!, $workflow: EntityReferenceInput, $collections: [EntityReferenceInput!], $correlationId: String) {
799
+ ingestBatch(
800
+ uris: $uris
801
+ workflow: $workflow
802
+ collections: $collections
803
+ correlationId: $correlationId
804
+ ) {
805
+ id
806
+ name
807
+ state
808
+ type
809
+ fileType
810
+ mimeType
811
+ uri
812
+ collections {
813
+ id
814
+ name
815
+ }
816
+ }
817
+ }
818
+ `;
796
819
  exports.IngestEncodedFile = (0, graphql_tag_1.default) `
797
820
  mutation IngestEncodedFile($name: String!, $data: String!, $mimeType: String!, $id: ID, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
798
821
  ingestEncodedFile(
@@ -1519,6 +1542,171 @@ exports.CloseConversation = (0, graphql_tag_1.default) `
1519
1542
  }
1520
1543
  }
1521
1544
  `;
1545
+ exports.ContinueConversation = (0, graphql_tag_1.default) `
1546
+ mutation ContinueConversation($id: ID!, $responses: [ConversationToolResponseInput!]!, $correlationId: String) {
1547
+ continueConversation(
1548
+ id: $id
1549
+ responses: $responses
1550
+ correlationId: $correlationId
1551
+ ) {
1552
+ conversation {
1553
+ id
1554
+ }
1555
+ message {
1556
+ role
1557
+ author
1558
+ message
1559
+ citations {
1560
+ content {
1561
+ id
1562
+ name
1563
+ state
1564
+ originalDate
1565
+ identifier
1566
+ uri
1567
+ type
1568
+ fileType
1569
+ mimeType
1570
+ format
1571
+ formatName
1572
+ fileExtension
1573
+ fileName
1574
+ fileSize
1575
+ masterUri
1576
+ imageUri
1577
+ textUri
1578
+ audioUri
1579
+ transcriptUri
1580
+ summary
1581
+ customSummary
1582
+ keywords
1583
+ bullets
1584
+ headlines
1585
+ posts
1586
+ chapters
1587
+ questions
1588
+ video {
1589
+ width
1590
+ height
1591
+ duration
1592
+ make
1593
+ model
1594
+ software
1595
+ title
1596
+ description
1597
+ keywords
1598
+ author
1599
+ }
1600
+ audio {
1601
+ keywords
1602
+ author
1603
+ series
1604
+ episode
1605
+ episodeType
1606
+ season
1607
+ publisher
1608
+ copyright
1609
+ genre
1610
+ title
1611
+ description
1612
+ bitrate
1613
+ channels
1614
+ sampleRate
1615
+ bitsPerSample
1616
+ duration
1617
+ }
1618
+ image {
1619
+ width
1620
+ height
1621
+ resolutionX
1622
+ resolutionY
1623
+ bitsPerComponent
1624
+ components
1625
+ projectionType
1626
+ orientation
1627
+ description
1628
+ make
1629
+ model
1630
+ software
1631
+ lens
1632
+ focalLength
1633
+ exposureTime
1634
+ fNumber
1635
+ iso
1636
+ heading
1637
+ pitch
1638
+ }
1639
+ document {
1640
+ title
1641
+ subject
1642
+ summary
1643
+ author
1644
+ publisher
1645
+ description
1646
+ keywords
1647
+ pageCount
1648
+ worksheetCount
1649
+ slideCount
1650
+ wordCount
1651
+ lineCount
1652
+ paragraphCount
1653
+ isEncrypted
1654
+ hasDigitalSignature
1655
+ }
1656
+ }
1657
+ index
1658
+ text
1659
+ startTime
1660
+ endTime
1661
+ pageNumber
1662
+ frameNumber
1663
+ }
1664
+ toolCalls {
1665
+ id
1666
+ name
1667
+ arguments
1668
+ }
1669
+ tokens
1670
+ throughput
1671
+ completionTime
1672
+ timestamp
1673
+ modelService
1674
+ model
1675
+ }
1676
+ messageCount
1677
+ facets {
1678
+ type
1679
+ value
1680
+ range {
1681
+ from
1682
+ to
1683
+ }
1684
+ count
1685
+ facet
1686
+ observable {
1687
+ type
1688
+ observable {
1689
+ id
1690
+ name
1691
+ }
1692
+ }
1693
+ }
1694
+ graph {
1695
+ nodes {
1696
+ id
1697
+ name
1698
+ type
1699
+ metadata
1700
+ }
1701
+ edges {
1702
+ from
1703
+ to
1704
+ relation
1705
+ }
1706
+ }
1707
+ }
1708
+ }
1709
+ `;
1522
1710
  exports.CountConversations = (0, graphql_tag_1.default) `
1523
1711
  query CountConversations($filter: ConversationFilter) {
1524
1712
  countConversations(filter: $filter) {
@@ -1686,6 +1874,11 @@ exports.GetConversation = (0, graphql_tag_1.default) `
1686
1874
  pageNumber
1687
1875
  frameNumber
1688
1876
  }
1877
+ toolCalls {
1878
+ id
1879
+ name
1880
+ arguments
1881
+ }
1689
1882
  tokens
1690
1883
  throughput
1691
1884
  completionTime
@@ -1835,11 +2028,12 @@ exports.GetConversation = (0, graphql_tag_1.default) `
1835
2028
  }
1836
2029
  `;
1837
2030
  exports.PromptConversation = (0, graphql_tag_1.default) `
1838
- mutation PromptConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $correlationId: String) {
2031
+ mutation PromptConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $tools: [ToolDefinitionInput!], $correlationId: String) {
1839
2032
  promptConversation(
1840
2033
  prompt: $prompt
1841
2034
  id: $id
1842
2035
  specification: $specification
2036
+ tools: $tools
1843
2037
  correlationId: $correlationId
1844
2038
  ) {
1845
2039
  conversation {
@@ -1954,6 +2148,11 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
1954
2148
  pageNumber
1955
2149
  frameNumber
1956
2150
  }
2151
+ toolCalls {
2152
+ id
2153
+ name
2154
+ arguments
2155
+ }
1957
2156
  tokens
1958
2157
  throughput
1959
2158
  completionTime
@@ -2145,6 +2344,11 @@ exports.QueryConversations = (0, graphql_tag_1.default) `
2145
2344
  pageNumber
2146
2345
  frameNumber
2147
2346
  }
2347
+ toolCalls {
2348
+ id
2349
+ name
2350
+ arguments
2351
+ }
2148
2352
  tokens
2149
2353
  throughput
2150
2354
  completionTime
@@ -4900,6 +5104,11 @@ exports.PromptSpecifications = (0, graphql_tag_1.default) `
4900
5104
  pageNumber
4901
5105
  frameNumber
4902
5106
  }
5107
+ toolCalls {
5108
+ id
5109
+ name
5110
+ arguments
5111
+ }
4903
5112
  tokens
4904
5113
  throughput
4905
5114
  completionTime
@@ -343,7 +343,7 @@ export type AnthropicModelPropertiesUpdateInput = {
343
343
  /** The Anthropic API key, if using developer's own account. */
344
344
  key?: InputMaybe<Scalars['String']['input']>;
345
345
  /** The Anthropic model, or custom, when using developer's own account. */
346
- model: AnthropicModels;
346
+ model?: InputMaybe<AnthropicModels>;
347
347
  /** The Anthropic model name, if using developer's own account. */
348
348
  modelName?: InputMaybe<Scalars['String']['input']>;
349
349
  /** The model token probability. */
@@ -739,7 +739,7 @@ export type AzureOpenAiModelPropertiesUpdateInput = {
739
739
  /** The Azure OpenAI API key, if using developer's own account. */
740
740
  key?: InputMaybe<Scalars['String']['input']>;
741
741
  /** The Azure OpenAI model, or custom, when using developer's own account. */
742
- model: AzureOpenAiModels;
742
+ model?: InputMaybe<AzureOpenAiModels>;
743
743
  /** The model token probability. */
744
744
  probability?: InputMaybe<Scalars['Float']['input']>;
745
745
  /** The model temperature. */
@@ -951,7 +951,7 @@ export type CerebrasModelPropertiesUpdateInput = {
951
951
  /** The Cerebras API key, if using developer's own account. */
952
952
  key?: InputMaybe<Scalars['String']['input']>;
953
953
  /** The Cerebras model, or custom, when using developer's own account. */
954
- model: CerebrasModels;
954
+ model?: InputMaybe<CerebrasModels>;
955
955
  /** The Cerebras model name, if using developer's own account. */
956
956
  modelName?: InputMaybe<Scalars['String']['input']>;
957
957
  /** The model token probability. */
@@ -1012,7 +1012,7 @@ export type CohereModelPropertiesUpdateInput = {
1012
1012
  /** The Cohere API key, if using developer's own account. */
1013
1013
  key?: InputMaybe<Scalars['String']['input']>;
1014
1014
  /** The Cohere model, or custom, when using developer's own account. */
1015
- model: CohereModels;
1015
+ model?: InputMaybe<CohereModels>;
1016
1016
  /** The Cohere model name, if using developer's own account. */
1017
1017
  modelName?: InputMaybe<Scalars['String']['input']>;
1018
1018
  /** The model token probability. */
@@ -1729,7 +1729,7 @@ export type ConversationCitation = {
1729
1729
  /** The citation start time, within the referenced audio or video content. */
1730
1730
  startTime?: Maybe<Scalars['TimeSpan']['output']>;
1731
1731
  /** The citation text. */
1732
- text?: Maybe<Scalars['String']['output']>;
1732
+ text: Scalars['String']['output'];
1733
1733
  };
1734
1734
  /** Represents a filter for conversations. */
1735
1735
  export type ConversationFilter = {
@@ -1768,6 +1768,8 @@ export type ConversationInput = {
1768
1768
  augmentedFilter?: InputMaybe<ContentCriteriaInput>;
1769
1769
  /** Filter content for conversation, optional. */
1770
1770
  filter?: InputMaybe<ContentCriteriaInput>;
1771
+ /** The conversation messages. */
1772
+ messages?: InputMaybe<Array<InputMaybe<ConversationMessageInput>>>;
1771
1773
  /** The name of the conversation. */
1772
1774
  name: Scalars['String']['input'];
1773
1775
  /** The LLM specification used by this conversation, optional. */
@@ -1785,7 +1787,7 @@ export type ConversationMessage = {
1785
1787
  /** The elapsed time for the model to complete the prompt, only provided with assistant role. */
1786
1788
  completionTime?: Maybe<Scalars['TimeSpan']['output']>;
1787
1789
  /** The conversation message. */
1788
- message: Scalars['String']['output'];
1790
+ message?: Maybe<Scalars['String']['output']>;
1789
1791
  /** The LLM description, only provided with assistant role. */
1790
1792
  model?: Maybe<Scalars['String']['output']>;
1791
1793
  /** The LLM service type, only provided with assistant role. */
@@ -1795,9 +1797,20 @@ export type ConversationMessage = {
1795
1797
  /** The LLM completion throughput in tokens/second, only provided with assistant role. */
1796
1798
  throughput?: Maybe<Scalars['Float']['output']>;
1797
1799
  /** The conversation message timestamp. */
1798
- timestamp: Scalars['DateTime']['output'];
1800
+ timestamp?: Maybe<Scalars['DateTime']['output']>;
1799
1801
  /** The conversation message token usage, not including RAG context tokens. */
1800
- tokens: Scalars['Int']['output'];
1802
+ tokens?: Maybe<Scalars['Int']['output']>;
1803
+ /** The tools called during the prompting of the conversation. You will need to call continueConversation with the tool responses to continue the conversation. */
1804
+ toolCalls?: Maybe<Array<Maybe<ConversationToolCall>>>;
1805
+ };
1806
+ /** Represents a conversation message. */
1807
+ export type ConversationMessageInput = {
1808
+ /** The conversation message author. */
1809
+ author?: InputMaybe<Scalars['String']['input']>;
1810
+ /** The conversation message. */
1811
+ message: Scalars['String']['input'];
1812
+ /** The conversation message role. */
1813
+ role: ConversationRoleTypes;
1801
1814
  };
1802
1815
  /** Represents conversation query results. */
1803
1816
  export type ConversationResults = {
@@ -1805,10 +1818,13 @@ export type ConversationResults = {
1805
1818
  /** The list of conversation query results. */
1806
1819
  results?: Maybe<Array<Maybe<Conversation>>>;
1807
1820
  };
1821
+ /** Conversation message role type */
1808
1822
  export declare enum ConversationRoleTypes {
1823
+ /** LLM assistant message */
1809
1824
  Assistant = "ASSISTANT",
1810
- Function = "FUNCTION",
1825
+ /** LLM system message */
1811
1826
  System = "SYSTEM",
1827
+ /** LLM user prompt message */
1812
1828
  User = "USER"
1813
1829
  }
1814
1830
  /** Conversation search type */
@@ -1875,6 +1891,23 @@ export type ConversationStrategyUpdateInput = {
1875
1891
  /** The conversation strategy type. */
1876
1892
  type?: InputMaybe<ConversationStrategyTypes>;
1877
1893
  };
1894
+ /** Represents a conversation tool call. */
1895
+ export type ConversationToolCall = {
1896
+ __typename?: 'ConversationToolCall';
1897
+ /** The tool arguments. */
1898
+ arguments: Scalars['String']['output'];
1899
+ /** The tool identifier. */
1900
+ id?: Maybe<Scalars['String']['output']>;
1901
+ /** The tool name. */
1902
+ name: Scalars['String']['output'];
1903
+ };
1904
+ /** Represents a conversation tool calling response. */
1905
+ export type ConversationToolResponseInput = {
1906
+ /** The JSON response to the tool. */
1907
+ content: Scalars['String']['input'];
1908
+ /** The tool identifier. */
1909
+ id: Scalars['String']['input'];
1910
+ };
1878
1911
  /** Conversation type */
1879
1912
  export declare enum ConversationTypes {
1880
1913
  /** Conversation over content */
@@ -2019,7 +2052,7 @@ export type DeepseekModelPropertiesUpdateInput = {
2019
2052
  /** The Deepseek API key, if using developer's own account. */
2020
2053
  key?: InputMaybe<Scalars['String']['input']>;
2021
2054
  /** The Deepseek model, or custom, when using developer's own account. */
2022
- model: DeepseekModels;
2055
+ model?: InputMaybe<DeepseekModels>;
2023
2056
  /** The Deepseek model name, if using developer's own account. */
2024
2057
  modelName?: InputMaybe<Scalars['String']['input']>;
2025
2058
  /** The model token probability. */
@@ -3519,7 +3552,7 @@ export type GoogleModelPropertiesUpdateInput = {
3519
3552
  /** The Google API key, if using developer's own account. */
3520
3553
  key?: InputMaybe<Scalars['String']['input']>;
3521
3554
  /** The Google model, or custom, when using developer's own account. */
3522
- model: GoogleModels;
3555
+ model?: InputMaybe<GoogleModels>;
3523
3556
  /** The Google model name, if using developer's own account. */
3524
3557
  modelName?: InputMaybe<Scalars['String']['input']>;
3525
3558
  /** The model token probability. */
@@ -3539,6 +3572,10 @@ export declare enum GoogleModels {
3539
3572
  Gemini_1_5Flash_001 = "GEMINI_1_5_FLASH_001",
3540
3573
  /** Gemini 1.5 Flash (002 version) */
3541
3574
  Gemini_1_5Flash_002 = "GEMINI_1_5_FLASH_002",
3575
+ /** Gemini 1.5 Flash 8b (Latest) */
3576
+ Gemini_1_5Flash_8B = "GEMINI_1_5_FLASH_8B",
3577
+ /** Gemini 1.5 Flash 8b (001 version) */
3578
+ Gemini_1_5Flash_8B_001 = "GEMINI_1_5_FLASH_8B_001",
3542
3579
  /** Gemini 1.5 Pro (Latest) */
3543
3580
  Gemini_1_5Pro = "GEMINI_1_5_PRO",
3544
3581
  /** Gemini 1.5 Pro (001 version) */
@@ -3661,7 +3698,7 @@ export type GroqModelPropertiesUpdateInput = {
3661
3698
  /** The Groq API key, if using developer's own account. */
3662
3699
  key?: InputMaybe<Scalars['String']['input']>;
3663
3700
  /** The Groq model, or custom, when using developer's own account. */
3664
- model: GroqModels;
3701
+ model?: InputMaybe<GroqModels>;
3665
3702
  /** The Groq model name, if using developer's own account. */
3666
3703
  modelName?: InputMaybe<Scalars['String']['input']>;
3667
3704
  /** The model token probability. */
@@ -6220,7 +6257,7 @@ export type MistralModelPropertiesUpdateInput = {
6220
6257
  /** The Mistral API key, if using developer's own account. */
6221
6258
  key?: InputMaybe<Scalars['String']['input']>;
6222
6259
  /** The Mistral model, or custom, when using developer's own account. */
6223
- model: MistralModels;
6260
+ model?: InputMaybe<MistralModels>;
6224
6261
  /** The Mistral model name, if using developer's own account. */
6225
6262
  modelName?: InputMaybe<Scalars['String']['input']>;
6226
6263
  /** The model token probability. */
@@ -6320,6 +6357,8 @@ export type Mutation = {
6320
6357
  closeCollection?: Maybe<Collection>;
6321
6358
  /** Closes an existing conversation. */
6322
6359
  closeConversation?: Maybe<Conversation>;
6360
+ /** Provide responses to called tools which continues prompted conversation. */
6361
+ continueConversation?: Maybe<PromptConversation>;
6323
6362
  /** Creates a new alert. */
6324
6363
  createAlert?: Maybe<Alert>;
6325
6364
  /** Creates a new category. */
@@ -6546,8 +6585,10 @@ export type Mutation = {
6546
6585
  enableAlert?: Maybe<Alert>;
6547
6586
  /** Enables a feed. */
6548
6587
  enableFeed?: Maybe<Feed>;
6549
- /** Extracts data from contents based on the provided filter criteria. */
6588
+ /** Extracts data using tool calling, from contents resulting from the provided filter criteria. */
6550
6589
  extractContents?: Maybe<Array<Maybe<ExtractCompletion>>>;
6590
+ /** Ingests a batch of content by URI. Supports files and webpages. */
6591
+ ingestBatch?: Maybe<Array<Maybe<Content>>>;
6551
6592
  /** Ingests a file from Base64-encoded data. */
6552
6593
  ingestEncodedFile?: Maybe<Content>;
6553
6594
  /**
@@ -6671,6 +6712,11 @@ export type MutationCloseCollectionArgs = {
6671
6712
  export type MutationCloseConversationArgs = {
6672
6713
  id: Scalars['ID']['input'];
6673
6714
  };
6715
+ export type MutationContinueConversationArgs = {
6716
+ correlationId?: InputMaybe<Scalars['String']['input']>;
6717
+ id: Scalars['ID']['input'];
6718
+ responses: Array<ConversationToolResponseInput>;
6719
+ };
6674
6720
  export type MutationCreateAlertArgs = {
6675
6721
  alert: AlertInput;
6676
6722
  correlationId?: InputMaybe<Scalars['String']['input']>;
@@ -7099,6 +7145,13 @@ export type MutationExtractContentsArgs = {
7099
7145
  filter?: InputMaybe<ContentFilter>;
7100
7146
  prompt: Scalars['String']['input'];
7101
7147
  specification: EntityReferenceInput;
7148
+ tools: Array<ToolDefinitionInput>;
7149
+ };
7150
+ export type MutationIngestBatchArgs = {
7151
+ collections?: InputMaybe<Array<EntityReferenceInput>>;
7152
+ correlationId?: InputMaybe<Scalars['String']['input']>;
7153
+ uris: Array<Scalars['URL']['input']>;
7154
+ workflow?: InputMaybe<EntityReferenceInput>;
7102
7155
  };
7103
7156
  export type MutationIngestEncodedFileArgs = {
7104
7157
  collections?: InputMaybe<Array<EntityReferenceInput>>;
@@ -7159,6 +7212,7 @@ export type MutationPromptConversationArgs = {
7159
7212
  id?: InputMaybe<Scalars['ID']['input']>;
7160
7213
  prompt: Scalars['String']['input'];
7161
7214
  specification?: InputMaybe<EntityReferenceInput>;
7215
+ tools?: InputMaybe<Array<ToolDefinitionInput>>;
7162
7216
  };
7163
7217
  export type MutationPromptSpecificationsArgs = {
7164
7218
  correlationId?: InputMaybe<Scalars['String']['input']>;
@@ -7658,7 +7712,7 @@ export type OpenAiModelPropertiesUpdateInput = {
7658
7712
  /** The OpenAI API key, if using developer's own account. */
7659
7713
  key?: InputMaybe<Scalars['String']['input']>;
7660
7714
  /** The Azure OpenAI model, or custom, when using developer's own account. */
7661
- model: OpenAiModels;
7715
+ model?: InputMaybe<OpenAiModels>;
7662
7716
  /** The OpenAI model name, if using developer's own account. */
7663
7717
  modelName?: InputMaybe<Scalars['String']['input']>;
7664
7718
  /** The model token probability. */
@@ -9826,7 +9880,7 @@ export type ReplicateModelPropertiesUpdateInput = {
9826
9880
  /** The Replicate API key, if using developer's own account. */
9827
9881
  key?: InputMaybe<Scalars['String']['input']>;
9828
9882
  /** The Replicate model, or custom, when using developer's own account. */
9829
- model: ReplicateModels;
9883
+ model?: InputMaybe<ReplicateModels>;
9830
9884
  /** The Replicate model name, if using developer's own account. */
9831
9885
  modelName?: InputMaybe<Scalars['String']['input']>;
9832
9886
  /** The model token probability. */
@@ -10607,7 +10661,10 @@ export type Specification = {
10607
10661
  strategy?: Maybe<ConversationStrategy>;
10608
10662
  /** The LLM system prompt. */
10609
10663
  systemPrompt?: Maybe<Scalars['String']['output']>;
10610
- /** The tool definitions. */
10664
+ /**
10665
+ * The tool definitions.
10666
+ * @deprecated Tool definitions have been moved to prompt conversation mutation.
10667
+ */
10611
10668
  tools?: Maybe<Array<ToolDefinition>>;
10612
10669
  /** The specification type. */
10613
10670
  type?: Maybe<SpecificationTypes>;
@@ -10687,8 +10744,6 @@ export type SpecificationInput = {
10687
10744
  strategy?: InputMaybe<ConversationStrategyInput>;
10688
10745
  /** The LLM system prompt. */
10689
10746
  systemPrompt?: InputMaybe<Scalars['String']['input']>;
10690
- /** The tool definitions. */
10691
- tools?: InputMaybe<Array<ToolDefinitionInput>>;
10692
10747
  /** The specification type. */
10693
10748
  type?: InputMaybe<SpecificationTypes>;
10694
10749
  };
@@ -10759,8 +10814,6 @@ export type SpecificationUpdateInput = {
10759
10814
  strategy?: InputMaybe<ConversationStrategyUpdateInput>;
10760
10815
  /** The LLM system prompt. */
10761
10816
  systemPrompt?: InputMaybe<Scalars['String']['input']>;
10762
- /** The tool definitions. */
10763
- tools?: InputMaybe<Array<ToolDefinitionUpdateInput>>;
10764
10817
  /** The specification type. */
10765
10818
  type?: InputMaybe<SpecificationTypes>;
10766
10819
  };
@@ -12019,6 +12072,7 @@ export type ExtractContentsMutationVariables = Exact<{
12019
12072
  prompt: Scalars['String']['input'];
12020
12073
  filter?: InputMaybe<ContentFilter>;
12021
12074
  specification: EntityReferenceInput;
12075
+ tools: Array<ToolDefinitionInput> | ToolDefinitionInput;
12022
12076
  correlationId?: InputMaybe<Scalars['String']['input']>;
12023
12077
  }>;
12024
12078
  export type ExtractContentsMutation = {
@@ -12313,6 +12367,30 @@ export type GetContentQuery = {
12313
12367
  }> | null;
12314
12368
  } | null;
12315
12369
  };
12370
+ export type IngestBatchMutationVariables = Exact<{
12371
+ uris: Array<Scalars['URL']['input']> | Scalars['URL']['input'];
12372
+ workflow?: InputMaybe<EntityReferenceInput>;
12373
+ collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
12374
+ correlationId?: InputMaybe<Scalars['String']['input']>;
12375
+ }>;
12376
+ export type IngestBatchMutation = {
12377
+ __typename?: 'Mutation';
12378
+ ingestBatch?: Array<{
12379
+ __typename?: 'Content';
12380
+ id: string;
12381
+ name: string;
12382
+ state: EntityState;
12383
+ type?: ContentTypes | null;
12384
+ fileType?: FileTypes | null;
12385
+ mimeType?: string | null;
12386
+ uri?: any | null;
12387
+ collections?: Array<{
12388
+ __typename?: 'Collection';
12389
+ id: string;
12390
+ name: string;
12391
+ } | null> | null;
12392
+ } | null> | null;
12393
+ };
12316
12394
  export type IngestEncodedFileMutationVariables = Exact<{
12317
12395
  name: Scalars['String']['input'];
12318
12396
  data: Scalars['String']['input'];
@@ -13144,6 +13222,188 @@ export type CloseConversationMutation = {
13144
13222
  type?: ConversationTypes | null;
13145
13223
  } | null;
13146
13224
  };
13225
+ export type ContinueConversationMutationVariables = Exact<{
13226
+ id: Scalars['ID']['input'];
13227
+ responses: Array<ConversationToolResponseInput> | ConversationToolResponseInput;
13228
+ correlationId?: InputMaybe<Scalars['String']['input']>;
13229
+ }>;
13230
+ export type ContinueConversationMutation = {
13231
+ __typename?: 'Mutation';
13232
+ continueConversation?: {
13233
+ __typename?: 'PromptConversation';
13234
+ messageCount?: number | null;
13235
+ conversation?: {
13236
+ __typename?: 'EntityReference';
13237
+ id: string;
13238
+ } | null;
13239
+ message?: {
13240
+ __typename?: 'ConversationMessage';
13241
+ role: ConversationRoleTypes;
13242
+ author?: string | null;
13243
+ message?: string | null;
13244
+ tokens?: number | null;
13245
+ throughput?: number | null;
13246
+ completionTime?: any | null;
13247
+ timestamp?: any | null;
13248
+ modelService?: ModelServiceTypes | null;
13249
+ model?: string | null;
13250
+ citations?: Array<{
13251
+ __typename?: 'ConversationCitation';
13252
+ index?: number | null;
13253
+ text: string;
13254
+ startTime?: any | null;
13255
+ endTime?: any | null;
13256
+ pageNumber?: number | null;
13257
+ frameNumber?: number | null;
13258
+ content?: {
13259
+ __typename?: 'Content';
13260
+ id: string;
13261
+ name: string;
13262
+ state: EntityState;
13263
+ originalDate?: any | null;
13264
+ identifier?: string | null;
13265
+ uri?: any | null;
13266
+ type?: ContentTypes | null;
13267
+ fileType?: FileTypes | null;
13268
+ mimeType?: string | null;
13269
+ format?: string | null;
13270
+ formatName?: string | null;
13271
+ fileExtension?: string | null;
13272
+ fileName?: string | null;
13273
+ fileSize?: any | null;
13274
+ masterUri?: any | null;
13275
+ imageUri?: any | null;
13276
+ textUri?: any | null;
13277
+ audioUri?: any | null;
13278
+ transcriptUri?: any | null;
13279
+ summary?: string | null;
13280
+ customSummary?: string | null;
13281
+ keywords?: Array<string> | null;
13282
+ bullets?: Array<string> | null;
13283
+ headlines?: Array<string> | null;
13284
+ posts?: Array<string> | null;
13285
+ chapters?: Array<string> | null;
13286
+ questions?: Array<string> | null;
13287
+ video?: {
13288
+ __typename?: 'VideoMetadata';
13289
+ width?: number | null;
13290
+ height?: number | null;
13291
+ duration?: any | null;
13292
+ make?: string | null;
13293
+ model?: string | null;
13294
+ software?: string | null;
13295
+ title?: string | null;
13296
+ description?: string | null;
13297
+ keywords?: Array<string | null> | null;
13298
+ author?: string | null;
13299
+ } | null;
13300
+ audio?: {
13301
+ __typename?: 'AudioMetadata';
13302
+ keywords?: Array<string | null> | null;
13303
+ author?: string | null;
13304
+ series?: string | null;
13305
+ episode?: string | null;
13306
+ episodeType?: string | null;
13307
+ season?: string | null;
13308
+ publisher?: string | null;
13309
+ copyright?: string | null;
13310
+ genre?: string | null;
13311
+ title?: string | null;
13312
+ description?: string | null;
13313
+ bitrate?: number | null;
13314
+ channels?: number | null;
13315
+ sampleRate?: number | null;
13316
+ bitsPerSample?: number | null;
13317
+ duration?: any | null;
13318
+ } | null;
13319
+ image?: {
13320
+ __typename?: 'ImageMetadata';
13321
+ width?: number | null;
13322
+ height?: number | null;
13323
+ resolutionX?: number | null;
13324
+ resolutionY?: number | null;
13325
+ bitsPerComponent?: number | null;
13326
+ components?: number | null;
13327
+ projectionType?: ImageProjectionTypes | null;
13328
+ orientation?: OrientationTypes | null;
13329
+ description?: string | null;
13330
+ make?: string | null;
13331
+ model?: string | null;
13332
+ software?: string | null;
13333
+ lens?: string | null;
13334
+ focalLength?: number | null;
13335
+ exposureTime?: string | null;
13336
+ fNumber?: string | null;
13337
+ iso?: string | null;
13338
+ heading?: number | null;
13339
+ pitch?: number | null;
13340
+ } | null;
13341
+ document?: {
13342
+ __typename?: 'DocumentMetadata';
13343
+ title?: string | null;
13344
+ subject?: string | null;
13345
+ summary?: string | null;
13346
+ author?: string | null;
13347
+ publisher?: string | null;
13348
+ description?: string | null;
13349
+ keywords?: Array<string | null> | null;
13350
+ pageCount?: number | null;
13351
+ worksheetCount?: number | null;
13352
+ slideCount?: number | null;
13353
+ wordCount?: number | null;
13354
+ lineCount?: number | null;
13355
+ paragraphCount?: number | null;
13356
+ isEncrypted?: boolean | null;
13357
+ hasDigitalSignature?: boolean | null;
13358
+ } | null;
13359
+ } | null;
13360
+ } | null> | null;
13361
+ toolCalls?: Array<{
13362
+ __typename?: 'ConversationToolCall';
13363
+ id?: string | null;
13364
+ name: string;
13365
+ arguments: string;
13366
+ } | null> | null;
13367
+ } | null;
13368
+ facets?: Array<{
13369
+ __typename?: 'ContentFacet';
13370
+ type?: FacetValueTypes | null;
13371
+ value?: string | null;
13372
+ count?: any | null;
13373
+ facet?: ContentFacetTypes | null;
13374
+ range?: {
13375
+ __typename?: 'StringRange';
13376
+ from?: string | null;
13377
+ to?: string | null;
13378
+ } | null;
13379
+ observable?: {
13380
+ __typename?: 'ObservableFacet';
13381
+ type?: ObservableTypes | null;
13382
+ observable?: {
13383
+ __typename?: 'NamedEntityReference';
13384
+ id: string;
13385
+ name?: string | null;
13386
+ } | null;
13387
+ } | null;
13388
+ } | null> | null;
13389
+ graph?: {
13390
+ __typename?: 'Graph';
13391
+ nodes?: Array<{
13392
+ __typename?: 'GraphNode';
13393
+ id: string;
13394
+ name: string;
13395
+ type: EntityTypes;
13396
+ metadata?: string | null;
13397
+ } | null> | null;
13398
+ edges?: Array<{
13399
+ __typename?: 'GraphEdge';
13400
+ from: string;
13401
+ to: string;
13402
+ relation?: string | null;
13403
+ } | null> | null;
13404
+ } | null;
13405
+ } | null;
13406
+ };
13147
13407
  export type CountConversationsQueryVariables = Exact<{
13148
13408
  filter?: InputMaybe<ConversationFilter>;
13149
13409
  }>;
@@ -13226,17 +13486,17 @@ export type GetConversationQuery = {
13226
13486
  __typename?: 'ConversationMessage';
13227
13487
  role: ConversationRoleTypes;
13228
13488
  author?: string | null;
13229
- message: string;
13230
- tokens: number;
13489
+ message?: string | null;
13490
+ tokens?: number | null;
13231
13491
  throughput?: number | null;
13232
13492
  completionTime?: any | null;
13233
- timestamp: any;
13493
+ timestamp?: any | null;
13234
13494
  modelService?: ModelServiceTypes | null;
13235
13495
  model?: string | null;
13236
13496
  citations?: Array<{
13237
13497
  __typename?: 'ConversationCitation';
13238
13498
  index?: number | null;
13239
- text?: string | null;
13499
+ text: string;
13240
13500
  startTime?: any | null;
13241
13501
  endTime?: any | null;
13242
13502
  pageNumber?: number | null;
@@ -13344,6 +13604,12 @@ export type GetConversationQuery = {
13344
13604
  } | null;
13345
13605
  } | null;
13346
13606
  } | null> | null;
13607
+ toolCalls?: Array<{
13608
+ __typename?: 'ConversationToolCall';
13609
+ id?: string | null;
13610
+ name: string;
13611
+ arguments: string;
13612
+ } | null> | null;
13347
13613
  } | null> | null;
13348
13614
  specification?: {
13349
13615
  __typename?: 'Specification';
@@ -13532,6 +13798,7 @@ export type PromptConversationMutationVariables = Exact<{
13532
13798
  prompt: Scalars['String']['input'];
13533
13799
  id?: InputMaybe<Scalars['ID']['input']>;
13534
13800
  specification?: InputMaybe<EntityReferenceInput>;
13801
+ tools?: InputMaybe<Array<ToolDefinitionInput> | ToolDefinitionInput>;
13535
13802
  correlationId?: InputMaybe<Scalars['String']['input']>;
13536
13803
  }>;
13537
13804
  export type PromptConversationMutation = {
@@ -13547,17 +13814,17 @@ export type PromptConversationMutation = {
13547
13814
  __typename?: 'ConversationMessage';
13548
13815
  role: ConversationRoleTypes;
13549
13816
  author?: string | null;
13550
- message: string;
13551
- tokens: number;
13817
+ message?: string | null;
13818
+ tokens?: number | null;
13552
13819
  throughput?: number | null;
13553
13820
  completionTime?: any | null;
13554
- timestamp: any;
13821
+ timestamp?: any | null;
13555
13822
  modelService?: ModelServiceTypes | null;
13556
13823
  model?: string | null;
13557
13824
  citations?: Array<{
13558
13825
  __typename?: 'ConversationCitation';
13559
13826
  index?: number | null;
13560
- text?: string | null;
13827
+ text: string;
13561
13828
  startTime?: any | null;
13562
13829
  endTime?: any | null;
13563
13830
  pageNumber?: number | null;
@@ -13665,6 +13932,12 @@ export type PromptConversationMutation = {
13665
13932
  } | null;
13666
13933
  } | null;
13667
13934
  } | null> | null;
13935
+ toolCalls?: Array<{
13936
+ __typename?: 'ConversationToolCall';
13937
+ id?: string | null;
13938
+ name: string;
13939
+ arguments: string;
13940
+ } | null> | null;
13668
13941
  } | null;
13669
13942
  facets?: Array<{
13670
13943
  __typename?: 'ContentFacet';
@@ -13758,17 +14031,17 @@ export type QueryConversationsQuery = {
13758
14031
  __typename?: 'ConversationMessage';
13759
14032
  role: ConversationRoleTypes;
13760
14033
  author?: string | null;
13761
- message: string;
13762
- tokens: number;
14034
+ message?: string | null;
14035
+ tokens?: number | null;
13763
14036
  throughput?: number | null;
13764
14037
  completionTime?: any | null;
13765
- timestamp: any;
14038
+ timestamp?: any | null;
13766
14039
  modelService?: ModelServiceTypes | null;
13767
14040
  model?: string | null;
13768
14041
  citations?: Array<{
13769
14042
  __typename?: 'ConversationCitation';
13770
14043
  index?: number | null;
13771
- text?: string | null;
14044
+ text: string;
13772
14045
  startTime?: any | null;
13773
14046
  endTime?: any | null;
13774
14047
  pageNumber?: number | null;
@@ -13876,6 +14149,12 @@ export type QueryConversationsQuery = {
13876
14149
  } | null;
13877
14150
  } | null;
13878
14151
  } | null> | null;
14152
+ toolCalls?: Array<{
14153
+ __typename?: 'ConversationToolCall';
14154
+ id?: string | null;
14155
+ name: string;
14156
+ arguments: string;
14157
+ } | null> | null;
13879
14158
  } | null> | null;
13880
14159
  specification?: {
13881
14160
  __typename?: 'Specification';
@@ -17215,17 +17494,17 @@ export type PromptSpecificationsMutation = {
17215
17494
  __typename?: 'ConversationMessage';
17216
17495
  role: ConversationRoleTypes;
17217
17496
  author?: string | null;
17218
- message: string;
17219
- tokens: number;
17497
+ message?: string | null;
17498
+ tokens?: number | null;
17220
17499
  throughput?: number | null;
17221
17500
  completionTime?: any | null;
17222
- timestamp: any;
17501
+ timestamp?: any | null;
17223
17502
  modelService?: ModelServiceTypes | null;
17224
17503
  model?: string | null;
17225
17504
  citations?: Array<{
17226
17505
  __typename?: 'ConversationCitation';
17227
17506
  index?: number | null;
17228
- text?: string | null;
17507
+ text: string;
17229
17508
  startTime?: any | null;
17230
17509
  endTime?: any | null;
17231
17510
  pageNumber?: number | null;
@@ -17333,6 +17612,12 @@ export type PromptSpecificationsMutation = {
17333
17612
  } | null;
17334
17613
  } | null;
17335
17614
  } | null> | null;
17615
+ toolCalls?: Array<{
17616
+ __typename?: 'ConversationToolCall';
17617
+ id?: string | null;
17618
+ name: string;
17619
+ arguments: string;
17620
+ } | null> | null;
17336
17621
  } | null> | null;
17337
17622
  } | null> | null;
17338
17623
  };
@@ -256,11 +256,14 @@ var ContentTypes;
256
256
  /** Text (i.e. Markdown, HTML, plain text) */
257
257
  ContentTypes["Text"] = "TEXT";
258
258
  })(ContentTypes || (exports.ContentTypes = ContentTypes = {}));
259
+ /** Conversation message role type */
259
260
  var ConversationRoleTypes;
260
261
  (function (ConversationRoleTypes) {
262
+ /** LLM assistant message */
261
263
  ConversationRoleTypes["Assistant"] = "ASSISTANT";
262
- ConversationRoleTypes["Function"] = "FUNCTION";
264
+ /** LLM system message */
263
265
  ConversationRoleTypes["System"] = "SYSTEM";
266
+ /** LLM user prompt message */
264
267
  ConversationRoleTypes["User"] = "USER";
265
268
  })(ConversationRoleTypes || (exports.ConversationRoleTypes = ConversationRoleTypes = {}));
266
269
  /** Conversation search type */
@@ -703,6 +706,10 @@ var GoogleModels;
703
706
  GoogleModels["Gemini_1_5Flash_001"] = "GEMINI_1_5_FLASH_001";
704
707
  /** Gemini 1.5 Flash (002 version) */
705
708
  GoogleModels["Gemini_1_5Flash_002"] = "GEMINI_1_5_FLASH_002";
709
+ /** Gemini 1.5 Flash 8b (Latest) */
710
+ GoogleModels["Gemini_1_5Flash_8B"] = "GEMINI_1_5_FLASH_8B";
711
+ /** Gemini 1.5 Flash 8b (001 version) */
712
+ GoogleModels["Gemini_1_5Flash_8B_001"] = "GEMINI_1_5_FLASH_8B_001";
706
713
  /** Gemini 1.5 Pro (Latest) */
707
714
  GoogleModels["Gemini_1_5Pro"] = "GEMINI_1_5_PRO";
708
715
  /** Gemini 1.5 Pro (001 version) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20240930002",
3
+ "version": "1.0.20241003001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",