graphlit-client 1.0.20240420001 → 1.0.20240424001
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.
@@ -9,6 +9,7 @@ export declare const QueryAlerts: import("graphql").DocumentNode;
|
|
9
9
|
export declare const UpdateAlert: import("graphql").DocumentNode;
|
10
10
|
export declare const AddContentsToCollections: import("graphql").DocumentNode;
|
11
11
|
export declare const CreateCollection: import("graphql").DocumentNode;
|
12
|
+
export declare const DeleteAllCollections: import("graphql").DocumentNode;
|
12
13
|
export declare const DeleteCollection: import("graphql").DocumentNode;
|
13
14
|
export declare const DeleteCollections: import("graphql").DocumentNode;
|
14
15
|
export declare const GetCollection: import("graphql").DocumentNode;
|
@@ -25,6 +26,7 @@ export declare const IngestText: import("graphql").DocumentNode;
|
|
25
26
|
export declare const IngestUri: import("graphql").DocumentNode;
|
26
27
|
export declare const IsContentDone: import("graphql").DocumentNode;
|
27
28
|
export declare const PublishContents: import("graphql").DocumentNode;
|
29
|
+
export declare const PublishText: import("graphql").DocumentNode;
|
28
30
|
export declare const QueryContentFacets: import("graphql").DocumentNode;
|
29
31
|
export declare const QueryContents: import("graphql").DocumentNode;
|
30
32
|
export declare const SummarizeContents: import("graphql").DocumentNode;
|
@@ -52,6 +54,7 @@ export declare const IsFeedDone: import("graphql").DocumentNode;
|
|
52
54
|
export declare const QueryFeeds: import("graphql").DocumentNode;
|
53
55
|
export declare const UpdateFeed: import("graphql").DocumentNode;
|
54
56
|
export declare const Credits: import("graphql").DocumentNode;
|
57
|
+
export declare const GetProject: import("graphql").DocumentNode;
|
55
58
|
export declare const LookupCredits: import("graphql").DocumentNode;
|
56
59
|
export declare const LookupUsage: import("graphql").DocumentNode;
|
57
60
|
export declare const Project: import("graphql").DocumentNode;
|
@@ -3,8 +3,8 @@ 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.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.UpdateSpecification = exports.QuerySpecifications = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecification = exports.CreateSpecification = exports.Usage = exports.UpdateProject = exports.Project = exports.LookupUsage = exports.LookupCredits = exports.Credits = exports.UpdateFeed = exports.QueryFeeds = exports.IsFeedDone = void 0;
|
6
|
+
exports.DisableFeed = exports.DeleteFeeds = exports.DeleteFeed = exports.DeleteAllFeeds = exports.CreateFeed = exports.UpdateConversation = exports.SuggestConversation = exports.QueryConversations = exports.PublishConversation = exports.PromptConversation = exports.GetConversation = exports.DeleteConversations = exports.DeleteConversation = exports.DeleteAllConversations = exports.CreateConversation = exports.CloseConversation = exports.ClearConversation = exports.UpdateContent = exports.SummarizeContents = exports.QueryContents = exports.QueryContentFacets = exports.PublishText = exports.PublishContents = exports.IsContentDone = exports.IngestUri = exports.IngestText = exports.IngestEncodedFile = exports.GetContent = exports.ExtractContents = exports.DeleteContents = exports.DeleteContent = exports.DeleteAllContents = exports.UpdateCollection = exports.RemoveContentsFromCollection = exports.QueryCollections = exports.GetCollection = exports.DeleteCollections = exports.DeleteCollection = exports.DeleteAllCollections = exports.CreateCollection = exports.AddContentsToCollections = exports.UpdateAlert = exports.QueryAlerts = exports.GetAlert = exports.EnableAlert = exports.DisableAlert = exports.DeleteAllAlerts = exports.DeleteAlerts = exports.DeleteAlert = exports.CreateAlert = void 0;
|
7
|
+
exports.UpdateWorkflow = exports.QueryWorkflows = exports.GetWorkflow = exports.DeleteWorkflows = exports.DeleteWorkflow = exports.DeleteAllWorkflows = exports.CreateWorkflow = exports.UpdateSpecification = exports.QuerySpecifications = exports.PromptSpecifications = exports.GetSpecification = exports.DeleteSpecification = exports.CreateSpecification = exports.Usage = exports.UpdateProject = exports.Project = exports.LookupUsage = exports.LookupCredits = exports.GetProject = exports.Credits = exports.UpdateFeed = exports.QueryFeeds = exports.IsFeedDone = exports.GetFeed = exports.EnableFeed = void 0;
|
8
8
|
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
9
9
|
exports.CreateAlert = (0, graphql_tag_1.default) `
|
10
10
|
mutation CreateAlert($alert: AlertInput!, $correlationId: String) {
|
@@ -232,6 +232,14 @@ exports.CreateCollection = (0, graphql_tag_1.default) `
|
|
232
232
|
}
|
233
233
|
}
|
234
234
|
`;
|
235
|
+
exports.DeleteAllCollections = (0, graphql_tag_1.default) `
|
236
|
+
mutation DeleteAllCollections {
|
237
|
+
deleteAllCollections {
|
238
|
+
id
|
239
|
+
state
|
240
|
+
}
|
241
|
+
}
|
242
|
+
`;
|
235
243
|
exports.DeleteCollection = (0, graphql_tag_1.default) `
|
236
244
|
mutation DeleteCollection($id: ID!) {
|
237
245
|
deleteCollection(id: $id) {
|
@@ -521,13 +529,14 @@ exports.GetContent = (0, graphql_tag_1.default) `
|
|
521
529
|
}
|
522
530
|
`;
|
523
531
|
exports.IngestEncodedFile = (0, graphql_tag_1.default) `
|
524
|
-
mutation IngestEncodedFile($name: String!, $data: String!, $mimeType: String!, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $correlationId: String) {
|
532
|
+
mutation IngestEncodedFile($name: String!, $data: String!, $mimeType: String!, $id: ID, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
|
525
533
|
ingestEncodedFile(
|
526
534
|
name: $name
|
527
535
|
data: $data
|
528
536
|
mimeType: $mimeType
|
529
537
|
id: $id
|
530
538
|
isSynchronous: $isSynchronous
|
539
|
+
collections: $collections
|
531
540
|
workflow: $workflow
|
532
541
|
correlationId: $correlationId
|
533
542
|
) {
|
@@ -542,7 +551,7 @@ exports.IngestEncodedFile = (0, graphql_tag_1.default) `
|
|
542
551
|
}
|
543
552
|
`;
|
544
553
|
exports.IngestText = (0, graphql_tag_1.default) `
|
545
|
-
mutation IngestText($name: String!, $text: String!, $textType: TextTypes, $uri: URL, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $correlationId: String) {
|
554
|
+
mutation IngestText($name: String!, $text: String!, $textType: TextTypes, $uri: URL, $id: ID, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
|
546
555
|
ingestText(
|
547
556
|
name: $name
|
548
557
|
text: $text
|
@@ -550,6 +559,7 @@ exports.IngestText = (0, graphql_tag_1.default) `
|
|
550
559
|
uri: $uri
|
551
560
|
id: $id
|
552
561
|
isSynchronous: $isSynchronous
|
562
|
+
collections: $collections
|
553
563
|
workflow: $workflow
|
554
564
|
correlationId: $correlationId
|
555
565
|
) {
|
@@ -564,11 +574,12 @@ exports.IngestText = (0, graphql_tag_1.default) `
|
|
564
574
|
}
|
565
575
|
`;
|
566
576
|
exports.IngestUri = (0, graphql_tag_1.default) `
|
567
|
-
mutation IngestUri($name: String, $uri: URL!, $id: ID, $isSynchronous: Boolean, $workflow: EntityReferenceInput, $correlationId: String) {
|
577
|
+
mutation IngestUri($name: String, $uri: URL!, $id: ID, $isSynchronous: Boolean, $collections: [EntityReferenceInput!], $workflow: EntityReferenceInput, $correlationId: String) {
|
568
578
|
ingestUri(
|
569
579
|
name: $name
|
570
580
|
uri: $uri
|
571
581
|
id: $id
|
582
|
+
collections: $collections
|
572
583
|
workflow: $workflow
|
573
584
|
isSynchronous: $isSynchronous
|
574
585
|
correlationId: $correlationId
|
@@ -591,7 +602,7 @@ exports.IsContentDone = (0, graphql_tag_1.default) `
|
|
591
602
|
}
|
592
603
|
`;
|
593
604
|
exports.PublishContents = (0, graphql_tag_1.default) `
|
594
|
-
mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $correlationId: String, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput) {
|
605
|
+
mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $correlationId: String, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput, $isSynchronous: Boolean!) {
|
595
606
|
publishContents(
|
596
607
|
summaryPrompt: $summaryPrompt
|
597
608
|
publishPrompt: $publishPrompt
|
@@ -602,6 +613,31 @@ exports.PublishContents = (0, graphql_tag_1.default) `
|
|
602
613
|
summarySpecification: $summarySpecification
|
603
614
|
publishSpecification: $publishSpecification
|
604
615
|
workflow: $workflow
|
616
|
+
isSynchronous: $isSynchronous
|
617
|
+
) {
|
618
|
+
id
|
619
|
+
name
|
620
|
+
state
|
621
|
+
type
|
622
|
+
fileType
|
623
|
+
mimeType
|
624
|
+
uri
|
625
|
+
textUri
|
626
|
+
audioUri
|
627
|
+
markdown
|
628
|
+
}
|
629
|
+
}
|
630
|
+
`;
|
631
|
+
exports.PublishText = (0, graphql_tag_1.default) `
|
632
|
+
mutation PublishText($text: String!, $textType: TextTypes, $connector: ContentPublishingConnectorInput!, $correlationId: String, $name: String, $workflow: EntityReferenceInput, $isSynchronous: Boolean!) {
|
633
|
+
publishText(
|
634
|
+
text: $text
|
635
|
+
textType: $textType
|
636
|
+
connector: $connector
|
637
|
+
correlationId: $correlationId
|
638
|
+
name: $name
|
639
|
+
workflow: $workflow
|
640
|
+
isSynchronous: $isSynchronous
|
605
641
|
) {
|
606
642
|
id
|
607
643
|
name
|
@@ -975,6 +1011,7 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
|
|
975
1011
|
citations {
|
976
1012
|
content {
|
977
1013
|
id
|
1014
|
+
name
|
978
1015
|
type
|
979
1016
|
fileType
|
980
1017
|
fileName
|
@@ -1505,6 +1542,36 @@ exports.Credits = (0, graphql_tag_1.default) `
|
|
1505
1542
|
}
|
1506
1543
|
}
|
1507
1544
|
`;
|
1545
|
+
exports.GetProject = (0, graphql_tag_1.default) `
|
1546
|
+
query GetProject {
|
1547
|
+
project {
|
1548
|
+
id
|
1549
|
+
name
|
1550
|
+
creationDate
|
1551
|
+
modifiedDate
|
1552
|
+
state
|
1553
|
+
environmentType
|
1554
|
+
platform
|
1555
|
+
region
|
1556
|
+
workflow {
|
1557
|
+
id
|
1558
|
+
name
|
1559
|
+
}
|
1560
|
+
specification {
|
1561
|
+
id
|
1562
|
+
name
|
1563
|
+
}
|
1564
|
+
quota {
|
1565
|
+
storage
|
1566
|
+
contents
|
1567
|
+
feeds
|
1568
|
+
posts
|
1569
|
+
conversations
|
1570
|
+
}
|
1571
|
+
callbackUri
|
1572
|
+
}
|
1573
|
+
}
|
1574
|
+
`;
|
1508
1575
|
exports.LookupCredits = (0, graphql_tag_1.default) `
|
1509
1576
|
query LookupCredits($correlationId: String!) {
|
1510
1577
|
lookupCredits(correlationId: $correlationId) {
|
@@ -787,6 +787,71 @@ export type CategoryUpdateInput = {
|
|
787
787
|
/** The name of the category. */
|
788
788
|
name?: InputMaybe<Scalars['String']['input']>;
|
789
789
|
};
|
790
|
+
/** Represents Cohere model properties. */
|
791
|
+
export type CohereModelProperties = {
|
792
|
+
__typename?: 'CohereModelProperties';
|
793
|
+
/** The limit of tokens generated by prompt completion. */
|
794
|
+
completionTokenLimit?: Maybe<Scalars['Int']['output']>;
|
795
|
+
/** The Cohere API key, if using developer's own account. */
|
796
|
+
key?: Maybe<Scalars['String']['output']>;
|
797
|
+
/** The Cohere model, or custom, when using developer's own account. */
|
798
|
+
model: CohereModels;
|
799
|
+
/** The Cohere model name, if using developer's own account. */
|
800
|
+
modelName?: Maybe<Scalars['String']['output']>;
|
801
|
+
/** The model token probability. */
|
802
|
+
probability?: Maybe<Scalars['Float']['output']>;
|
803
|
+
/** The model temperature. */
|
804
|
+
temperature?: Maybe<Scalars['Float']['output']>;
|
805
|
+
/** The number of tokens which can provided to the Cohere model, if using developer's own account. */
|
806
|
+
tokenLimit?: Maybe<Scalars['Int']['output']>;
|
807
|
+
};
|
808
|
+
/** Represents Cohere model properties. */
|
809
|
+
export type CohereModelPropertiesInput = {
|
810
|
+
/** The limit of tokens generated by prompt completion. */
|
811
|
+
completionTokenLimit?: InputMaybe<Scalars['Int']['input']>;
|
812
|
+
/** The Cohere API key, if using developer's own account. */
|
813
|
+
key?: InputMaybe<Scalars['String']['input']>;
|
814
|
+
/** The Cohere model, or custom, when using developer's own account. */
|
815
|
+
model: CohereModels;
|
816
|
+
/** The Cohere model name, if using developer's own account. */
|
817
|
+
modelName?: InputMaybe<Scalars['String']['input']>;
|
818
|
+
/** The model token probability. */
|
819
|
+
probability?: InputMaybe<Scalars['Float']['input']>;
|
820
|
+
/** The model temperature. */
|
821
|
+
temperature?: InputMaybe<Scalars['Float']['input']>;
|
822
|
+
/** The number of tokens which can provided to the Cohere model, if using developer's own account. */
|
823
|
+
tokenLimit?: InputMaybe<Scalars['Int']['input']>;
|
824
|
+
};
|
825
|
+
/** Represents Cohere model properties. */
|
826
|
+
export type CohereModelPropertiesUpdateInput = {
|
827
|
+
/** The limit of tokens generated by prompt completion. */
|
828
|
+
completionTokenLimit?: InputMaybe<Scalars['Int']['input']>;
|
829
|
+
/** The Cohere API key, if using developer's own account. */
|
830
|
+
key?: InputMaybe<Scalars['String']['input']>;
|
831
|
+
/** The Cohere model, or custom, when using developer's own account. */
|
832
|
+
model: CohereModels;
|
833
|
+
/** The Cohere model name, if using developer's own account. */
|
834
|
+
modelName?: InputMaybe<Scalars['String']['input']>;
|
835
|
+
/** The model token probability. */
|
836
|
+
probability?: InputMaybe<Scalars['Float']['input']>;
|
837
|
+
/** The model temperature. */
|
838
|
+
temperature?: InputMaybe<Scalars['Float']['input']>;
|
839
|
+
/** The number of tokens which can provided to the Cohere model, if using developer's own account. */
|
840
|
+
tokenLimit?: InputMaybe<Scalars['Int']['input']>;
|
841
|
+
};
|
842
|
+
/** Cohere model type */
|
843
|
+
export declare enum CohereModels {
|
844
|
+
/** Command R */
|
845
|
+
CommandR = "COMMAND_R",
|
846
|
+
/** Command R+ */
|
847
|
+
CommandRPlus = "COMMAND_R_PLUS",
|
848
|
+
/** Developer-specified model */
|
849
|
+
Custom = "CUSTOM",
|
850
|
+
/** Embed English 3.0 */
|
851
|
+
EmbedEnglish_3_0 = "EMBED_ENGLISH_3_0",
|
852
|
+
/** Embed Multilingual 3.0 */
|
853
|
+
EmbedMultilingual_3_0 = "EMBED_MULTILINGUAL_3_0"
|
854
|
+
}
|
790
855
|
/** Represents a collection. */
|
791
856
|
export type Collection = {
|
792
857
|
__typename?: 'Collection';
|
@@ -2850,6 +2915,10 @@ export type GroqModelPropertiesUpdateInput = {
|
|
2850
2915
|
export declare enum GroqModels {
|
2851
2916
|
/** Developer-specified model */
|
2852
2917
|
Custom = "CUSTOM",
|
2918
|
+
/** LLaMA3 8b */
|
2919
|
+
Llama_3_8B = "LLAMA_3_8B",
|
2920
|
+
/** LLaMA3 70b */
|
2921
|
+
Llama_3_70B = "LLAMA_3_70B",
|
2853
2922
|
/** Mixtral 8x7b Instruct */
|
2854
2923
|
Mixtral_8X7BInstruct = "MIXTRAL_8X7B_INSTRUCT"
|
2855
2924
|
}
|
@@ -3711,6 +3780,8 @@ export type Mutation = {
|
|
3711
3780
|
deleteAlerts?: Maybe<Array<Maybe<Alert>>>;
|
3712
3781
|
/** Bulk deletes alerts based on the provided filter criteria. */
|
3713
3782
|
deleteAllAlerts?: Maybe<Array<Maybe<Alert>>>;
|
3783
|
+
/** Bulk deletes collections based on the provided filter criteria. */
|
3784
|
+
deleteAllCollections?: Maybe<Array<Maybe<Collection>>>;
|
3714
3785
|
/** Bulk deletes content based on the provided filter criteria. */
|
3715
3786
|
deleteAllContents?: Maybe<Array<Maybe<Content>>>;
|
3716
3787
|
/** Bulk deletes conversations based on the provided filter criteria. */
|
@@ -3813,10 +3884,12 @@ export type Mutation = {
|
|
3813
3884
|
promptConversation?: Maybe<PromptConversation>;
|
3814
3885
|
/** Prompts one or more LLM specifications, 10 maximum. */
|
3815
3886
|
promptSpecifications?: Maybe<Array<Maybe<PromptCompletion>>>;
|
3816
|
-
/** Publish contents based on the provided filter criteria. */
|
3887
|
+
/** Publish contents based on the provided filter criteria into different content format. */
|
3817
3888
|
publishContents?: Maybe<Content>;
|
3818
3889
|
/** Publish conversation. */
|
3819
3890
|
publishConversation?: Maybe<Content>;
|
3891
|
+
/** Publish text into different content format. */
|
3892
|
+
publishText?: Maybe<Content>;
|
3820
3893
|
/**
|
3821
3894
|
* Removes contents from a collection.
|
3822
3895
|
* @deprecated Use removeContentsFromCollection instead.
|
@@ -3948,6 +4021,10 @@ export type MutationDeleteAlertsArgs = {
|
|
3948
4021
|
export type MutationDeleteAllAlertsArgs = {
|
3949
4022
|
filter?: InputMaybe<AlertFilter>;
|
3950
4023
|
};
|
4024
|
+
export type MutationDeleteAllCollectionsArgs = {
|
4025
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
4026
|
+
filter?: InputMaybe<CollectionFilter>;
|
4027
|
+
};
|
3951
4028
|
export type MutationDeleteAllContentsArgs = {
|
3952
4029
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
3953
4030
|
filter?: InputMaybe<ContentFilter>;
|
@@ -4139,6 +4216,7 @@ export type MutationPublishContentsArgs = {
|
|
4139
4216
|
connector: ContentPublishingConnectorInput;
|
4140
4217
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
4141
4218
|
filter?: InputMaybe<ContentFilter>;
|
4219
|
+
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
4142
4220
|
name?: InputMaybe<Scalars['String']['input']>;
|
4143
4221
|
publishPrompt: Scalars['String']['input'];
|
4144
4222
|
publishSpecification?: InputMaybe<EntityReferenceInput>;
|
@@ -4153,6 +4231,15 @@ export type MutationPublishConversationArgs = {
|
|
4153
4231
|
name?: InputMaybe<Scalars['String']['input']>;
|
4154
4232
|
workflow?: InputMaybe<EntityReferenceInput>;
|
4155
4233
|
};
|
4234
|
+
export type MutationPublishTextArgs = {
|
4235
|
+
connector: ContentPublishingConnectorInput;
|
4236
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
4237
|
+
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
4238
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
4239
|
+
text: Scalars['String']['input'];
|
4240
|
+
textType?: InputMaybe<TextTypes>;
|
4241
|
+
workflow?: InputMaybe<EntityReferenceInput>;
|
4242
|
+
};
|
4156
4243
|
export type MutationRemoveCollectionContentsArgs = {
|
4157
4244
|
contents: Array<EntityReferenceInput>;
|
4158
4245
|
id: Scalars['ID']['input'];
|
@@ -4460,6 +4547,8 @@ export type OpenAiImageExtractionProperties = {
|
|
4460
4547
|
__typename?: 'OpenAIImageExtractionProperties';
|
4461
4548
|
/** The confidence threshold for entity extraction. */
|
4462
4549
|
confidenceThreshold?: Maybe<Scalars['Float']['output']>;
|
4550
|
+
/** Custom instructions which are injected into the LLM prompt. */
|
4551
|
+
customInstructions?: Maybe<Scalars['String']['output']>;
|
4463
4552
|
/** The OpenAI vision detail mode. */
|
4464
4553
|
detailLevel?: Maybe<OpenAiVisionDetailLevels>;
|
4465
4554
|
};
|
@@ -4467,6 +4556,8 @@ export type OpenAiImageExtractionProperties = {
|
|
4467
4556
|
export type OpenAiImageExtractionPropertiesInput = {
|
4468
4557
|
/** The confidence threshold for entity extraction. */
|
4469
4558
|
confidenceThreshold?: InputMaybe<Scalars['Float']['input']>;
|
4559
|
+
/** Custom instructions which are injected into the LLM prompt. */
|
4560
|
+
customInstructions?: InputMaybe<Scalars['String']['input']>;
|
4470
4561
|
/** The OpenAI vision detail mode. */
|
4471
4562
|
detailLevel?: InputMaybe<OpenAiVisionDetailLevels>;
|
4472
4563
|
};
|
@@ -6388,21 +6479,28 @@ export type RepoUpdateInput = {
|
|
6388
6479
|
/** The repo URI. */
|
6389
6480
|
uri?: InputMaybe<Scalars['URL']['input']>;
|
6390
6481
|
};
|
6482
|
+
/** Reranking model service type */
|
6483
|
+
export declare enum RerankingModelServiceTypes {
|
6484
|
+
/** Cohere */
|
6485
|
+
Cohere = "COHERE",
|
6486
|
+
/** Jina */
|
6487
|
+
Jina = "JINA"
|
6488
|
+
}
|
6391
6489
|
/** Represents a reranking strategy. */
|
6392
6490
|
export type RerankingStrategy = {
|
6393
6491
|
__typename?: 'RerankingStrategy';
|
6394
6492
|
/** The content reranking service type. */
|
6395
|
-
serviceType:
|
6493
|
+
serviceType: RerankingModelServiceTypes;
|
6396
6494
|
};
|
6397
6495
|
/** Represents a reranking strategy. */
|
6398
6496
|
export type RerankingStrategyInput = {
|
6399
6497
|
/** The content reranking service type, optional. */
|
6400
|
-
serviceType:
|
6498
|
+
serviceType: RerankingModelServiceTypes;
|
6401
6499
|
};
|
6402
6500
|
/** Represents a reranking strategy. */
|
6403
6501
|
export type RerankingStrategyUpdateInput = {
|
6404
6502
|
/** The content reranking service type, optional. */
|
6405
|
-
serviceType?: InputMaybe<
|
6503
|
+
serviceType?: InputMaybe<RerankingModelServiceTypes>;
|
6406
6504
|
};
|
6407
6505
|
/** Resource connector type */
|
6408
6506
|
export declare enum ResourceConnectorTypes {
|
@@ -6416,14 +6514,14 @@ export declare enum ResourceConnectorTypes {
|
|
6416
6514
|
/** Represents a retrieval strategy. */
|
6417
6515
|
export type RetrievalStrategy = {
|
6418
6516
|
__typename?: 'RetrievalStrategy';
|
6419
|
-
/** The maximum number of content sources to provide with prompt context. Defaults to
|
6517
|
+
/** The maximum number of content sources to provide with prompt context. Defaults to 25. */
|
6420
6518
|
contentLimit?: Maybe<Scalars['Int']['output']>;
|
6421
6519
|
/** The retrieval strategy type. */
|
6422
6520
|
type: RetrievalStrategyTypes;
|
6423
6521
|
};
|
6424
6522
|
/** Represents a retrieval strategy. */
|
6425
6523
|
export type RetrievalStrategyInput = {
|
6426
|
-
/** The maximum number of content sources to provide with prompt context. Defaults to
|
6524
|
+
/** The maximum number of content sources to provide with prompt context. Defaults to 25. */
|
6427
6525
|
contentLimit?: InputMaybe<Scalars['Int']['input']>;
|
6428
6526
|
/** The retrieval strategy type. */
|
6429
6527
|
type: RetrievalStrategyTypes;
|
@@ -6439,7 +6537,7 @@ export declare enum RetrievalStrategyTypes {
|
|
6439
6537
|
}
|
6440
6538
|
/** Represents a retrieval strategy. */
|
6441
6539
|
export type RetrievalStrategyUpdateInput = {
|
6442
|
-
/** The maximum number of content sources to provide with prompt context. Defaults to
|
6540
|
+
/** The maximum number of content sources to provide with prompt context. Defaults to 25. */
|
6443
6541
|
contentLimit?: InputMaybe<Scalars['Int']['input']>;
|
6444
6542
|
/** The retrieval strategy type. */
|
6445
6543
|
type?: InputMaybe<RetrievalStrategyTypes>;
|
@@ -6811,6 +6909,8 @@ export type Specification = {
|
|
6811
6909
|
anthropic?: Maybe<AnthropicModelProperties>;
|
6812
6910
|
/** The Azure OpenAI model properties. */
|
6813
6911
|
azureOpenAI?: Maybe<AzureOpenAiModelProperties>;
|
6912
|
+
/** The Cohere model properties. */
|
6913
|
+
cohere?: Maybe<CohereModelProperties>;
|
6814
6914
|
/** The creation date of the specification. */
|
6815
6915
|
creationDate: Scalars['DateTime']['output'];
|
6816
6916
|
/** Custom guidance which is injected into the LLM conversation prompt. */
|
@@ -6827,7 +6927,7 @@ export type Specification = {
|
|
6827
6927
|
modifiedDate?: Maybe<Scalars['DateTime']['output']>;
|
6828
6928
|
/** The name of the specification. */
|
6829
6929
|
name: Scalars['String']['output'];
|
6830
|
-
/** The number of similar items to be returned from content search. Defaults to
|
6930
|
+
/** The number of similar items to be returned from content search. Defaults to 1000. */
|
6831
6931
|
numberSimilar?: Maybe<Scalars['Int']['output']>;
|
6832
6932
|
/** The OpenAI model properties. */
|
6833
6933
|
openAI?: Maybe<OpenAiModelProperties>;
|
@@ -6887,6 +6987,8 @@ export type SpecificationInput = {
|
|
6887
6987
|
anthropic?: InputMaybe<AnthropicModelPropertiesInput>;
|
6888
6988
|
/** The Azure OpenAI model properties. */
|
6889
6989
|
azureOpenAI?: InputMaybe<AzureOpenAiModelPropertiesInput>;
|
6990
|
+
/** The Cohere model properties. */
|
6991
|
+
cohere?: InputMaybe<CohereModelPropertiesInput>;
|
6890
6992
|
/** Custom guidance which is injected into the LLM conversation prompt. */
|
6891
6993
|
customGuidance?: InputMaybe<Scalars['String']['input']>;
|
6892
6994
|
/** Custom instructions which are injected into the LLM conversation prompt. */
|
@@ -6897,7 +6999,7 @@ export type SpecificationInput = {
|
|
6897
6999
|
mistral?: InputMaybe<MistralModelPropertiesInput>;
|
6898
7000
|
/** The name of the specification. */
|
6899
7001
|
name: Scalars['String']['input'];
|
6900
|
-
/** The number of similar items to be returned from content search. Defaults to
|
7002
|
+
/** The number of similar items to be returned from content search. Defaults to 1000. */
|
6901
7003
|
numberSimilar?: InputMaybe<Scalars['Int']['input']>;
|
6902
7004
|
/** The OpenAI model properties. */
|
6903
7005
|
openAI?: InputMaybe<OpenAiModelPropertiesInput>;
|
@@ -6941,6 +7043,8 @@ export type SpecificationUpdateInput = {
|
|
6941
7043
|
anthropic?: InputMaybe<AnthropicModelPropertiesUpdateInput>;
|
6942
7044
|
/** The Azure OpenAI model properties. */
|
6943
7045
|
azureOpenAI?: InputMaybe<AzureOpenAiModelPropertiesUpdateInput>;
|
7046
|
+
/** The Cohere model properties. */
|
7047
|
+
cohere?: InputMaybe<CohereModelPropertiesUpdateInput>;
|
6944
7048
|
/** Custom guidance which is injected into the LLM conversation prompt. */
|
6945
7049
|
customGuidance?: InputMaybe<Scalars['String']['input']>;
|
6946
7050
|
/** Custom instructions which are injected into the LLM conversation prompt. */
|
@@ -6953,7 +7057,7 @@ export type SpecificationUpdateInput = {
|
|
6953
7057
|
mistral?: InputMaybe<MistralModelPropertiesUpdateInput>;
|
6954
7058
|
/** The name of the specification. */
|
6955
7059
|
name?: InputMaybe<Scalars['String']['input']>;
|
6956
|
-
/** The number of similar items to be returned from content search. Defaults to
|
7060
|
+
/** The number of similar items to be returned from content search. Defaults to 1000. */
|
6957
7061
|
numberSimilar?: InputMaybe<Scalars['Int']['input']>;
|
6958
7062
|
/** The OpenAI model properties. */
|
6959
7063
|
openAI?: InputMaybe<OpenAiModelPropertiesUpdateInput>;
|
@@ -7758,6 +7862,17 @@ export type CreateCollectionMutation = {
|
|
7758
7862
|
type?: CollectionTypes | null;
|
7759
7863
|
} | null;
|
7760
7864
|
};
|
7865
|
+
export type DeleteAllCollectionsMutationVariables = Exact<{
|
7866
|
+
[key: string]: never;
|
7867
|
+
}>;
|
7868
|
+
export type DeleteAllCollectionsMutation = {
|
7869
|
+
__typename?: 'Mutation';
|
7870
|
+
deleteAllCollections?: Array<{
|
7871
|
+
__typename?: 'Collection';
|
7872
|
+
id: string;
|
7873
|
+
state: EntityState;
|
7874
|
+
} | null> | null;
|
7875
|
+
};
|
7761
7876
|
export type DeleteCollectionMutationVariables = Exact<{
|
7762
7877
|
id: Scalars['ID']['input'];
|
7763
7878
|
}>;
|
@@ -8113,6 +8228,7 @@ export type IngestEncodedFileMutationVariables = Exact<{
|
|
8113
8228
|
mimeType: Scalars['String']['input'];
|
8114
8229
|
id?: InputMaybe<Scalars['ID']['input']>;
|
8115
8230
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
8231
|
+
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
8116
8232
|
workflow?: InputMaybe<EntityReferenceInput>;
|
8117
8233
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
8118
8234
|
}>;
|
@@ -8136,6 +8252,7 @@ export type IngestTextMutationVariables = Exact<{
|
|
8136
8252
|
uri?: InputMaybe<Scalars['URL']['input']>;
|
8137
8253
|
id?: InputMaybe<Scalars['ID']['input']>;
|
8138
8254
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
8255
|
+
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
8139
8256
|
workflow?: InputMaybe<EntityReferenceInput>;
|
8140
8257
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
8141
8258
|
}>;
|
@@ -8157,6 +8274,7 @@ export type IngestUriMutationVariables = Exact<{
|
|
8157
8274
|
uri: Scalars['URL']['input'];
|
8158
8275
|
id?: InputMaybe<Scalars['ID']['input']>;
|
8159
8276
|
isSynchronous?: InputMaybe<Scalars['Boolean']['input']>;
|
8277
|
+
collections?: InputMaybe<Array<EntityReferenceInput> | EntityReferenceInput>;
|
8160
8278
|
workflow?: InputMaybe<EntityReferenceInput>;
|
8161
8279
|
correlationId?: InputMaybe<Scalars['String']['input']>;
|
8162
8280
|
}>;
|
@@ -8193,6 +8311,7 @@ export type PublishContentsMutationVariables = Exact<{
|
|
8193
8311
|
summarySpecification?: InputMaybe<EntityReferenceInput>;
|
8194
8312
|
publishSpecification?: InputMaybe<EntityReferenceInput>;
|
8195
8313
|
workflow?: InputMaybe<EntityReferenceInput>;
|
8314
|
+
isSynchronous: Scalars['Boolean']['input'];
|
8196
8315
|
}>;
|
8197
8316
|
export type PublishContentsMutation = {
|
8198
8317
|
__typename?: 'Mutation';
|
@@ -8210,6 +8329,31 @@ export type PublishContentsMutation = {
|
|
8210
8329
|
markdown?: string | null;
|
8211
8330
|
} | null;
|
8212
8331
|
};
|
8332
|
+
export type PublishTextMutationVariables = Exact<{
|
8333
|
+
text: Scalars['String']['input'];
|
8334
|
+
textType?: InputMaybe<TextTypes>;
|
8335
|
+
connector: ContentPublishingConnectorInput;
|
8336
|
+
correlationId?: InputMaybe<Scalars['String']['input']>;
|
8337
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
8338
|
+
workflow?: InputMaybe<EntityReferenceInput>;
|
8339
|
+
isSynchronous: Scalars['Boolean']['input'];
|
8340
|
+
}>;
|
8341
|
+
export type PublishTextMutation = {
|
8342
|
+
__typename?: 'Mutation';
|
8343
|
+
publishText?: {
|
8344
|
+
__typename?: 'Content';
|
8345
|
+
id: string;
|
8346
|
+
name: string;
|
8347
|
+
state: EntityState;
|
8348
|
+
type?: ContentTypes | null;
|
8349
|
+
fileType?: FileTypes | null;
|
8350
|
+
mimeType?: string | null;
|
8351
|
+
uri?: any | null;
|
8352
|
+
textUri?: any | null;
|
8353
|
+
audioUri?: any | null;
|
8354
|
+
markdown?: string | null;
|
8355
|
+
} | null;
|
8356
|
+
};
|
8213
8357
|
export type QueryContentFacetsQueryVariables = Exact<{
|
8214
8358
|
filter?: InputMaybe<ContentFilter>;
|
8215
8359
|
facets?: InputMaybe<Array<ContentFacetInput> | ContentFacetInput>;
|
@@ -8667,6 +8811,7 @@ export type PromptConversationMutation = {
|
|
8667
8811
|
content?: {
|
8668
8812
|
__typename?: 'Content';
|
8669
8813
|
id: string;
|
8814
|
+
name: string;
|
8670
8815
|
type?: ContentTypes | null;
|
8671
8816
|
fileType?: FileTypes | null;
|
8672
8817
|
fileName?: string | null;
|
@@ -9300,6 +9445,42 @@ export type CreditsQuery = {
|
|
9300
9445
|
conversationRatio?: any | null;
|
9301
9446
|
} | null> | null;
|
9302
9447
|
};
|
9448
|
+
export type GetProjectQueryVariables = Exact<{
|
9449
|
+
[key: string]: never;
|
9450
|
+
}>;
|
9451
|
+
export type GetProjectQuery = {
|
9452
|
+
__typename?: 'Query';
|
9453
|
+
project?: {
|
9454
|
+
__typename?: 'Project';
|
9455
|
+
id: string;
|
9456
|
+
name: string;
|
9457
|
+
creationDate: any;
|
9458
|
+
modifiedDate?: any | null;
|
9459
|
+
state: EntityState;
|
9460
|
+
environmentType?: EnvironmentTypes | null;
|
9461
|
+
platform?: ResourceConnectorTypes | null;
|
9462
|
+
region?: string | null;
|
9463
|
+
callbackUri?: any | null;
|
9464
|
+
workflow?: {
|
9465
|
+
__typename?: 'Workflow';
|
9466
|
+
id: string;
|
9467
|
+
name: string;
|
9468
|
+
} | null;
|
9469
|
+
specification?: {
|
9470
|
+
__typename?: 'Specification';
|
9471
|
+
id: string;
|
9472
|
+
name: string;
|
9473
|
+
} | null;
|
9474
|
+
quota?: {
|
9475
|
+
__typename?: 'ProjectQuota';
|
9476
|
+
storage?: number | null;
|
9477
|
+
contents?: number | null;
|
9478
|
+
feeds?: number | null;
|
9479
|
+
posts?: number | null;
|
9480
|
+
conversations?: number | null;
|
9481
|
+
} | null;
|
9482
|
+
} | null;
|
9483
|
+
};
|
9303
9484
|
export type LookupCreditsQueryVariables = Exact<{
|
9304
9485
|
correlationId: Scalars['String']['input'];
|
9305
9486
|
}>;
|
@@ -9504,7 +9685,7 @@ export type GetSpecificationQuery = {
|
|
9504
9685
|
} | null;
|
9505
9686
|
rerankingStrategy?: {
|
9506
9687
|
__typename?: 'RerankingStrategy';
|
9507
|
-
serviceType:
|
9688
|
+
serviceType: RerankingModelServiceTypes;
|
9508
9689
|
} | null;
|
9509
9690
|
openAI?: {
|
9510
9691
|
__typename?: 'OpenAIModelProperties';
|
@@ -9637,7 +9818,7 @@ export type QuerySpecificationsQuery = {
|
|
9637
9818
|
} | null;
|
9638
9819
|
rerankingStrategy?: {
|
9639
9820
|
__typename?: 'RerankingStrategy';
|
9640
|
-
serviceType:
|
9821
|
+
serviceType: RerankingModelServiceTypes;
|
9641
9822
|
} | null;
|
9642
9823
|
openAI?: {
|
9643
9824
|
__typename?: 'OpenAIModelProperties';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
exports.YouTubeTypes = exports.UnitTypes = exports.TimedPolicyRecurrenceTypes = exports.TimeIntervalTypes = exports.TextTypes = exports.TextRoles = exports.SummarizationTypes = exports.SpecificationTypes = exports.SoftwareFacetTypes = exports.SiteTypes = exports.SharePointAuthenticationTypes = exports.SearchTypes = exports.SearchQueryTypes = exports.RetrievalStrategyTypes = exports.ResourceConnectorTypes = exports.RepoFacetTypes = exports.ReplicateModels = exports.RenditionTypes = exports.PromptStrategyTypes = exports.ProductFacetTypes = exports.PolicyTimeTypes = exports.PlaceFacetTypes = exports.PersonFacetTypes = exports.OrientationTypes = exports.OrganizationFacetTypes = exports.OrderDirectionTypes = exports.OrderByTypes = void 0;
|
3
|
+
exports.OpenAiModels = exports.OccurrenceTypes = exports.ObservableTypes = exports.NotionTypes = exports.ModelServiceTypes = exports.MistralModels = exports.MetadataTypes = exports.MailSensitivity = exports.MailPriority = exports.MailImportance = exports.LinkTypes = exports.LabelFacetTypes = exports.IntegrationServiceTypes = exports.ImageProjectionTypes = exports.H3ResolutionTypes = exports.GroqModels = exports.FileTypes = exports.FilePreparationServiceTypes = exports.FeedTypes = exports.FeedServiceTypes = exports.FeedListingTypes = exports.FeedConnectorTypes = exports.FacetValueTypes = exports.EventFacetTypes = exports.EnvironmentTypes = exports.EntityTypes = exports.EntityState = exports.EntityExtractionServiceTypes = exports.EntityEnrichmentServiceTypes = exports.EmailListingTypes = exports.ElevenLabsModels = exports.DeviceTypes = exports.DeepgramModels = exports.ConversationTypes = exports.ConversationStrategyTypes = exports.ConversationSearchTypes = exports.ConversationRoleTypes = exports.ContentTypes = exports.ContentPublishingServiceTypes = exports.ContentPublishingFormats = exports.ContentFacetTypes = exports.CollectionTypes = exports.CohereModels = exports.CategoryFacetTypes = exports.BillableMetrics = exports.AzureOpenAiModels = exports.AzureDocumentIntelligenceModels = exports.ApplyPolicy = exports.AnthropicModels = exports.AlertTypes = void 0;
|
4
|
+
exports.YouTubeTypes = exports.UnitTypes = exports.TimedPolicyRecurrenceTypes = exports.TimeIntervalTypes = exports.TextTypes = exports.TextRoles = exports.SummarizationTypes = exports.SpecificationTypes = exports.SoftwareFacetTypes = exports.SiteTypes = exports.SharePointAuthenticationTypes = exports.SearchTypes = exports.SearchQueryTypes = exports.RetrievalStrategyTypes = exports.ResourceConnectorTypes = exports.RerankingModelServiceTypes = exports.RepoFacetTypes = exports.ReplicateModels = exports.RenditionTypes = exports.PromptStrategyTypes = exports.ProductFacetTypes = exports.PolicyTimeTypes = exports.PlaceFacetTypes = exports.PersonFacetTypes = exports.OrientationTypes = exports.OrganizationFacetTypes = exports.OrderDirectionTypes = exports.OrderByTypes = exports.OpenAiVisionDetailLevels = void 0;
|
5
5
|
/** Alert type */
|
6
6
|
var AlertTypes;
|
7
7
|
(function (AlertTypes) {
|
@@ -100,6 +100,20 @@ var CategoryFacetTypes;
|
|
100
100
|
/** Creation Date */
|
101
101
|
CategoryFacetTypes["CreationDate"] = "CREATION_DATE";
|
102
102
|
})(CategoryFacetTypes || (exports.CategoryFacetTypes = CategoryFacetTypes = {}));
|
103
|
+
/** Cohere model type */
|
104
|
+
var CohereModels;
|
105
|
+
(function (CohereModels) {
|
106
|
+
/** Command R */
|
107
|
+
CohereModels["CommandR"] = "COMMAND_R";
|
108
|
+
/** Command R+ */
|
109
|
+
CohereModels["CommandRPlus"] = "COMMAND_R_PLUS";
|
110
|
+
/** Developer-specified model */
|
111
|
+
CohereModels["Custom"] = "CUSTOM";
|
112
|
+
/** Embed English 3.0 */
|
113
|
+
CohereModels["EmbedEnglish_3_0"] = "EMBED_ENGLISH_3_0";
|
114
|
+
/** Embed Multilingual 3.0 */
|
115
|
+
CohereModels["EmbedMultilingual_3_0"] = "EMBED_MULTILINGUAL_3_0";
|
116
|
+
})(CohereModels || (exports.CohereModels = CohereModels = {}));
|
103
117
|
/** Collection type */
|
104
118
|
var CollectionTypes;
|
105
119
|
(function (CollectionTypes) {
|
@@ -603,6 +617,10 @@ var GroqModels;
|
|
603
617
|
(function (GroqModels) {
|
604
618
|
/** Developer-specified model */
|
605
619
|
GroqModels["Custom"] = "CUSTOM";
|
620
|
+
/** LLaMA3 8b */
|
621
|
+
GroqModels["Llama_3_8B"] = "LLAMA_3_8B";
|
622
|
+
/** LLaMA3 70b */
|
623
|
+
GroqModels["Llama_3_70B"] = "LLAMA_3_70B";
|
606
624
|
/** Mixtral 8x7b Instruct */
|
607
625
|
GroqModels["Mixtral_8X7BInstruct"] = "MIXTRAL_8X7B_INSTRUCT";
|
608
626
|
})(GroqModels || (exports.GroqModels = GroqModels = {}));
|
@@ -1029,6 +1047,14 @@ var RepoFacetTypes;
|
|
1029
1047
|
/** Creation Date */
|
1030
1048
|
RepoFacetTypes["CreationDate"] = "CREATION_DATE";
|
1031
1049
|
})(RepoFacetTypes || (exports.RepoFacetTypes = RepoFacetTypes = {}));
|
1050
|
+
/** Reranking model service type */
|
1051
|
+
var RerankingModelServiceTypes;
|
1052
|
+
(function (RerankingModelServiceTypes) {
|
1053
|
+
/** Cohere */
|
1054
|
+
RerankingModelServiceTypes["Cohere"] = "COHERE";
|
1055
|
+
/** Jina */
|
1056
|
+
RerankingModelServiceTypes["Jina"] = "JINA";
|
1057
|
+
})(RerankingModelServiceTypes || (exports.RerankingModelServiceTypes = RerankingModelServiceTypes = {}));
|
1032
1058
|
/** Resource connector type */
|
1033
1059
|
var ResourceConnectorTypes;
|
1034
1060
|
(function (ResourceConnectorTypes) {
|