graphlit-client 1.0.20240418027 → 1.0.20240423001

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;
@@ -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.GetFeed = exports.EnableFeed = 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.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.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.Credits = exports.UpdateFeed = exports.QueryFeeds = exports.IsFeedDone = void 0;
6
+ exports.EnableFeed = 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.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.Credits = exports.UpdateFeed = exports.QueryFeeds = exports.IsFeedDone = exports.GetFeed = 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) {
@@ -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. */
@@ -3948,6 +4019,10 @@ export type MutationDeleteAlertsArgs = {
3948
4019
  export type MutationDeleteAllAlertsArgs = {
3949
4020
  filter?: InputMaybe<AlertFilter>;
3950
4021
  };
4022
+ export type MutationDeleteAllCollectionsArgs = {
4023
+ correlationId?: InputMaybe<Scalars['String']['input']>;
4024
+ filter?: InputMaybe<CollectionFilter>;
4025
+ };
3951
4026
  export type MutationDeleteAllContentsArgs = {
3952
4027
  correlationId?: InputMaybe<Scalars['String']['input']>;
3953
4028
  filter?: InputMaybe<ContentFilter>;
@@ -6388,21 +6463,28 @@ export type RepoUpdateInput = {
6388
6463
  /** The repo URI. */
6389
6464
  uri?: InputMaybe<Scalars['URL']['input']>;
6390
6465
  };
6466
+ /** Reranking model service type */
6467
+ export declare enum RerankingModelServiceTypes {
6468
+ /** Cohere */
6469
+ Cohere = "COHERE",
6470
+ /** Jina */
6471
+ Jina = "JINA"
6472
+ }
6391
6473
  /** Represents a reranking strategy. */
6392
6474
  export type RerankingStrategy = {
6393
6475
  __typename?: 'RerankingStrategy';
6394
6476
  /** The content reranking service type. */
6395
- serviceType: ModelServiceTypes;
6477
+ serviceType: RerankingModelServiceTypes;
6396
6478
  };
6397
6479
  /** Represents a reranking strategy. */
6398
6480
  export type RerankingStrategyInput = {
6399
6481
  /** The content reranking service type, optional. */
6400
- serviceType: ModelServiceTypes;
6482
+ serviceType: RerankingModelServiceTypes;
6401
6483
  };
6402
6484
  /** Represents a reranking strategy. */
6403
6485
  export type RerankingStrategyUpdateInput = {
6404
6486
  /** The content reranking service type, optional. */
6405
- serviceType?: InputMaybe<ModelServiceTypes>;
6487
+ serviceType?: InputMaybe<RerankingModelServiceTypes>;
6406
6488
  };
6407
6489
  /** Resource connector type */
6408
6490
  export declare enum ResourceConnectorTypes {
@@ -6416,14 +6498,14 @@ export declare enum ResourceConnectorTypes {
6416
6498
  /** Represents a retrieval strategy. */
6417
6499
  export type RetrievalStrategy = {
6418
6500
  __typename?: 'RetrievalStrategy';
6419
- /** The maximum number of content sources to provide with prompt context. Defaults to 100. */
6501
+ /** The maximum number of content sources to provide with prompt context. Defaults to 25. */
6420
6502
  contentLimit?: Maybe<Scalars['Int']['output']>;
6421
6503
  /** The retrieval strategy type. */
6422
6504
  type: RetrievalStrategyTypes;
6423
6505
  };
6424
6506
  /** Represents a retrieval strategy. */
6425
6507
  export type RetrievalStrategyInput = {
6426
- /** The maximum number of content sources to provide with prompt context. Defaults to 100. */
6508
+ /** The maximum number of content sources to provide with prompt context. Defaults to 25. */
6427
6509
  contentLimit?: InputMaybe<Scalars['Int']['input']>;
6428
6510
  /** The retrieval strategy type. */
6429
6511
  type: RetrievalStrategyTypes;
@@ -6439,7 +6521,7 @@ export declare enum RetrievalStrategyTypes {
6439
6521
  }
6440
6522
  /** Represents a retrieval strategy. */
6441
6523
  export type RetrievalStrategyUpdateInput = {
6442
- /** The maximum number of content sources to provide with prompt context. Defaults to 100. */
6524
+ /** The maximum number of content sources to provide with prompt context. Defaults to 25. */
6443
6525
  contentLimit?: InputMaybe<Scalars['Int']['input']>;
6444
6526
  /** The retrieval strategy type. */
6445
6527
  type?: InputMaybe<RetrievalStrategyTypes>;
@@ -6811,6 +6893,8 @@ export type Specification = {
6811
6893
  anthropic?: Maybe<AnthropicModelProperties>;
6812
6894
  /** The Azure OpenAI model properties. */
6813
6895
  azureOpenAI?: Maybe<AzureOpenAiModelProperties>;
6896
+ /** The Cohere model properties. */
6897
+ cohere?: Maybe<CohereModelProperties>;
6814
6898
  /** The creation date of the specification. */
6815
6899
  creationDate: Scalars['DateTime']['output'];
6816
6900
  /** Custom guidance which is injected into the LLM conversation prompt. */
@@ -6827,7 +6911,7 @@ export type Specification = {
6827
6911
  modifiedDate?: Maybe<Scalars['DateTime']['output']>;
6828
6912
  /** The name of the specification. */
6829
6913
  name: Scalars['String']['output'];
6830
- /** The number of similar items to be returned from content search. Defaults to 10. */
6914
+ /** The number of similar items to be returned from content search. Defaults to 1000. */
6831
6915
  numberSimilar?: Maybe<Scalars['Int']['output']>;
6832
6916
  /** The OpenAI model properties. */
6833
6917
  openAI?: Maybe<OpenAiModelProperties>;
@@ -6887,6 +6971,8 @@ export type SpecificationInput = {
6887
6971
  anthropic?: InputMaybe<AnthropicModelPropertiesInput>;
6888
6972
  /** The Azure OpenAI model properties. */
6889
6973
  azureOpenAI?: InputMaybe<AzureOpenAiModelPropertiesInput>;
6974
+ /** The Cohere model properties. */
6975
+ cohere?: InputMaybe<CohereModelPropertiesInput>;
6890
6976
  /** Custom guidance which is injected into the LLM conversation prompt. */
6891
6977
  customGuidance?: InputMaybe<Scalars['String']['input']>;
6892
6978
  /** Custom instructions which are injected into the LLM conversation prompt. */
@@ -6897,7 +6983,7 @@ export type SpecificationInput = {
6897
6983
  mistral?: InputMaybe<MistralModelPropertiesInput>;
6898
6984
  /** The name of the specification. */
6899
6985
  name: Scalars['String']['input'];
6900
- /** The number of similar items to be returned from content search. Defaults to 10. */
6986
+ /** The number of similar items to be returned from content search. Defaults to 1000. */
6901
6987
  numberSimilar?: InputMaybe<Scalars['Int']['input']>;
6902
6988
  /** The OpenAI model properties. */
6903
6989
  openAI?: InputMaybe<OpenAiModelPropertiesInput>;
@@ -6941,6 +7027,8 @@ export type SpecificationUpdateInput = {
6941
7027
  anthropic?: InputMaybe<AnthropicModelPropertiesUpdateInput>;
6942
7028
  /** The Azure OpenAI model properties. */
6943
7029
  azureOpenAI?: InputMaybe<AzureOpenAiModelPropertiesUpdateInput>;
7030
+ /** The Cohere model properties. */
7031
+ cohere?: InputMaybe<CohereModelPropertiesUpdateInput>;
6944
7032
  /** Custom guidance which is injected into the LLM conversation prompt. */
6945
7033
  customGuidance?: InputMaybe<Scalars['String']['input']>;
6946
7034
  /** Custom instructions which are injected into the LLM conversation prompt. */
@@ -6953,7 +7041,7 @@ export type SpecificationUpdateInput = {
6953
7041
  mistral?: InputMaybe<MistralModelPropertiesUpdateInput>;
6954
7042
  /** The name of the specification. */
6955
7043
  name?: InputMaybe<Scalars['String']['input']>;
6956
- /** The number of similar items to be returned from content search. Defaults to 10. */
7044
+ /** The number of similar items to be returned from content search. Defaults to 1000. */
6957
7045
  numberSimilar?: InputMaybe<Scalars['Int']['input']>;
6958
7046
  /** The OpenAI model properties. */
6959
7047
  openAI?: InputMaybe<OpenAiModelPropertiesUpdateInput>;
@@ -7758,6 +7846,17 @@ export type CreateCollectionMutation = {
7758
7846
  type?: CollectionTypes | null;
7759
7847
  } | null;
7760
7848
  };
7849
+ export type DeleteAllCollectionsMutationVariables = Exact<{
7850
+ [key: string]: never;
7851
+ }>;
7852
+ export type DeleteAllCollectionsMutation = {
7853
+ __typename?: 'Mutation';
7854
+ deleteAllCollections?: Array<{
7855
+ __typename?: 'Collection';
7856
+ id: string;
7857
+ state: EntityState;
7858
+ } | null> | null;
7859
+ };
7761
7860
  export type DeleteCollectionMutationVariables = Exact<{
7762
7861
  id: Scalars['ID']['input'];
7763
7862
  }>;
@@ -9504,7 +9603,7 @@ export type GetSpecificationQuery = {
9504
9603
  } | null;
9505
9604
  rerankingStrategy?: {
9506
9605
  __typename?: 'RerankingStrategy';
9507
- serviceType: ModelServiceTypes;
9606
+ serviceType: RerankingModelServiceTypes;
9508
9607
  } | null;
9509
9608
  openAI?: {
9510
9609
  __typename?: 'OpenAIModelProperties';
@@ -9637,7 +9736,7 @@ export type QuerySpecificationsQuery = {
9637
9736
  } | null;
9638
9737
  rerankingStrategy?: {
9639
9738
  __typename?: 'RerankingStrategy';
9640
- serviceType: ModelServiceTypes;
9739
+ serviceType: RerankingModelServiceTypes;
9641
9740
  } | null;
9642
9741
  openAI?: {
9643
9742
  __typename?: 'OpenAIModelProperties';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OpenAiVisionDetailLevels = 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.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.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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20240418027",
3
+ "version": "1.0.20240423001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",