graphlit-client 1.0.20240930002 → 1.0.20241007001
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.
@@ -3,12 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
7
|
-
exports.
|
8
|
-
exports.
|
9
|
-
exports.
|
10
|
-
exports.
|
11
|
-
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = 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
|