graphlit-client 1.0.20251223001 → 1.0.20251227001
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
|
@@ -263,6 +263,45 @@ declare class Graphlit {
|
|
|
263
263
|
* @returns The count of alerts.
|
|
264
264
|
*/
|
|
265
265
|
countAlerts(filter?: Types.AlertFilter): Promise<Types.CountAlertsQuery>;
|
|
266
|
+
/**
|
|
267
|
+
* Creates a fact.
|
|
268
|
+
* @param fact - The fact to create.
|
|
269
|
+
* @returns The created fact.
|
|
270
|
+
*/
|
|
271
|
+
createFact(fact: Types.FactInput): Promise<Types.CreateFactMutation>;
|
|
272
|
+
/**
|
|
273
|
+
* Updates a fact.
|
|
274
|
+
* @param fact - The fact to update.
|
|
275
|
+
* @returns The updated fact.
|
|
276
|
+
*/
|
|
277
|
+
updateFact(fact: Types.FactUpdateInput): Promise<Types.UpdateFactMutation>;
|
|
278
|
+
/**
|
|
279
|
+
* Deletes a fact.
|
|
280
|
+
* @param id - The ID of the fact to delete.
|
|
281
|
+
* @returns The deleted fact.
|
|
282
|
+
*/
|
|
283
|
+
deleteFact(id: string): Promise<Types.DeleteFactMutation>;
|
|
284
|
+
/**
|
|
285
|
+
* Lookup a fact given its ID.
|
|
286
|
+
* @param id - ID of the fact.
|
|
287
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
288
|
+
* @returns The fact.
|
|
289
|
+
*/
|
|
290
|
+
getFact(id: string, correlationId?: string): Promise<Types.GetFactQuery>;
|
|
291
|
+
/**
|
|
292
|
+
* Retrieves facts based on the provided filter criteria.
|
|
293
|
+
* @param filter - The filter criteria to apply when retrieving facts.
|
|
294
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
295
|
+
* @returns The facts.
|
|
296
|
+
*/
|
|
297
|
+
queryFacts(filter?: Types.FactFilter, correlationId?: string): Promise<Types.QueryFactsQuery>;
|
|
298
|
+
/**
|
|
299
|
+
* Counts facts based on the provided filter criteria.
|
|
300
|
+
* @param filter - The filter criteria to apply when counting facts.
|
|
301
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
302
|
+
* @returns The count of facts.
|
|
303
|
+
*/
|
|
304
|
+
countFacts(filter?: Types.FactFilter, correlationId?: string): Promise<Types.CountFactsQuery>;
|
|
266
305
|
/**
|
|
267
306
|
* Creates a collection.
|
|
268
307
|
* @param collection - The collection to create.
|
|
@@ -771,6 +810,24 @@ declare class Graphlit {
|
|
|
771
810
|
* @returns The retrieved sources.
|
|
772
811
|
*/
|
|
773
812
|
retrieveSources(prompt: string, filter?: Types.ContentFilter, augmentedFilter?: Types.ContentFilter, retrievalStrategy?: Types.RetrievalStrategyInput, rerankingStrategy?: Types.RerankingStrategyInput, correlationId?: string): Promise<Types.RetrieveSourcesMutation>;
|
|
813
|
+
/**
|
|
814
|
+
* Retrieves entities based on the provided prompt.
|
|
815
|
+
* @param prompt - The prompt for entity retrieval.
|
|
816
|
+
* @param types - The observable types to filter by, optional.
|
|
817
|
+
* @param searchType - The search type to use, optional.
|
|
818
|
+
* @param limit - The maximum number of results to return, optional.
|
|
819
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
820
|
+
* @returns The retrieved entities.
|
|
821
|
+
*/
|
|
822
|
+
retrieveEntities(prompt: string, types?: Types.ObservableTypes[], searchType?: Types.SearchTypes, limit?: number, correlationId?: string): Promise<Types.RetrieveEntitiesMutation>;
|
|
823
|
+
/**
|
|
824
|
+
* Retrieves facts based on the provided prompt.
|
|
825
|
+
* @param prompt - The prompt for fact retrieval.
|
|
826
|
+
* @param filter - The filter criteria to apply when retrieving facts, optional.
|
|
827
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
828
|
+
* @returns The retrieved facts.
|
|
829
|
+
*/
|
|
830
|
+
retrieveFacts(prompt: string, filter?: Types.FactFilter, correlationId?: string): Promise<Types.RetrieveFactsMutation>;
|
|
774
831
|
/**
|
|
775
832
|
* Formats a conversation for external LLM completion.
|
|
776
833
|
* @param prompt - The prompt to format.
|
package/dist/client.js
CHANGED
|
@@ -650,6 +650,93 @@ class Graphlit {
|
|
|
650
650
|
async countAlerts(filter) {
|
|
651
651
|
return this.queryAndCheckError(Documents.CountAlerts, { filter: filter });
|
|
652
652
|
}
|
|
653
|
+
/**
|
|
654
|
+
* Creates a fact.
|
|
655
|
+
* @param fact - The fact to create.
|
|
656
|
+
* @returns The created fact.
|
|
657
|
+
*/
|
|
658
|
+
async createFact(fact) {
|
|
659
|
+
return this.mutateAndCheckError(Documents.CreateFact, { fact: fact });
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* Updates a fact.
|
|
663
|
+
* @param fact - The fact to update.
|
|
664
|
+
* @returns The updated fact.
|
|
665
|
+
*/
|
|
666
|
+
async updateFact(fact) {
|
|
667
|
+
return this.mutateAndCheckError(Documents.UpdateFact, { fact: fact });
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* Deletes a fact.
|
|
671
|
+
* @param id - The ID of the fact to delete.
|
|
672
|
+
* @returns The deleted fact.
|
|
673
|
+
*/
|
|
674
|
+
async deleteFact(id) {
|
|
675
|
+
return this.mutateAndCheckError(Documents.DeleteFact, { id: id });
|
|
676
|
+
}
|
|
677
|
+
// /**
|
|
678
|
+
// * Deletes multiple facts.
|
|
679
|
+
// * @param ids - The IDs of the facts to delete.
|
|
680
|
+
// * @param isSynchronous - Whether this mutation is synchronous.
|
|
681
|
+
// * @returns The deleted facts.
|
|
682
|
+
// */
|
|
683
|
+
// public async deleteFacts(
|
|
684
|
+
// ids: string[],
|
|
685
|
+
// isSynchronous?: boolean,
|
|
686
|
+
// ): Promise<Types.DeleteFactsMutation> {
|
|
687
|
+
// return this.mutateAndCheckError<
|
|
688
|
+
// Types.DeleteFactsMutation,
|
|
689
|
+
// Types.DeleteFactsMutationVariables
|
|
690
|
+
// >(Documents.DeleteFacts, { ids: ids, isSynchronous: isSynchronous });
|
|
691
|
+
// }
|
|
692
|
+
// /**
|
|
693
|
+
// * Deletes all facts based on the provided filter criteria.
|
|
694
|
+
// * @param filter - The filter criteria to apply when deleting facts.
|
|
695
|
+
// * @param isSynchronous - Whether this mutation is synchronous.
|
|
696
|
+
// * @param correlationId - The tenant correlation identifier, optional.
|
|
697
|
+
// * @returns The result of the deletion.
|
|
698
|
+
// */
|
|
699
|
+
// public async deleteAllFacts(
|
|
700
|
+
// filter?: Types.FactFilter,
|
|
701
|
+
// isSynchronous?: boolean,
|
|
702
|
+
// correlationId?: string,
|
|
703
|
+
// ): Promise<Types.DeleteAllFactsMutation> {
|
|
704
|
+
// return this.mutateAndCheckError<
|
|
705
|
+
// Types.DeleteAllFactsMutation,
|
|
706
|
+
// Types.DeleteAllFactsMutationVariables
|
|
707
|
+
// >(Documents.DeleteAllFacts, {
|
|
708
|
+
// filter: filter,
|
|
709
|
+
// isSynchronous: isSynchronous,
|
|
710
|
+
// correlationId: correlationId,
|
|
711
|
+
// });
|
|
712
|
+
// }
|
|
713
|
+
/**
|
|
714
|
+
* Lookup a fact given its ID.
|
|
715
|
+
* @param id - ID of the fact.
|
|
716
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
717
|
+
* @returns The fact.
|
|
718
|
+
*/
|
|
719
|
+
async getFact(id, correlationId) {
|
|
720
|
+
return this.queryAndCheckError(Documents.GetFact, { id: id, correlationId: correlationId });
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* Retrieves facts based on the provided filter criteria.
|
|
724
|
+
* @param filter - The filter criteria to apply when retrieving facts.
|
|
725
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
726
|
+
* @returns The facts.
|
|
727
|
+
*/
|
|
728
|
+
async queryFacts(filter, correlationId) {
|
|
729
|
+
return this.queryAndCheckError(Documents.QueryFacts, { filter: filter, correlationId: correlationId });
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* Counts facts based on the provided filter criteria.
|
|
733
|
+
* @param filter - The filter criteria to apply when counting facts.
|
|
734
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
735
|
+
* @returns The count of facts.
|
|
736
|
+
*/
|
|
737
|
+
async countFacts(filter, correlationId) {
|
|
738
|
+
return this.queryAndCheckError(Documents.CountFacts, { filter: filter, correlationId: correlationId });
|
|
739
|
+
}
|
|
653
740
|
/**
|
|
654
741
|
* Creates a collection.
|
|
655
742
|
* @param collection - The collection to create.
|
|
@@ -1497,6 +1584,38 @@ class Graphlit {
|
|
|
1497
1584
|
correlationId: correlationId,
|
|
1498
1585
|
});
|
|
1499
1586
|
}
|
|
1587
|
+
/**
|
|
1588
|
+
* Retrieves entities based on the provided prompt.
|
|
1589
|
+
* @param prompt - The prompt for entity retrieval.
|
|
1590
|
+
* @param types - The observable types to filter by, optional.
|
|
1591
|
+
* @param searchType - The search type to use, optional.
|
|
1592
|
+
* @param limit - The maximum number of results to return, optional.
|
|
1593
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
1594
|
+
* @returns The retrieved entities.
|
|
1595
|
+
*/
|
|
1596
|
+
async retrieveEntities(prompt, types, searchType, limit, correlationId) {
|
|
1597
|
+
return this.mutateAndCheckError(Documents.RetrieveEntities, {
|
|
1598
|
+
prompt: prompt,
|
|
1599
|
+
types: types,
|
|
1600
|
+
searchType: searchType,
|
|
1601
|
+
limit: limit,
|
|
1602
|
+
correlationId: correlationId,
|
|
1603
|
+
});
|
|
1604
|
+
}
|
|
1605
|
+
/**
|
|
1606
|
+
* Retrieves facts based on the provided prompt.
|
|
1607
|
+
* @param prompt - The prompt for fact retrieval.
|
|
1608
|
+
* @param filter - The filter criteria to apply when retrieving facts, optional.
|
|
1609
|
+
* @param correlationId - The tenant correlation identifier, optional.
|
|
1610
|
+
* @returns The retrieved facts.
|
|
1611
|
+
*/
|
|
1612
|
+
async retrieveFacts(prompt, filter, correlationId) {
|
|
1613
|
+
return this.mutateAndCheckError(Documents.RetrieveFacts, {
|
|
1614
|
+
prompt: prompt,
|
|
1615
|
+
filter: filter,
|
|
1616
|
+
correlationId: correlationId,
|
|
1617
|
+
});
|
|
1618
|
+
}
|
|
1500
1619
|
/**
|
|
1501
1620
|
* Formats a conversation for external LLM completion.
|
|
1502
1621
|
* @param prompt - The prompt to format.
|
|
@@ -84,6 +84,8 @@ export declare const Prompt: import("graphql").DocumentNode;
|
|
|
84
84
|
export declare const PromptConversation: import("graphql").DocumentNode;
|
|
85
85
|
export declare const PublishConversation: import("graphql").DocumentNode;
|
|
86
86
|
export declare const QueryConversations: import("graphql").DocumentNode;
|
|
87
|
+
export declare const RetrieveEntities: import("graphql").DocumentNode;
|
|
88
|
+
export declare const RetrieveFacts: import("graphql").DocumentNode;
|
|
87
89
|
export declare const RetrieveSources: import("graphql").DocumentNode;
|
|
88
90
|
export declare const RetrieveView: import("graphql").DocumentNode;
|
|
89
91
|
export declare const ReviseContent: import("graphql").DocumentNode;
|
|
@@ -101,6 +103,12 @@ export declare const GetEvent: import("graphql").DocumentNode;
|
|
|
101
103
|
export declare const QueryEvents: import("graphql").DocumentNode;
|
|
102
104
|
export declare const QueryEventsClusters: import("graphql").DocumentNode;
|
|
103
105
|
export declare const UpdateEvent: import("graphql").DocumentNode;
|
|
106
|
+
export declare const CountFacts: import("graphql").DocumentNode;
|
|
107
|
+
export declare const CreateFact: import("graphql").DocumentNode;
|
|
108
|
+
export declare const DeleteFact: import("graphql").DocumentNode;
|
|
109
|
+
export declare const GetFact: import("graphql").DocumentNode;
|
|
110
|
+
export declare const QueryFacts: import("graphql").DocumentNode;
|
|
111
|
+
export declare const UpdateFact: import("graphql").DocumentNode;
|
|
104
112
|
export declare const CountFeeds: import("graphql").DocumentNode;
|
|
105
113
|
export declare const CreateFeed: import("graphql").DocumentNode;
|
|
106
114
|
export declare const DeleteAllFeeds: import("graphql").DocumentNode;
|
|
@@ -6344,6 +6344,45 @@ export const QueryConversations = gql `
|
|
|
6344
6344
|
}
|
|
6345
6345
|
}
|
|
6346
6346
|
`;
|
|
6347
|
+
export const RetrieveEntities = gql `
|
|
6348
|
+
mutation RetrieveEntities($prompt: String!, $types: [ObservableTypes!], $searchType: SearchTypes, $limit: Int, $correlationId: String) {
|
|
6349
|
+
retrieveEntities(
|
|
6350
|
+
prompt: $prompt
|
|
6351
|
+
types: $types
|
|
6352
|
+
searchType: $searchType
|
|
6353
|
+
limit: $limit
|
|
6354
|
+
correlationId: $correlationId
|
|
6355
|
+
) {
|
|
6356
|
+
results {
|
|
6357
|
+
id
|
|
6358
|
+
name
|
|
6359
|
+
type
|
|
6360
|
+
relevance
|
|
6361
|
+
metadata
|
|
6362
|
+
}
|
|
6363
|
+
}
|
|
6364
|
+
}
|
|
6365
|
+
`;
|
|
6366
|
+
export const RetrieveFacts = gql `
|
|
6367
|
+
mutation RetrieveFacts($prompt: String!, $filter: FactFilter, $correlationId: String) {
|
|
6368
|
+
retrieveFacts(prompt: $prompt, filter: $filter, correlationId: $correlationId) {
|
|
6369
|
+
results {
|
|
6370
|
+
fact {
|
|
6371
|
+
id
|
|
6372
|
+
text
|
|
6373
|
+
status
|
|
6374
|
+
validAt
|
|
6375
|
+
invalidAt
|
|
6376
|
+
state
|
|
6377
|
+
}
|
|
6378
|
+
relevance
|
|
6379
|
+
content {
|
|
6380
|
+
id
|
|
6381
|
+
}
|
|
6382
|
+
}
|
|
6383
|
+
}
|
|
6384
|
+
}
|
|
6385
|
+
`;
|
|
6347
6386
|
export const RetrieveSources = gql `
|
|
6348
6387
|
mutation RetrieveSources($prompt: String!, $filter: ContentFilter, $augmentedFilter: ContentFilter, $retrievalStrategy: RetrievalStrategyInput, $rerankingStrategy: RerankingStrategyInput, $correlationId: String) {
|
|
6349
6388
|
retrieveSources(
|
|
@@ -7301,6 +7340,71 @@ export const UpdateEvent = gql `
|
|
|
7301
7340
|
}
|
|
7302
7341
|
}
|
|
7303
7342
|
`;
|
|
7343
|
+
export const CountFacts = gql `
|
|
7344
|
+
query CountFacts($filter: FactFilter, $correlationId: String) {
|
|
7345
|
+
countFacts(filter: $filter, correlationId: $correlationId) {
|
|
7346
|
+
count
|
|
7347
|
+
}
|
|
7348
|
+
}
|
|
7349
|
+
`;
|
|
7350
|
+
export const CreateFact = gql `
|
|
7351
|
+
mutation CreateFact($fact: FactInput!) {
|
|
7352
|
+
createFact(fact: $fact) {
|
|
7353
|
+
id
|
|
7354
|
+
state
|
|
7355
|
+
}
|
|
7356
|
+
}
|
|
7357
|
+
`;
|
|
7358
|
+
export const DeleteFact = gql `
|
|
7359
|
+
mutation DeleteFact($id: ID!) {
|
|
7360
|
+
deleteFact(id: $id) {
|
|
7361
|
+
id
|
|
7362
|
+
state
|
|
7363
|
+
}
|
|
7364
|
+
}
|
|
7365
|
+
`;
|
|
7366
|
+
export const GetFact = gql `
|
|
7367
|
+
query GetFact($id: ID!, $correlationId: String) {
|
|
7368
|
+
fact(id: $id, correlationId: $correlationId) {
|
|
7369
|
+
id
|
|
7370
|
+
creationDate
|
|
7371
|
+
owner {
|
|
7372
|
+
id
|
|
7373
|
+
}
|
|
7374
|
+
text
|
|
7375
|
+
status
|
|
7376
|
+
validAt
|
|
7377
|
+
invalidAt
|
|
7378
|
+
relevance
|
|
7379
|
+
}
|
|
7380
|
+
}
|
|
7381
|
+
`;
|
|
7382
|
+
export const QueryFacts = gql `
|
|
7383
|
+
query QueryFacts($filter: FactFilter, $correlationId: String) {
|
|
7384
|
+
facts(filter: $filter, correlationId: $correlationId) {
|
|
7385
|
+
results {
|
|
7386
|
+
id
|
|
7387
|
+
creationDate
|
|
7388
|
+
owner {
|
|
7389
|
+
id
|
|
7390
|
+
}
|
|
7391
|
+
text
|
|
7392
|
+
status
|
|
7393
|
+
validAt
|
|
7394
|
+
invalidAt
|
|
7395
|
+
relevance
|
|
7396
|
+
}
|
|
7397
|
+
}
|
|
7398
|
+
}
|
|
7399
|
+
`;
|
|
7400
|
+
export const UpdateFact = gql `
|
|
7401
|
+
mutation UpdateFact($fact: FactUpdateInput!) {
|
|
7402
|
+
updateFact(fact: $fact) {
|
|
7403
|
+
id
|
|
7404
|
+
state
|
|
7405
|
+
}
|
|
7406
|
+
}
|
|
7407
|
+
`;
|
|
7304
7408
|
export const CountFeeds = gql `
|
|
7305
7409
|
query CountFeeds($filter: FeedFilter, $correlationId: String) {
|
|
7306
7410
|
countFeeds(filter: $filter, correlationId: $correlationId) {
|
|
@@ -7535,6 +7639,8 @@ export const GetFeed = gql `
|
|
|
7535
7639
|
uri
|
|
7536
7640
|
repositoryOwner
|
|
7537
7641
|
repositoryName
|
|
7642
|
+
clientId
|
|
7643
|
+
clientSecret
|
|
7538
7644
|
refreshToken
|
|
7539
7645
|
personalAccessToken
|
|
7540
7646
|
connector {
|
|
@@ -7566,6 +7672,8 @@ export const GetFeed = gql `
|
|
|
7566
7672
|
uri
|
|
7567
7673
|
repositoryOwner
|
|
7568
7674
|
repositoryName
|
|
7675
|
+
clientId
|
|
7676
|
+
clientSecret
|
|
7569
7677
|
refreshToken
|
|
7570
7678
|
personalAccessToken
|
|
7571
7679
|
connector {
|
|
@@ -7581,6 +7689,8 @@ export const GetFeed = gql `
|
|
|
7581
7689
|
uri
|
|
7582
7690
|
repositoryOwner
|
|
7583
7691
|
repositoryName
|
|
7692
|
+
clientId
|
|
7693
|
+
clientSecret
|
|
7584
7694
|
refreshToken
|
|
7585
7695
|
personalAccessToken
|
|
7586
7696
|
connector {
|
|
@@ -7719,6 +7829,7 @@ export const GetFeed = gql `
|
|
|
7719
7829
|
}
|
|
7720
7830
|
teamId
|
|
7721
7831
|
channelId
|
|
7832
|
+
includeAttachments
|
|
7722
7833
|
}
|
|
7723
7834
|
discord {
|
|
7724
7835
|
readLimit
|
|
@@ -7983,6 +8094,8 @@ export const QueryFeeds = gql `
|
|
|
7983
8094
|
uri
|
|
7984
8095
|
repositoryOwner
|
|
7985
8096
|
repositoryName
|
|
8097
|
+
clientId
|
|
8098
|
+
clientSecret
|
|
7986
8099
|
refreshToken
|
|
7987
8100
|
personalAccessToken
|
|
7988
8101
|
connector {
|
|
@@ -8014,6 +8127,8 @@ export const QueryFeeds = gql `
|
|
|
8014
8127
|
uri
|
|
8015
8128
|
repositoryOwner
|
|
8016
8129
|
repositoryName
|
|
8130
|
+
clientId
|
|
8131
|
+
clientSecret
|
|
8017
8132
|
refreshToken
|
|
8018
8133
|
personalAccessToken
|
|
8019
8134
|
connector {
|
|
@@ -8029,6 +8144,8 @@ export const QueryFeeds = gql `
|
|
|
8029
8144
|
uri
|
|
8030
8145
|
repositoryOwner
|
|
8031
8146
|
repositoryName
|
|
8147
|
+
clientId
|
|
8148
|
+
clientSecret
|
|
8032
8149
|
refreshToken
|
|
8033
8150
|
personalAccessToken
|
|
8034
8151
|
connector {
|
|
@@ -8167,6 +8284,7 @@ export const QueryFeeds = gql `
|
|
|
8167
8284
|
}
|
|
8168
8285
|
teamId
|
|
8169
8286
|
channelId
|
|
8287
|
+
includeAttachments
|
|
8170
8288
|
}
|
|
8171
8289
|
discord {
|
|
8172
8290
|
readLimit
|
|
@@ -14130,6 +14248,9 @@ export const GetSpecification = gql `
|
|
|
14130
14248
|
generateGraph
|
|
14131
14249
|
observableLimit
|
|
14132
14250
|
}
|
|
14251
|
+
factStrategy {
|
|
14252
|
+
factLimit
|
|
14253
|
+
}
|
|
14133
14254
|
revisionStrategy {
|
|
14134
14255
|
type
|
|
14135
14256
|
customRevision
|
|
@@ -14508,6 +14629,9 @@ export const QuerySpecifications = gql `
|
|
|
14508
14629
|
generateGraph
|
|
14509
14630
|
observableLimit
|
|
14510
14631
|
}
|
|
14632
|
+
factStrategy {
|
|
14633
|
+
factLimit
|
|
14634
|
+
}
|
|
14511
14635
|
revisionStrategy {
|
|
14512
14636
|
type
|
|
14513
14637
|
customRevision
|
|
@@ -16138,6 +16262,7 @@ export const CreateWorkflow = gql `
|
|
|
16138
16262
|
tokenThreshold
|
|
16139
16263
|
timeBudget
|
|
16140
16264
|
entityBudget
|
|
16265
|
+
extractionType
|
|
16141
16266
|
}
|
|
16142
16267
|
}
|
|
16143
16268
|
}
|
|
@@ -16409,6 +16534,7 @@ export const GetWorkflow = gql `
|
|
|
16409
16534
|
tokenThreshold
|
|
16410
16535
|
timeBudget
|
|
16411
16536
|
entityBudget
|
|
16537
|
+
extractionType
|
|
16412
16538
|
}
|
|
16413
16539
|
}
|
|
16414
16540
|
}
|
|
@@ -16654,6 +16780,7 @@ export const QueryWorkflows = gql `
|
|
|
16654
16780
|
tokenThreshold
|
|
16655
16781
|
timeBudget
|
|
16656
16782
|
entityBudget
|
|
16783
|
+
extractionType
|
|
16657
16784
|
}
|
|
16658
16785
|
}
|
|
16659
16786
|
}
|
|
@@ -16893,6 +17020,7 @@ export const UpdateWorkflow = gql `
|
|
|
16893
17020
|
tokenThreshold
|
|
16894
17021
|
timeBudget
|
|
16895
17022
|
entityBudget
|
|
17023
|
+
extractionType
|
|
16896
17024
|
}
|
|
16897
17025
|
}
|
|
16898
17026
|
}
|
|
@@ -17131,6 +17259,7 @@ export const UpsertWorkflow = gql `
|
|
|
17131
17259
|
tokenThreshold
|
|
17132
17260
|
timeBudget
|
|
17133
17261
|
entityBudget
|
|
17262
|
+
extractionType
|
|
17134
17263
|
}
|
|
17135
17264
|
}
|
|
17136
17265
|
}
|
|
@@ -2096,6 +2096,8 @@ export type Content = {
|
|
|
2096
2096
|
error?: Maybe<Scalars['String']['output']>;
|
|
2097
2097
|
/** The content event metadata. */
|
|
2098
2098
|
event?: Maybe<EventMetadata>;
|
|
2099
|
+
/** The facts extracted from this content. */
|
|
2100
|
+
facts?: Maybe<Array<Maybe<Fact>>>;
|
|
2099
2101
|
/** The geo-tags of the content, as GeoJSON Features with Point geometry. */
|
|
2100
2102
|
features?: Maybe<Scalars['String']['output']>;
|
|
2101
2103
|
/** The feed where this content was sourced from. */
|
|
@@ -4322,6 +4324,8 @@ export declare enum EntityTypes {
|
|
|
4322
4324
|
Conversation = "CONVERSATION",
|
|
4323
4325
|
/** Event */
|
|
4324
4326
|
Event = "EVENT",
|
|
4327
|
+
/** Fact */
|
|
4328
|
+
Fact = "FACT",
|
|
4325
4329
|
/** Feed */
|
|
4326
4330
|
Feed = "FEED",
|
|
4327
4331
|
/** Investment */
|
|
@@ -4776,6 +4780,13 @@ export type ExtractCompletion = {
|
|
|
4776
4780
|
/** The extracted JSON value from the called tool. */
|
|
4777
4781
|
value: Scalars['String']['output'];
|
|
4778
4782
|
};
|
|
4783
|
+
/** The type of extraction to perform. */
|
|
4784
|
+
export declare enum ExtractionTypes {
|
|
4785
|
+
/** Extract observable entities (Person, Organization, Place, etc.). */
|
|
4786
|
+
Entities = "ENTITIES",
|
|
4787
|
+
/** Extract factual assertions and claims from content. */
|
|
4788
|
+
Facts = "FACTS"
|
|
4789
|
+
}
|
|
4779
4790
|
/** Represents an extraction workflow job. */
|
|
4780
4791
|
export type ExtractionWorkflowJob = {
|
|
4781
4792
|
__typename?: 'ExtractionWorkflowJob';
|
|
@@ -4818,6 +4829,145 @@ export declare enum FacetValueTypes {
|
|
|
4818
4829
|
/** Facet by value */
|
|
4819
4830
|
Value = "VALUE"
|
|
4820
4831
|
}
|
|
4832
|
+
/** Represents a fact extracted from content. */
|
|
4833
|
+
export type Fact = {
|
|
4834
|
+
__typename?: 'Fact';
|
|
4835
|
+
/** The content from which the fact was extracted. */
|
|
4836
|
+
content?: Maybe<Content>;
|
|
4837
|
+
/** The creation date of the fact. */
|
|
4838
|
+
creationDate: Scalars['DateTime']['output'];
|
|
4839
|
+
/** The ID of the fact. */
|
|
4840
|
+
id: Scalars['ID']['output'];
|
|
4841
|
+
/** The date/time when this fact became invalid. */
|
|
4842
|
+
invalidAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4843
|
+
/** The entities mentioned in this fact. */
|
|
4844
|
+
mentions?: Maybe<Array<Maybe<MentionReference>>>;
|
|
4845
|
+
/** The modified date of the fact. */
|
|
4846
|
+
modifiedDate?: Maybe<Scalars['DateTime']['output']>;
|
|
4847
|
+
/** The owner of the fact. */
|
|
4848
|
+
owner: Owner;
|
|
4849
|
+
/** The relevance score of the fact. */
|
|
4850
|
+
relevance?: Maybe<Scalars['Float']['output']>;
|
|
4851
|
+
/** The state of the fact (i.e. created, finished). */
|
|
4852
|
+
state: EntityState;
|
|
4853
|
+
/** The resolution status of the fact. */
|
|
4854
|
+
status?: Maybe<FactStatus>;
|
|
4855
|
+
/** The fact assertion text. */
|
|
4856
|
+
text: Scalars['String']['output'];
|
|
4857
|
+
/** The date/time when this fact became valid. */
|
|
4858
|
+
validAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4859
|
+
};
|
|
4860
|
+
/** Represents a filter for facts. */
|
|
4861
|
+
export type FactFilter = {
|
|
4862
|
+
/** Filter by parent content. */
|
|
4863
|
+
content?: InputMaybe<EntityReferenceFilter>;
|
|
4864
|
+
/** Filter by creation date recent timespan. For example, a timespan of one day will return fact(s) created in the last 24 hours. */
|
|
4865
|
+
createdInLast?: InputMaybe<Scalars['TimeSpan']['input']>;
|
|
4866
|
+
/** Filter fact(s) by their creation date range. */
|
|
4867
|
+
creationDateRange?: InputMaybe<DateRangeFilter>;
|
|
4868
|
+
/** The sort direction for query results. */
|
|
4869
|
+
direction?: InputMaybe<OrderDirectionTypes>;
|
|
4870
|
+
/** Whether to disable inheritance from project to owner, upon fact retrieval. Defaults to False. */
|
|
4871
|
+
disableInheritance?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4872
|
+
/** Filter fact(s) by their unique ID. */
|
|
4873
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
4874
|
+
/** Limit the number of fact(s) to be returned. Defaults to 100. */
|
|
4875
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
4876
|
+
/** Filter by mentioned entities. Multiple mentions use AND logic (all must match). */
|
|
4877
|
+
mentions?: InputMaybe<Array<InputMaybe<MentionReferenceFilter>>>;
|
|
4878
|
+
/** Filter fact(s) by their modified date range. */
|
|
4879
|
+
modifiedDateRange?: InputMaybe<DateRangeFilter>;
|
|
4880
|
+
/** Filter by modified date recent timespan. For example, a timespan of one day will return fact(s) modified in the last 24 hours. */
|
|
4881
|
+
modifiedInLast?: InputMaybe<Scalars['TimeSpan']['input']>;
|
|
4882
|
+
/** Filter fact(s) by their name. */
|
|
4883
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
4884
|
+
/** When using similarity search, the number of similar items to be returned. Defaults to 100. */
|
|
4885
|
+
numberSimilar?: InputMaybe<Scalars['Int']['input']>;
|
|
4886
|
+
/** Skip the specified number of fact(s) from the beginning of the result set. Only supported on keyword search. */
|
|
4887
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
4888
|
+
/** The sort order for query results. */
|
|
4889
|
+
orderBy?: InputMaybe<OrderByTypes>;
|
|
4890
|
+
/** The query syntax for the search text. Defaults to Simple. */
|
|
4891
|
+
queryType?: InputMaybe<SearchQueryTypes>;
|
|
4892
|
+
/** The relevance score threshold for vector and hybrid search. Results below this threshold will be filtered out. Hybrid search defaults to 0.006. Vector search defaults to 0.54, or 0.78 for OpenAI Ada-002, or 0.61 for Google embedding models. Not applicable to keyword search. */
|
|
4893
|
+
relevanceThreshold?: InputMaybe<Scalars['Float']['input']>;
|
|
4894
|
+
/** Filter fact(s) by searching for similar text. */
|
|
4895
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
4896
|
+
/** The type of search to be used. Defaults to Vector. */
|
|
4897
|
+
searchType?: InputMaybe<SearchTypes>;
|
|
4898
|
+
/** Filter fact(s) by their states. */
|
|
4899
|
+
states?: InputMaybe<Array<EntityState>>;
|
|
4900
|
+
/** Filter by fact statuses. */
|
|
4901
|
+
statuses?: InputMaybe<Array<InputMaybe<FactStatus>>>;
|
|
4902
|
+
/** Point-in-time filter: returns facts that were valid at this date (ValidAt <= date AND (InvalidAt is null OR InvalidAt > date)). */
|
|
4903
|
+
validAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4904
|
+
};
|
|
4905
|
+
/** Represents the configuration for retrieving the fact knowledge graph. */
|
|
4906
|
+
export type FactGraphInput = {
|
|
4907
|
+
/** Filter by entity types. */
|
|
4908
|
+
types?: InputMaybe<Array<ObservableTypes>>;
|
|
4909
|
+
};
|
|
4910
|
+
/** Represents a fact. */
|
|
4911
|
+
export type FactInput = {
|
|
4912
|
+
/** The content from which the fact was extracted. */
|
|
4913
|
+
content: EntityReferenceInput;
|
|
4914
|
+
/** The date/time when this fact became invalid. */
|
|
4915
|
+
invalidAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4916
|
+
/** The resolution status of the fact. */
|
|
4917
|
+
status?: InputMaybe<FactStatus>;
|
|
4918
|
+
/** The fact assertion text. */
|
|
4919
|
+
text: Scalars['String']['input'];
|
|
4920
|
+
/** The date/time when this fact became valid. */
|
|
4921
|
+
validAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4922
|
+
};
|
|
4923
|
+
/** Represents fact query results. */
|
|
4924
|
+
export type FactResults = {
|
|
4925
|
+
__typename?: 'FactResults';
|
|
4926
|
+
/** The knowledge graph generated from the retrieved facts. */
|
|
4927
|
+
graph?: Maybe<Graph>;
|
|
4928
|
+
/** The fact results. */
|
|
4929
|
+
results?: Maybe<Array<Maybe<Fact>>>;
|
|
4930
|
+
};
|
|
4931
|
+
/** The resolution status of a fact. */
|
|
4932
|
+
export declare enum FactStatus {
|
|
4933
|
+
/** Inactive or archived fact. */
|
|
4934
|
+
Archived = "ARCHIVED",
|
|
4935
|
+
/** Authoritative version of the fact. */
|
|
4936
|
+
Canonical = "CANONICAL",
|
|
4937
|
+
/** Duplicate of a canonical fact. */
|
|
4938
|
+
Duplicate = "DUPLICATE",
|
|
4939
|
+
/** Replaced by a newer fact. */
|
|
4940
|
+
Superseded = "SUPERSEDED"
|
|
4941
|
+
}
|
|
4942
|
+
/** Represents a fact injection strategy for RAG. */
|
|
4943
|
+
export type FactStrategy = {
|
|
4944
|
+
__typename?: 'FactStrategy';
|
|
4945
|
+
/** The maximum number of facts per content, defaults to all. */
|
|
4946
|
+
factLimit?: Maybe<Scalars['Int']['output']>;
|
|
4947
|
+
};
|
|
4948
|
+
/** Represents a fact injection strategy for RAG. */
|
|
4949
|
+
export type FactStrategyInput = {
|
|
4950
|
+
/** The maximum number of facts per content, defaults to all. */
|
|
4951
|
+
factLimit?: InputMaybe<Scalars['Int']['input']>;
|
|
4952
|
+
};
|
|
4953
|
+
/** Represents a fact injection strategy for RAG. */
|
|
4954
|
+
export type FactStrategyUpdateInput = {
|
|
4955
|
+
/** The maximum number of facts per content, defaults to all. */
|
|
4956
|
+
factLimit?: InputMaybe<Scalars['Int']['input']>;
|
|
4957
|
+
};
|
|
4958
|
+
/** Represents a fact. */
|
|
4959
|
+
export type FactUpdateInput = {
|
|
4960
|
+
/** The ID of the fact to update. */
|
|
4961
|
+
id: Scalars['ID']['input'];
|
|
4962
|
+
/** The date/time when this fact became invalid. */
|
|
4963
|
+
invalidAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4964
|
+
/** The resolution status of the fact. */
|
|
4965
|
+
status?: InputMaybe<FactStatus>;
|
|
4966
|
+
/** The fact assertion text. */
|
|
4967
|
+
text?: InputMaybe<Scalars['String']['input']>;
|
|
4968
|
+
/** The date/time when this fact became valid. */
|
|
4969
|
+
validAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
4970
|
+
};
|
|
4821
4971
|
/** Represents a feed. */
|
|
4822
4972
|
export type Feed = {
|
|
4823
4973
|
__typename?: 'Feed';
|
|
@@ -9820,6 +9970,21 @@ export type MedicalTherapyUpdateInput = {
|
|
|
9820
9970
|
/** The medicaltherapy URI. */
|
|
9821
9971
|
uri?: InputMaybe<Scalars['URL']['input']>;
|
|
9822
9972
|
};
|
|
9973
|
+
/** Represents an entity mention in a fact. */
|
|
9974
|
+
export type MentionReference = {
|
|
9975
|
+
__typename?: 'MentionReference';
|
|
9976
|
+
/** The mentioned entity. */
|
|
9977
|
+
observable?: Maybe<NamedEntityReference>;
|
|
9978
|
+
/** The mentioned entity type. */
|
|
9979
|
+
type?: Maybe<ObservableTypes>;
|
|
9980
|
+
};
|
|
9981
|
+
/** Represents a filter for entity mentions in facts. */
|
|
9982
|
+
export type MentionReferenceFilter = {
|
|
9983
|
+
/** Filter by mentioned entity. */
|
|
9984
|
+
observable?: InputMaybe<EntityReferenceFilter>;
|
|
9985
|
+
/** Filter by mentioned entity type. */
|
|
9986
|
+
type?: InputMaybe<ObservableTypes>;
|
|
9987
|
+
};
|
|
9823
9988
|
/** Represents message metadata. */
|
|
9824
9989
|
export type MessageMetadata = {
|
|
9825
9990
|
__typename?: 'MessageMetadata';
|
|
@@ -10577,6 +10742,8 @@ export type ModelTextExtractionProperties = {
|
|
|
10577
10742
|
__typename?: 'ModelTextExtractionProperties';
|
|
10578
10743
|
/** The total entity budget for entity extraction. Extraction will stop after this many entities are extracted across all types. */
|
|
10579
10744
|
entityBudget?: Maybe<Scalars['Int']['output']>;
|
|
10745
|
+
/** The extraction type (Entities or Facts). Defaults to Entities. */
|
|
10746
|
+
extractionType?: Maybe<ExtractionTypes>;
|
|
10580
10747
|
/** The LLM specification used for entity extraction. */
|
|
10581
10748
|
specification?: Maybe<EntityReference>;
|
|
10582
10749
|
/** The time budget for entity extraction. Extraction will stop after this duration. Defaults to 30 minutes. */
|
|
@@ -10588,6 +10755,8 @@ export type ModelTextExtractionProperties = {
|
|
|
10588
10755
|
export type ModelTextExtractionPropertiesInput = {
|
|
10589
10756
|
/** The total entity budget for entity extraction. Extraction will stop after this many entities are extracted across all types. */
|
|
10590
10757
|
entityBudget?: InputMaybe<Scalars['Int']['input']>;
|
|
10758
|
+
/** The extraction type (Entities or Facts). Defaults to Entities. */
|
|
10759
|
+
extractionType?: InputMaybe<ExtractionTypes>;
|
|
10591
10760
|
/** The LLM specification used for entity extraction. */
|
|
10592
10761
|
specification?: InputMaybe<EntityReferenceInput>;
|
|
10593
10762
|
/** The time budget for entity extraction. Extraction will stop after this duration. Defaults to 30 minutes. */
|
|
@@ -10643,6 +10812,8 @@ export type Mutation = {
|
|
|
10643
10812
|
createConversation?: Maybe<Conversation>;
|
|
10644
10813
|
/** Creates a new event. */
|
|
10645
10814
|
createEvent?: Maybe<Event>;
|
|
10815
|
+
/** Creates a new fact. */
|
|
10816
|
+
createFact?: Maybe<Fact>;
|
|
10646
10817
|
/** Creates a new feed. */
|
|
10647
10818
|
createFeed?: Maybe<Feed>;
|
|
10648
10819
|
/** Creates a new investment. */
|
|
@@ -10781,6 +10952,8 @@ export type Mutation = {
|
|
|
10781
10952
|
deleteEvent?: Maybe<Event>;
|
|
10782
10953
|
/** Bulk deletes events. */
|
|
10783
10954
|
deleteEvents?: Maybe<Array<Maybe<Event>>>;
|
|
10955
|
+
/** Deletes a fact. */
|
|
10956
|
+
deleteFact?: Maybe<Fact>;
|
|
10784
10957
|
/** Deletes a feed. */
|
|
10785
10958
|
deleteFeed?: Maybe<Feed>;
|
|
10786
10959
|
/** Bulk deletes feeds. */
|
|
@@ -10971,6 +11144,10 @@ export type Mutation = {
|
|
|
10971
11144
|
restartAllContents?: Maybe<Array<Maybe<Content>>>;
|
|
10972
11145
|
/** Restarts workflow on content. */
|
|
10973
11146
|
restartContent?: Maybe<Content>;
|
|
11147
|
+
/** Retrieve entities by semantic search over entity names and descriptions. */
|
|
11148
|
+
retrieveEntities?: Maybe<RetrievedEntityResults>;
|
|
11149
|
+
/** Retrieve facts by semantic search over fact text. */
|
|
11150
|
+
retrieveFacts?: Maybe<RetrievedFactResults>;
|
|
10974
11151
|
/** Retrieve content sources. */
|
|
10975
11152
|
retrieveSources?: Maybe<ContentSourceResults>;
|
|
10976
11153
|
/** Retrieve content sources using a saved view. */
|
|
@@ -11011,6 +11188,8 @@ export type Mutation = {
|
|
|
11011
11188
|
updateConversation?: Maybe<Conversation>;
|
|
11012
11189
|
/** Updates an event. */
|
|
11013
11190
|
updateEvent?: Maybe<Event>;
|
|
11191
|
+
/** Updates a fact. */
|
|
11192
|
+
updateFact?: Maybe<Fact>;
|
|
11014
11193
|
/** Updates an existing feed. */
|
|
11015
11194
|
updateFeed?: Maybe<Feed>;
|
|
11016
11195
|
/** Updates a investment. */
|
|
@@ -11140,6 +11319,9 @@ export type MutationCreateConversationArgs = {
|
|
|
11140
11319
|
export type MutationCreateEventArgs = {
|
|
11141
11320
|
event: EventInput;
|
|
11142
11321
|
};
|
|
11322
|
+
export type MutationCreateFactArgs = {
|
|
11323
|
+
fact: FactInput;
|
|
11324
|
+
};
|
|
11143
11325
|
export type MutationCreateFeedArgs = {
|
|
11144
11326
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
11145
11327
|
feed: FeedInput;
|
|
@@ -11414,6 +11596,9 @@ export type MutationDeleteEventsArgs = {
|
|
|
11414
11596
|
ids: Array<Scalars['ID']['input']>;
|
|
11415
11597
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
|
11416
11598
|
};
|
|
11599
|
+
export type MutationDeleteFactArgs = {
|
|
11600
|
+
id: Scalars['ID']['input'];
|
|
11601
|
+
};
|
|
11417
11602
|
export type MutationDeleteFeedArgs = {
|
|
11418
11603
|
id: Scalars['ID']['input'];
|
|
11419
11604
|
};
|
|
@@ -11870,6 +12055,18 @@ export type MutationRestartAllContentsArgs = {
|
|
|
11870
12055
|
export type MutationRestartContentArgs = {
|
|
11871
12056
|
id: Scalars['ID']['input'];
|
|
11872
12057
|
};
|
|
12058
|
+
export type MutationRetrieveEntitiesArgs = {
|
|
12059
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
12060
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
12061
|
+
prompt: Scalars['String']['input'];
|
|
12062
|
+
searchType?: InputMaybe<SearchTypes>;
|
|
12063
|
+
types?: InputMaybe<Array<ObservableTypes>>;
|
|
12064
|
+
};
|
|
12065
|
+
export type MutationRetrieveFactsArgs = {
|
|
12066
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
12067
|
+
filter?: InputMaybe<FactFilter>;
|
|
12068
|
+
prompt: Scalars['String']['input'];
|
|
12069
|
+
};
|
|
11873
12070
|
export type MutationRetrieveSourcesArgs = {
|
|
11874
12071
|
augmentedFilter?: InputMaybe<ContentFilter>;
|
|
11875
12072
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -11971,6 +12168,9 @@ export type MutationUpdateConversationArgs = {
|
|
|
11971
12168
|
export type MutationUpdateEventArgs = {
|
|
11972
12169
|
event: EventUpdateInput;
|
|
11973
12170
|
};
|
|
12171
|
+
export type MutationUpdateFactArgs = {
|
|
12172
|
+
fact: FactUpdateInput;
|
|
12173
|
+
};
|
|
11974
12174
|
export type MutationUpdateFeedArgs = {
|
|
11975
12175
|
feed: FeedUpdateInput;
|
|
11976
12176
|
};
|
|
@@ -14753,6 +14953,8 @@ export type Query = {
|
|
|
14753
14953
|
countConversations?: Maybe<CountResult>;
|
|
14754
14954
|
/** Counts events based on the provided filter criteria. */
|
|
14755
14955
|
countEvents?: Maybe<CountResult>;
|
|
14956
|
+
/** Counts facts based on the provided filter criteria. */
|
|
14957
|
+
countFacts?: Maybe<CountResult>;
|
|
14756
14958
|
/** Counts feeds based on the provided filter criteria. */
|
|
14757
14959
|
countFeeds?: Maybe<CountResult>;
|
|
14758
14960
|
/** Counts investment funds based on the provided filter criteria. */
|
|
@@ -14815,6 +15017,10 @@ export type Query = {
|
|
|
14815
15017
|
event?: Maybe<Event>;
|
|
14816
15018
|
/** Retrieves events based on the provided filter criteria. */
|
|
14817
15019
|
events?: Maybe<EventResults>;
|
|
15020
|
+
/** Lookup a fact given its ID. */
|
|
15021
|
+
fact?: Maybe<Fact>;
|
|
15022
|
+
/** Retrieves facts based on the provided filter criteria. */
|
|
15023
|
+
facts?: Maybe<FactResults>;
|
|
14818
15024
|
/** Lookup a feed given its ID. */
|
|
14819
15025
|
feed?: Maybe<Feed>;
|
|
14820
15026
|
/** Returns whether any feed exists based on the provided filter criteria. */
|
|
@@ -15069,6 +15275,10 @@ export type QueryCountEventsArgs = {
|
|
|
15069
15275
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
15070
15276
|
filter?: InputMaybe<EventFilter>;
|
|
15071
15277
|
};
|
|
15278
|
+
export type QueryCountFactsArgs = {
|
|
15279
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
15280
|
+
filter?: InputMaybe<FactFilter>;
|
|
15281
|
+
};
|
|
15072
15282
|
export type QueryCountFeedsArgs = {
|
|
15073
15283
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
15074
15284
|
filter?: InputMaybe<FeedFilter>;
|
|
@@ -15193,6 +15403,15 @@ export type QueryEventsArgs = {
|
|
|
15193
15403
|
facets?: InputMaybe<Array<EventFacetInput>>;
|
|
15194
15404
|
filter?: InputMaybe<EventFilter>;
|
|
15195
15405
|
};
|
|
15406
|
+
export type QueryFactArgs = {
|
|
15407
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
15408
|
+
id: Scalars['ID']['input'];
|
|
15409
|
+
};
|
|
15410
|
+
export type QueryFactsArgs = {
|
|
15411
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
15412
|
+
filter?: InputMaybe<FactFilter>;
|
|
15413
|
+
graph?: InputMaybe<FactGraphInput>;
|
|
15414
|
+
};
|
|
15196
15415
|
export type QueryFeedArgs = {
|
|
15197
15416
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
15198
15417
|
id: Scalars['ID']['input'];
|
|
@@ -16163,6 +16382,42 @@ export type RetrievalStrategyUpdateInput = {
|
|
|
16163
16382
|
/** The retrieval strategy type. */
|
|
16164
16383
|
type?: InputMaybe<RetrievalStrategyTypes>;
|
|
16165
16384
|
};
|
|
16385
|
+
/** Represents a retrieved entity with relevance score. */
|
|
16386
|
+
export type RetrievedEntity = {
|
|
16387
|
+
__typename?: 'RetrievedEntity';
|
|
16388
|
+
/** The entity identifier. */
|
|
16389
|
+
id: Scalars['ID']['output'];
|
|
16390
|
+
/** The entity metadata as JSON-LD. */
|
|
16391
|
+
metadata?: Maybe<Scalars['String']['output']>;
|
|
16392
|
+
/** The entity name. */
|
|
16393
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
16394
|
+
/** The relevance score of the entity to the retrieval prompt. */
|
|
16395
|
+
relevance?: Maybe<Scalars['Float']['output']>;
|
|
16396
|
+
/** The entity type. */
|
|
16397
|
+
type: ObservableTypes;
|
|
16398
|
+
};
|
|
16399
|
+
/** Represents retrieved entity results. */
|
|
16400
|
+
export type RetrievedEntityResults = {
|
|
16401
|
+
__typename?: 'RetrievedEntityResults';
|
|
16402
|
+
/** The retrieved entity results. */
|
|
16403
|
+
results?: Maybe<Array<Maybe<RetrievedEntity>>>;
|
|
16404
|
+
};
|
|
16405
|
+
/** Represents a retrieved fact with relevance score. */
|
|
16406
|
+
export type RetrievedFact = {
|
|
16407
|
+
__typename?: 'RetrievedFact';
|
|
16408
|
+
/** The content from which the fact was extracted. */
|
|
16409
|
+
content?: Maybe<EntityReference>;
|
|
16410
|
+
/** The retrieved fact. */
|
|
16411
|
+
fact: Fact;
|
|
16412
|
+
/** The relevance score of the fact to the retrieval prompt. */
|
|
16413
|
+
relevance?: Maybe<Scalars['Float']['output']>;
|
|
16414
|
+
};
|
|
16415
|
+
/** Represents retrieved fact results. */
|
|
16416
|
+
export type RetrievedFactResults = {
|
|
16417
|
+
__typename?: 'RetrievedFactResults';
|
|
16418
|
+
/** The retrieved fact results. */
|
|
16419
|
+
results?: Maybe<Array<Maybe<RetrievedFact>>>;
|
|
16420
|
+
};
|
|
16166
16421
|
/** Represents a prompted content revision. */
|
|
16167
16422
|
export type ReviseContent = {
|
|
16168
16423
|
__typename?: 'ReviseContent';
|
|
@@ -16824,6 +17079,8 @@ export type Specification = {
|
|
|
16824
17079
|
customInstructions?: Maybe<Scalars['String']['output']>;
|
|
16825
17080
|
/** The Deepseek model properties. */
|
|
16826
17081
|
deepseek?: Maybe<DeepseekModelProperties>;
|
|
17082
|
+
/** The strategy for including extracted facts in RAG context. */
|
|
17083
|
+
factStrategy?: Maybe<FactStrategy>;
|
|
16827
17084
|
/** The Google model properties. */
|
|
16828
17085
|
google?: Maybe<GoogleModelProperties>;
|
|
16829
17086
|
/** The strategy for GraphRAG retrieval. */
|
|
@@ -16930,6 +17187,8 @@ export type SpecificationInput = {
|
|
|
16930
17187
|
customInstructions?: InputMaybe<Scalars['String']['input']>;
|
|
16931
17188
|
/** The Deepseek model properties. */
|
|
16932
17189
|
deepseek?: InputMaybe<DeepseekModelPropertiesInput>;
|
|
17190
|
+
/** The strategy for including extracted facts in RAG context. */
|
|
17191
|
+
factStrategy?: InputMaybe<FactStrategyInput>;
|
|
16933
17192
|
/** The Google model properties. */
|
|
16934
17193
|
google?: InputMaybe<GoogleModelPropertiesInput>;
|
|
16935
17194
|
/** The strategy for GraphRAG retrieval. */
|
|
@@ -16979,6 +17238,8 @@ export type SpecificationResults = {
|
|
|
16979
17238
|
};
|
|
16980
17239
|
/** Specification type */
|
|
16981
17240
|
export declare enum SpecificationTypes {
|
|
17241
|
+
/** Agentic completion */
|
|
17242
|
+
Agentic = "AGENTIC",
|
|
16982
17243
|
/** Content classification */
|
|
16983
17244
|
Classification = "CLASSIFICATION",
|
|
16984
17245
|
/** Prompt completion */
|
|
@@ -17014,6 +17275,8 @@ export type SpecificationUpdateInput = {
|
|
|
17014
17275
|
customInstructions?: InputMaybe<Scalars['String']['input']>;
|
|
17015
17276
|
/** The Deepseek model properties. */
|
|
17016
17277
|
deepseek?: InputMaybe<DeepseekModelPropertiesUpdateInput>;
|
|
17278
|
+
/** The strategy for including extracted facts in RAG context. */
|
|
17279
|
+
factStrategy?: InputMaybe<FactStrategyUpdateInput>;
|
|
17017
17280
|
/** The Google model properties. */
|
|
17018
17281
|
google?: InputMaybe<GoogleModelPropertiesUpdateInput>;
|
|
17019
17282
|
/** The strategy for GraphRAG retrieval. */
|
|
@@ -25468,6 +25731,55 @@ export type QueryConversationsQuery = {
|
|
|
25468
25731
|
}> | null;
|
|
25469
25732
|
} | null;
|
|
25470
25733
|
};
|
|
25734
|
+
export type RetrieveEntitiesMutationVariables = Exact<{
|
|
25735
|
+
prompt: Scalars['String']['input'];
|
|
25736
|
+
types?: InputMaybe<Array<ObservableTypes> | ObservableTypes>;
|
|
25737
|
+
searchType?: InputMaybe<SearchTypes>;
|
|
25738
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
25739
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
25740
|
+
}>;
|
|
25741
|
+
export type RetrieveEntitiesMutation = {
|
|
25742
|
+
__typename?: 'Mutation';
|
|
25743
|
+
retrieveEntities?: {
|
|
25744
|
+
__typename?: 'RetrievedEntityResults';
|
|
25745
|
+
results?: Array<{
|
|
25746
|
+
__typename?: 'RetrievedEntity';
|
|
25747
|
+
id: string;
|
|
25748
|
+
name?: string | null;
|
|
25749
|
+
type: ObservableTypes;
|
|
25750
|
+
relevance?: number | null;
|
|
25751
|
+
metadata?: string | null;
|
|
25752
|
+
} | null> | null;
|
|
25753
|
+
} | null;
|
|
25754
|
+
};
|
|
25755
|
+
export type RetrieveFactsMutationVariables = Exact<{
|
|
25756
|
+
prompt: Scalars['String']['input'];
|
|
25757
|
+
filter?: InputMaybe<FactFilter>;
|
|
25758
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
25759
|
+
}>;
|
|
25760
|
+
export type RetrieveFactsMutation = {
|
|
25761
|
+
__typename?: 'Mutation';
|
|
25762
|
+
retrieveFacts?: {
|
|
25763
|
+
__typename?: 'RetrievedFactResults';
|
|
25764
|
+
results?: Array<{
|
|
25765
|
+
__typename?: 'RetrievedFact';
|
|
25766
|
+
relevance?: number | null;
|
|
25767
|
+
fact: {
|
|
25768
|
+
__typename?: 'Fact';
|
|
25769
|
+
id: string;
|
|
25770
|
+
text: string;
|
|
25771
|
+
status?: FactStatus | null;
|
|
25772
|
+
validAt?: any | null;
|
|
25773
|
+
invalidAt?: any | null;
|
|
25774
|
+
state: EntityState;
|
|
25775
|
+
};
|
|
25776
|
+
content?: {
|
|
25777
|
+
__typename?: 'EntityReference';
|
|
25778
|
+
id: string;
|
|
25779
|
+
} | null;
|
|
25780
|
+
} | null> | null;
|
|
25781
|
+
} | null;
|
|
25782
|
+
};
|
|
25471
25783
|
export type RetrieveSourcesMutationVariables = Exact<{
|
|
25472
25784
|
prompt: Scalars['String']['input'];
|
|
25473
25785
|
filter?: InputMaybe<ContentFilter>;
|
|
@@ -26532,6 +26844,95 @@ export type UpdateEventMutation = {
|
|
|
26532
26844
|
name: string;
|
|
26533
26845
|
} | null;
|
|
26534
26846
|
};
|
|
26847
|
+
export type CountFactsQueryVariables = Exact<{
|
|
26848
|
+
filter?: InputMaybe<FactFilter>;
|
|
26849
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
26850
|
+
}>;
|
|
26851
|
+
export type CountFactsQuery = {
|
|
26852
|
+
__typename?: 'Query';
|
|
26853
|
+
countFacts?: {
|
|
26854
|
+
__typename?: 'CountResult';
|
|
26855
|
+
count?: any | null;
|
|
26856
|
+
} | null;
|
|
26857
|
+
};
|
|
26858
|
+
export type CreateFactMutationVariables = Exact<{
|
|
26859
|
+
fact: FactInput;
|
|
26860
|
+
}>;
|
|
26861
|
+
export type CreateFactMutation = {
|
|
26862
|
+
__typename?: 'Mutation';
|
|
26863
|
+
createFact?: {
|
|
26864
|
+
__typename?: 'Fact';
|
|
26865
|
+
id: string;
|
|
26866
|
+
state: EntityState;
|
|
26867
|
+
} | null;
|
|
26868
|
+
};
|
|
26869
|
+
export type DeleteFactMutationVariables = Exact<{
|
|
26870
|
+
id: Scalars['ID']['input'];
|
|
26871
|
+
}>;
|
|
26872
|
+
export type DeleteFactMutation = {
|
|
26873
|
+
__typename?: 'Mutation';
|
|
26874
|
+
deleteFact?: {
|
|
26875
|
+
__typename?: 'Fact';
|
|
26876
|
+
id: string;
|
|
26877
|
+
state: EntityState;
|
|
26878
|
+
} | null;
|
|
26879
|
+
};
|
|
26880
|
+
export type GetFactQueryVariables = Exact<{
|
|
26881
|
+
id: Scalars['ID']['input'];
|
|
26882
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
26883
|
+
}>;
|
|
26884
|
+
export type GetFactQuery = {
|
|
26885
|
+
__typename?: 'Query';
|
|
26886
|
+
fact?: {
|
|
26887
|
+
__typename?: 'Fact';
|
|
26888
|
+
id: string;
|
|
26889
|
+
creationDate: any;
|
|
26890
|
+
text: string;
|
|
26891
|
+
status?: FactStatus | null;
|
|
26892
|
+
validAt?: any | null;
|
|
26893
|
+
invalidAt?: any | null;
|
|
26894
|
+
relevance?: number | null;
|
|
26895
|
+
owner: {
|
|
26896
|
+
__typename?: 'Owner';
|
|
26897
|
+
id: string;
|
|
26898
|
+
};
|
|
26899
|
+
} | null;
|
|
26900
|
+
};
|
|
26901
|
+
export type QueryFactsQueryVariables = Exact<{
|
|
26902
|
+
filter?: InputMaybe<FactFilter>;
|
|
26903
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
26904
|
+
}>;
|
|
26905
|
+
export type QueryFactsQuery = {
|
|
26906
|
+
__typename?: 'Query';
|
|
26907
|
+
facts?: {
|
|
26908
|
+
__typename?: 'FactResults';
|
|
26909
|
+
results?: Array<{
|
|
26910
|
+
__typename?: 'Fact';
|
|
26911
|
+
id: string;
|
|
26912
|
+
creationDate: any;
|
|
26913
|
+
text: string;
|
|
26914
|
+
status?: FactStatus | null;
|
|
26915
|
+
validAt?: any | null;
|
|
26916
|
+
invalidAt?: any | null;
|
|
26917
|
+
relevance?: number | null;
|
|
26918
|
+
owner: {
|
|
26919
|
+
__typename?: 'Owner';
|
|
26920
|
+
id: string;
|
|
26921
|
+
};
|
|
26922
|
+
} | null> | null;
|
|
26923
|
+
} | null;
|
|
26924
|
+
};
|
|
26925
|
+
export type UpdateFactMutationVariables = Exact<{
|
|
26926
|
+
fact: FactUpdateInput;
|
|
26927
|
+
}>;
|
|
26928
|
+
export type UpdateFactMutation = {
|
|
26929
|
+
__typename?: 'Mutation';
|
|
26930
|
+
updateFact?: {
|
|
26931
|
+
__typename?: 'Fact';
|
|
26932
|
+
id: string;
|
|
26933
|
+
state: EntityState;
|
|
26934
|
+
} | null;
|
|
26935
|
+
};
|
|
26535
26936
|
export type CountFeedsQueryVariables = Exact<{
|
|
26536
26937
|
filter?: InputMaybe<FeedFilter>;
|
|
26537
26938
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -26827,6 +27228,8 @@ export type GetFeedQuery = {
|
|
|
26827
27228
|
uri?: any | null;
|
|
26828
27229
|
repositoryOwner: string;
|
|
26829
27230
|
repositoryName: string;
|
|
27231
|
+
clientId?: string | null;
|
|
27232
|
+
clientSecret?: string | null;
|
|
26830
27233
|
refreshToken?: string | null;
|
|
26831
27234
|
personalAccessToken?: string | null;
|
|
26832
27235
|
connector?: {
|
|
@@ -26865,6 +27268,8 @@ export type GetFeedQuery = {
|
|
|
26865
27268
|
uri?: any | null;
|
|
26866
27269
|
repositoryOwner: string;
|
|
26867
27270
|
repositoryName: string;
|
|
27271
|
+
clientId?: string | null;
|
|
27272
|
+
clientSecret?: string | null;
|
|
26868
27273
|
refreshToken?: string | null;
|
|
26869
27274
|
personalAccessToken?: string | null;
|
|
26870
27275
|
connector?: {
|
|
@@ -26883,6 +27288,8 @@ export type GetFeedQuery = {
|
|
|
26883
27288
|
uri?: any | null;
|
|
26884
27289
|
repositoryOwner: string;
|
|
26885
27290
|
repositoryName: string;
|
|
27291
|
+
clientId?: string | null;
|
|
27292
|
+
clientSecret?: string | null;
|
|
26886
27293
|
refreshToken?: string | null;
|
|
26887
27294
|
personalAccessToken?: string | null;
|
|
26888
27295
|
connector?: {
|
|
@@ -27040,6 +27447,7 @@ export type GetFeedQuery = {
|
|
|
27040
27447
|
refreshToken?: string | null;
|
|
27041
27448
|
teamId: string;
|
|
27042
27449
|
channelId: string;
|
|
27450
|
+
includeAttachments?: boolean | null;
|
|
27043
27451
|
connector?: {
|
|
27044
27452
|
__typename?: 'EntityReference';
|
|
27045
27453
|
id: string;
|
|
@@ -27371,6 +27779,8 @@ export type QueryFeedsQuery = {
|
|
|
27371
27779
|
uri?: any | null;
|
|
27372
27780
|
repositoryOwner: string;
|
|
27373
27781
|
repositoryName: string;
|
|
27782
|
+
clientId?: string | null;
|
|
27783
|
+
clientSecret?: string | null;
|
|
27374
27784
|
refreshToken?: string | null;
|
|
27375
27785
|
personalAccessToken?: string | null;
|
|
27376
27786
|
connector?: {
|
|
@@ -27409,6 +27819,8 @@ export type QueryFeedsQuery = {
|
|
|
27409
27819
|
uri?: any | null;
|
|
27410
27820
|
repositoryOwner: string;
|
|
27411
27821
|
repositoryName: string;
|
|
27822
|
+
clientId?: string | null;
|
|
27823
|
+
clientSecret?: string | null;
|
|
27412
27824
|
refreshToken?: string | null;
|
|
27413
27825
|
personalAccessToken?: string | null;
|
|
27414
27826
|
connector?: {
|
|
@@ -27427,6 +27839,8 @@ export type QueryFeedsQuery = {
|
|
|
27427
27839
|
uri?: any | null;
|
|
27428
27840
|
repositoryOwner: string;
|
|
27429
27841
|
repositoryName: string;
|
|
27842
|
+
clientId?: string | null;
|
|
27843
|
+
clientSecret?: string | null;
|
|
27430
27844
|
refreshToken?: string | null;
|
|
27431
27845
|
personalAccessToken?: string | null;
|
|
27432
27846
|
connector?: {
|
|
@@ -27584,6 +27998,7 @@ export type QueryFeedsQuery = {
|
|
|
27584
27998
|
refreshToken?: string | null;
|
|
27585
27999
|
teamId: string;
|
|
27586
28000
|
channelId: string;
|
|
28001
|
+
includeAttachments?: boolean | null;
|
|
27587
28002
|
connector?: {
|
|
27588
28003
|
__typename?: 'EntityReference';
|
|
27589
28004
|
id: string;
|
|
@@ -34832,6 +35247,10 @@ export type GetSpecificationQuery = {
|
|
|
34832
35247
|
generateGraph?: boolean | null;
|
|
34833
35248
|
observableLimit?: number | null;
|
|
34834
35249
|
} | null;
|
|
35250
|
+
factStrategy?: {
|
|
35251
|
+
__typename?: 'FactStrategy';
|
|
35252
|
+
factLimit?: number | null;
|
|
35253
|
+
} | null;
|
|
34835
35254
|
revisionStrategy?: {
|
|
34836
35255
|
__typename?: 'RevisionStrategy';
|
|
34837
35256
|
type: RevisionStrategyTypes;
|
|
@@ -35256,6 +35675,10 @@ export type QuerySpecificationsQuery = {
|
|
|
35256
35675
|
generateGraph?: boolean | null;
|
|
35257
35676
|
observableLimit?: number | null;
|
|
35258
35677
|
} | null;
|
|
35678
|
+
factStrategy?: {
|
|
35679
|
+
__typename?: 'FactStrategy';
|
|
35680
|
+
factLimit?: number | null;
|
|
35681
|
+
} | null;
|
|
35259
35682
|
revisionStrategy?: {
|
|
35260
35683
|
__typename?: 'RevisionStrategy';
|
|
35261
35684
|
type: RevisionStrategyTypes;
|
|
@@ -37309,6 +37732,7 @@ export type CreateWorkflowMutation = {
|
|
|
37309
37732
|
tokenThreshold?: number | null;
|
|
37310
37733
|
timeBudget?: any | null;
|
|
37311
37734
|
entityBudget?: number | null;
|
|
37735
|
+
extractionType?: ExtractionTypes | null;
|
|
37312
37736
|
specification?: {
|
|
37313
37737
|
__typename?: 'EntityReference';
|
|
37314
37738
|
id: string;
|
|
@@ -37650,6 +38074,7 @@ export type GetWorkflowQuery = {
|
|
|
37650
38074
|
tokenThreshold?: number | null;
|
|
37651
38075
|
timeBudget?: any | null;
|
|
37652
38076
|
entityBudget?: number | null;
|
|
38077
|
+
extractionType?: ExtractionTypes | null;
|
|
37653
38078
|
specification?: {
|
|
37654
38079
|
__typename?: 'EntityReference';
|
|
37655
38080
|
id: string;
|
|
@@ -37958,6 +38383,7 @@ export type QueryWorkflowsQuery = {
|
|
|
37958
38383
|
tokenThreshold?: number | null;
|
|
37959
38384
|
timeBudget?: any | null;
|
|
37960
38385
|
entityBudget?: number | null;
|
|
38386
|
+
extractionType?: ExtractionTypes | null;
|
|
37961
38387
|
specification?: {
|
|
37962
38388
|
__typename?: 'EntityReference';
|
|
37963
38389
|
id: string;
|
|
@@ -38257,6 +38683,7 @@ export type UpdateWorkflowMutation = {
|
|
|
38257
38683
|
tokenThreshold?: number | null;
|
|
38258
38684
|
timeBudget?: any | null;
|
|
38259
38685
|
entityBudget?: number | null;
|
|
38686
|
+
extractionType?: ExtractionTypes | null;
|
|
38260
38687
|
specification?: {
|
|
38261
38688
|
__typename?: 'EntityReference';
|
|
38262
38689
|
id: string;
|
|
@@ -38555,6 +38982,7 @@ export type UpsertWorkflowMutation = {
|
|
|
38555
38982
|
tokenThreshold?: number | null;
|
|
38556
38983
|
timeBudget?: any | null;
|
|
38557
38984
|
entityBudget?: number | null;
|
|
38985
|
+
extractionType?: ExtractionTypes | null;
|
|
38558
38986
|
specification?: {
|
|
38559
38987
|
__typename?: 'EntityReference';
|
|
38560
38988
|
id: string;
|
|
@@ -796,6 +796,8 @@ export var EntityTypes;
|
|
|
796
796
|
EntityTypes["Conversation"] = "CONVERSATION";
|
|
797
797
|
/** Event */
|
|
798
798
|
EntityTypes["Event"] = "EVENT";
|
|
799
|
+
/** Fact */
|
|
800
|
+
EntityTypes["Fact"] = "FACT";
|
|
799
801
|
/** Feed */
|
|
800
802
|
EntityTypes["Feed"] = "FEED";
|
|
801
803
|
/** Investment */
|
|
@@ -873,6 +875,14 @@ export var EventFacetTypes;
|
|
|
873
875
|
/** Creation Date */
|
|
874
876
|
EventFacetTypes["CreationDate"] = "CREATION_DATE";
|
|
875
877
|
})(EventFacetTypes || (EventFacetTypes = {}));
|
|
878
|
+
/** The type of extraction to perform. */
|
|
879
|
+
export var ExtractionTypes;
|
|
880
|
+
(function (ExtractionTypes) {
|
|
881
|
+
/** Extract observable entities (Person, Organization, Place, etc.). */
|
|
882
|
+
ExtractionTypes["Entities"] = "ENTITIES";
|
|
883
|
+
/** Extract factual assertions and claims from content. */
|
|
884
|
+
ExtractionTypes["Facts"] = "FACTS";
|
|
885
|
+
})(ExtractionTypes || (ExtractionTypes = {}));
|
|
876
886
|
/** Facet value types */
|
|
877
887
|
export var FacetValueTypes;
|
|
878
888
|
(function (FacetValueTypes) {
|
|
@@ -883,6 +893,18 @@ export var FacetValueTypes;
|
|
|
883
893
|
/** Facet by value */
|
|
884
894
|
FacetValueTypes["Value"] = "VALUE";
|
|
885
895
|
})(FacetValueTypes || (FacetValueTypes = {}));
|
|
896
|
+
/** The resolution status of a fact. */
|
|
897
|
+
export var FactStatus;
|
|
898
|
+
(function (FactStatus) {
|
|
899
|
+
/** Inactive or archived fact. */
|
|
900
|
+
FactStatus["Archived"] = "ARCHIVED";
|
|
901
|
+
/** Authoritative version of the fact. */
|
|
902
|
+
FactStatus["Canonical"] = "CANONICAL";
|
|
903
|
+
/** Duplicate of a canonical fact. */
|
|
904
|
+
FactStatus["Duplicate"] = "DUPLICATE";
|
|
905
|
+
/** Replaced by a newer fact. */
|
|
906
|
+
FactStatus["Superseded"] = "SUPERSEDED";
|
|
907
|
+
})(FactStatus || (FactStatus = {}));
|
|
886
908
|
/** Feed connector type */
|
|
887
909
|
export var FeedConnectorTypes;
|
|
888
910
|
(function (FeedConnectorTypes) {
|
|
@@ -2317,6 +2339,8 @@ export var SoftwareFacetTypes;
|
|
|
2317
2339
|
/** Specification type */
|
|
2318
2340
|
export var SpecificationTypes;
|
|
2319
2341
|
(function (SpecificationTypes) {
|
|
2342
|
+
/** Agentic completion */
|
|
2343
|
+
SpecificationTypes["Agentic"] = "AGENTIC";
|
|
2320
2344
|
/** Content classification */
|
|
2321
2345
|
SpecificationTypes["Classification"] = "CLASSIFICATION";
|
|
2322
2346
|
/** Prompt completion */
|