graphlit-client 1.0.20240914001 → 1.0.20240927001

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.
@@ -771,6 +771,7 @@ exports.GetContent = (0, graphql_tag_1.default) `
771
771
  }
772
772
  pages {
773
773
  index
774
+ relevance
774
775
  chunks {
775
776
  index
776
777
  pageIndex
@@ -1156,6 +1157,7 @@ exports.QueryContents = (0, graphql_tag_1.default) `
1156
1157
  }
1157
1158
  pages {
1158
1159
  index
1160
+ relevance
1159
1161
  chunks {
1160
1162
  index
1161
1163
  pageIndex
@@ -1398,6 +1400,7 @@ exports.QueryContentsFacets = (0, graphql_tag_1.default) `
1398
1400
  }
1399
1401
  pages {
1400
1402
  index
1403
+ relevance
1401
1404
  chunks {
1402
1405
  index
1403
1406
  pageIndex
@@ -1832,8 +1835,13 @@ exports.GetConversation = (0, graphql_tag_1.default) `
1832
1835
  }
1833
1836
  `;
1834
1837
  exports.PromptConversation = (0, graphql_tag_1.default) `
1835
- mutation PromptConversation($prompt: String!, $id: ID, $correlationId: String) {
1836
- promptConversation(prompt: $prompt, id: $id, correlationId: $correlationId) {
1838
+ mutation PromptConversation($prompt: String!, $id: ID, $specification: EntityReferenceInput, $correlationId: String) {
1839
+ promptConversation(
1840
+ prompt: $prompt
1841
+ id: $id
1842
+ specification: $specification
1843
+ correlationId: $correlationId
1844
+ ) {
1837
1845
  conversation {
1838
1846
  id
1839
1847
  }
@@ -4703,6 +4711,15 @@ exports.GetSpecification = (0, graphql_tag_1.default) `
4703
4711
  temperature
4704
4712
  probability
4705
4713
  }
4714
+ google {
4715
+ tokenLimit
4716
+ completionTokenLimit
4717
+ model
4718
+ key
4719
+ modelName
4720
+ temperature
4721
+ probability
4722
+ }
4706
4723
  replicate {
4707
4724
  tokenLimit
4708
4725
  completionTokenLimit
@@ -4732,6 +4749,16 @@ exports.GetSpecification = (0, graphql_tag_1.default) `
4732
4749
  temperature
4733
4750
  probability
4734
4751
  }
4752
+ cerebras {
4753
+ tokenLimit
4754
+ completionTokenLimit
4755
+ model
4756
+ key
4757
+ modelName
4758
+ endpoint
4759
+ temperature
4760
+ probability
4761
+ }
4735
4762
  deepseek {
4736
4763
  tokenLimit
4737
4764
  completionTokenLimit
@@ -4961,6 +4988,15 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
4961
4988
  temperature
4962
4989
  probability
4963
4990
  }
4991
+ google {
4992
+ tokenLimit
4993
+ completionTokenLimit
4994
+ model
4995
+ key
4996
+ modelName
4997
+ temperature
4998
+ probability
4999
+ }
4964
5000
  replicate {
4965
5001
  tokenLimit
4966
5002
  completionTokenLimit
@@ -4990,6 +5026,16 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
4990
5026
  temperature
4991
5027
  probability
4992
5028
  }
5029
+ cerebras {
5030
+ tokenLimit
5031
+ completionTokenLimit
5032
+ model
5033
+ key
5034
+ modelName
5035
+ endpoint
5036
+ temperature
5037
+ probability
5038
+ }
4993
5039
  deepseek {
4994
5040
  tokenLimit
4995
5041
  completionTokenLimit
@@ -857,6 +857,73 @@ export type CategoryUpdateInput = {
857
857
  /** The name of the category. */
858
858
  name?: InputMaybe<Scalars['String']['input']>;
859
859
  };
860
+ /** Represents Cerebras model properties. */
861
+ export type CerebrasModelProperties = {
862
+ __typename?: 'CerebrasModelProperties';
863
+ /** The limit of tokens generated by prompt completion. */
864
+ completionTokenLimit?: Maybe<Scalars['Int']['output']>;
865
+ /** The Cerebras API endpoint, if using developer's own account. */
866
+ endpoint?: Maybe<Scalars['URL']['output']>;
867
+ /** The Cerebras API key, if using developer's own account. */
868
+ key?: Maybe<Scalars['String']['output']>;
869
+ /** The Cerebras model, or custom, when using developer's own account. */
870
+ model: CerebrasModels;
871
+ /** The Cerebras model name, if using developer's own account. */
872
+ modelName?: Maybe<Scalars['String']['output']>;
873
+ /** The model token probability. */
874
+ probability?: Maybe<Scalars['Float']['output']>;
875
+ /** The model temperature. */
876
+ temperature?: Maybe<Scalars['Float']['output']>;
877
+ /** The number of tokens which can provided to the Cerebras model, if using developer's own account. */
878
+ tokenLimit?: Maybe<Scalars['Int']['output']>;
879
+ };
880
+ /** Represents Cerebras model properties. */
881
+ export type CerebrasModelPropertiesInput = {
882
+ /** The limit of tokens generated by prompt completion. */
883
+ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>;
884
+ /** The Cerebras API endpoint, if using developer's own account. */
885
+ endpoint?: InputMaybe<Scalars['URL']['input']>;
886
+ /** The Cerebras API key, if using developer's own account. */
887
+ key?: InputMaybe<Scalars['String']['input']>;
888
+ /** The Cerebras model, or custom, when using developer's own account. */
889
+ model: CerebrasModels;
890
+ /** The Cerebras model name, if using developer's own account. */
891
+ modelName?: InputMaybe<Scalars['String']['input']>;
892
+ /** The model token probability. */
893
+ probability?: InputMaybe<Scalars['Float']['input']>;
894
+ /** The model temperature. */
895
+ temperature?: InputMaybe<Scalars['Float']['input']>;
896
+ /** The number of tokens which can provided to the Cerebras model, if using developer's own account. */
897
+ tokenLimit?: InputMaybe<Scalars['Int']['input']>;
898
+ };
899
+ /** Represents Cerebras model properties. */
900
+ export type CerebrasModelPropertiesUpdateInput = {
901
+ /** The limit of tokens generated by prompt completion. */
902
+ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>;
903
+ /** The Cerebras API endpoint, if using developer's own account. */
904
+ endpoint?: InputMaybe<Scalars['URL']['input']>;
905
+ /** The Cerebras API key, if using developer's own account. */
906
+ key?: InputMaybe<Scalars['String']['input']>;
907
+ /** The Cerebras model, or custom, when using developer's own account. */
908
+ model: CerebrasModels;
909
+ /** The Cerebras model name, if using developer's own account. */
910
+ modelName?: InputMaybe<Scalars['String']['input']>;
911
+ /** The model token probability. */
912
+ probability?: InputMaybe<Scalars['Float']['input']>;
913
+ /** The model temperature. */
914
+ temperature?: InputMaybe<Scalars['Float']['input']>;
915
+ /** The number of tokens which can provided to the Cerebras model, if using developer's own account. */
916
+ tokenLimit?: InputMaybe<Scalars['Int']['input']>;
917
+ };
918
+ /** Cerebras model type */
919
+ export declare enum CerebrasModels {
920
+ /** Developer-specified model */
921
+ Custom = "CUSTOM",
922
+ /** LLaMA 3.1 8b */
923
+ Llama_3_1_8B = "LLAMA_3_1_8B",
924
+ /** LLaMA 3.1 70b */
925
+ Llama_3_1_70B = "LLAMA_3_1_70B"
926
+ }
860
927
  /** Represents Cohere model properties. */
861
928
  export type CohereModelProperties = {
862
929
  __typename?: 'CohereModelProperties';
@@ -1651,13 +1718,13 @@ export type ConversationFilter = {
1651
1718
  };
1652
1719
  /** Represents a conversation. */
1653
1720
  export type ConversationInput = {
1654
- /** Filter augmented content for conversation. Augmented content will always be added as content sources, without regard to user prompt. */
1721
+ /** Filter augmented content for conversation, optional. Augmented content will always be added as content sources, without regard to user prompt. */
1655
1722
  augmentedFilter?: InputMaybe<ContentCriteriaInput>;
1656
- /** Filter content for conversation. */
1723
+ /** Filter content for conversation, optional. */
1657
1724
  filter?: InputMaybe<ContentCriteriaInput>;
1658
1725
  /** The name of the conversation. */
1659
1726
  name: Scalars['String']['input'];
1660
- /** The LLM specification used by this conversation. */
1727
+ /** The LLM specification used by this conversation, optional. */
1661
1728
  specification?: InputMaybe<EntityReferenceInput>;
1662
1729
  /** The conversation type. */
1663
1730
  type?: InputMaybe<ConversationTypes>;
@@ -1769,15 +1836,15 @@ export declare enum ConversationTypes {
1769
1836
  }
1770
1837
  /** Represents a conversation. */
1771
1838
  export type ConversationUpdateInput = {
1772
- /** Filter augmented content for conversation. Augmented content will always be added as content sources, without regard to user prompt. */
1839
+ /** Filter augmented content for conversation, optional. Augmented content will always be added as content sources, without regard to user prompt. */
1773
1840
  augmentedFilter?: InputMaybe<ContentCriteriaInput>;
1774
- /** Filter content for conversation. */
1841
+ /** Filter content for conversation, optional. */
1775
1842
  filter?: InputMaybe<ContentCriteriaInput>;
1776
1843
  /** The ID of the conversation to update. */
1777
1844
  id: Scalars['ID']['input'];
1778
1845
  /** The name of the conversation. */
1779
1846
  name?: InputMaybe<Scalars['String']['input']>;
1780
- /** The LLM specification used by this conversation. */
1847
+ /** The LLM specification used by this conversation, optional. */
1781
1848
  specification?: InputMaybe<EntityReferenceInput>;
1782
1849
  };
1783
1850
  /** Represents a count. */
@@ -3364,6 +3431,67 @@ export type GoogleFeedPropertiesUpdateInput = {
3364
3431
  /** Google Cloud storage container prefix. */
3365
3432
  prefix?: InputMaybe<Scalars['String']['input']>;
3366
3433
  };
3434
+ /** Represents Google model properties. */
3435
+ export type GoogleModelProperties = {
3436
+ __typename?: 'GoogleModelProperties';
3437
+ /** The limit of tokens generated by prompt completion. */
3438
+ completionTokenLimit?: Maybe<Scalars['Int']['output']>;
3439
+ /** The Google API key, if using developer's own account. */
3440
+ key?: Maybe<Scalars['String']['output']>;
3441
+ /** The Google model, or custom, when using developer's own account. */
3442
+ model: GoogleModels;
3443
+ /** The Google model name, if using developer's own account. */
3444
+ modelName?: Maybe<Scalars['String']['output']>;
3445
+ /** The model token probability. */
3446
+ probability?: Maybe<Scalars['Float']['output']>;
3447
+ /** The model temperature. */
3448
+ temperature?: Maybe<Scalars['Float']['output']>;
3449
+ /** The number of tokens which can provided to the Google model, if using developer's own account. */
3450
+ tokenLimit?: Maybe<Scalars['Int']['output']>;
3451
+ };
3452
+ /** Represents Google model properties. */
3453
+ export type GoogleModelPropertiesInput = {
3454
+ /** The limit of tokens generated by prompt completion. */
3455
+ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>;
3456
+ /** The Google API key, if using developer's own account. */
3457
+ key?: InputMaybe<Scalars['String']['input']>;
3458
+ /** The Google model, or custom, when using developer's own account. */
3459
+ model: GoogleModels;
3460
+ /** The Google model name, if using developer's own account. */
3461
+ modelName?: InputMaybe<Scalars['String']['input']>;
3462
+ /** The model token probability. */
3463
+ probability?: InputMaybe<Scalars['Float']['input']>;
3464
+ /** The model temperature. */
3465
+ temperature?: InputMaybe<Scalars['Float']['input']>;
3466
+ /** The number of tokens which can provided to the Google model, if using developer's own account. */
3467
+ tokenLimit?: InputMaybe<Scalars['Int']['input']>;
3468
+ };
3469
+ /** Represents Google model properties. */
3470
+ export type GoogleModelPropertiesUpdateInput = {
3471
+ /** The limit of tokens generated by prompt completion. */
3472
+ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>;
3473
+ /** The Google API key, if using developer's own account. */
3474
+ key?: InputMaybe<Scalars['String']['input']>;
3475
+ /** The Google model, or custom, when using developer's own account. */
3476
+ model: GoogleModels;
3477
+ /** The Google model name, if using developer's own account. */
3478
+ modelName?: InputMaybe<Scalars['String']['input']>;
3479
+ /** The model token probability. */
3480
+ probability?: InputMaybe<Scalars['Float']['input']>;
3481
+ /** The model temperature. */
3482
+ temperature?: InputMaybe<Scalars['Float']['input']>;
3483
+ /** The number of tokens which can provided to the Google model, if using developer's own account. */
3484
+ tokenLimit?: InputMaybe<Scalars['Int']['input']>;
3485
+ };
3486
+ /** Google model type */
3487
+ export declare enum GoogleModels {
3488
+ /** Developer-specified model */
3489
+ Custom = "CUSTOM",
3490
+ /** Gemini 1.5 Flash (Latest) */
3491
+ Gemini_1_5Flash = "GEMINI_1_5_FLASH",
3492
+ /** Gemini 1.5 Pro (Latest) */
3493
+ Gemini_1_5Pro = "GEMINI_1_5_PRO"
3494
+ }
3367
3495
  /** Represents a knowledge graph. */
3368
3496
  export type Graph = {
3369
3497
  __typename?: 'Graph';
@@ -3499,12 +3627,20 @@ export declare enum GroqModels {
3499
3627
  Llama_3_1_70B = "LLAMA_3_1_70B",
3500
3628
  /** LLaMA 3.1 405b */
3501
3629
  Llama_3_1_405B = "LLAMA_3_1_405B",
3630
+ /** LLaMA 3.2 1b Preview */
3631
+ Llama_3_2_1BPreview = "LLAMA_3_2_1B_PREVIEW",
3632
+ /** LLaMA 3.2 3b Preview */
3633
+ Llama_3_2_3BPreview = "LLAMA_3_2_3B_PREVIEW",
3634
+ /** LLaMA 3.2 11b Text Preview */
3635
+ Llama_3_2_11BTextPreview = "LLAMA_3_2_11B_TEXT_PREVIEW",
3636
+ /** LLaMA 3.2 90b Text Preview */
3637
+ Llama_3_2_90BTextPreview = "LLAMA_3_2_90B_TEXT_PREVIEW",
3502
3638
  /** LLaMA 3 8b */
3503
3639
  Llama_3_8B = "LLAMA_3_8B",
3504
3640
  /** LLaMA 3 70b */
3505
3641
  Llama_3_70B = "LLAMA_3_70B",
3506
- /** LLaVA 1.5 7B */
3507
- Llava_1_5_7B = "LLAVA_1_5_7B",
3642
+ /** LLaVA 1.5 7B Preview */
3643
+ Llava_1_5_7BPreview = "LLAVA_1_5_7B_PREVIEW",
3508
3644
  /** Mixtral 8x7b Instruct */
3509
3645
  Mixtral_8X7BInstruct = "MIXTRAL_8X7B_INSTRUCT"
3510
3646
  }
@@ -6081,10 +6217,14 @@ export declare enum ModelServiceTypes {
6081
6217
  Anthropic = "ANTHROPIC",
6082
6218
  /** Azure OpenAI */
6083
6219
  AzureOpenAi = "AZURE_OPEN_AI",
6220
+ /** Cerebras */
6221
+ Cerebras = "CEREBRAS",
6084
6222
  /** Cohere */
6085
6223
  Cohere = "COHERE",
6086
6224
  /** Deepseek */
6087
6225
  Deepseek = "DEEPSEEK",
6226
+ /** Google */
6227
+ Google = "GOOGLE",
6088
6228
  /** Groq */
6089
6229
  Groq = "GROQ",
6090
6230
  /** Mistral */
@@ -6958,6 +7098,7 @@ export type MutationPromptConversationArgs = {
6958
7098
  correlationId?: InputMaybe<Scalars['String']['input']>;
6959
7099
  id?: InputMaybe<Scalars['ID']['input']>;
6960
7100
  prompt: Scalars['String']['input'];
7101
+ specification?: InputMaybe<EntityReferenceInput>;
6961
7102
  };
6962
7103
  export type MutationPromptSpecificationsArgs = {
6963
7104
  correlationId?: InputMaybe<Scalars['String']['input']>;
@@ -10350,6 +10491,8 @@ export type Specification = {
10350
10491
  anthropic?: Maybe<AnthropicModelProperties>;
10351
10492
  /** The Azure OpenAI model properties. */
10352
10493
  azureOpenAI?: Maybe<AzureOpenAiModelProperties>;
10494
+ /** The Cerebras model properties. */
10495
+ cerebras?: Maybe<CerebrasModelProperties>;
10353
10496
  /** The Cohere model properties. */
10354
10497
  cohere?: Maybe<CohereModelProperties>;
10355
10498
  /** The creation date of the specification. */
@@ -10360,6 +10503,8 @@ export type Specification = {
10360
10503
  customInstructions?: Maybe<Scalars['String']['output']>;
10361
10504
  /** The Deepseek model properties. */
10362
10505
  deepseek?: Maybe<DeepseekModelProperties>;
10506
+ /** The Google model properties. */
10507
+ google?: Maybe<GoogleModelProperties>;
10363
10508
  /** The strategy for GraphRAG retrieval. */
10364
10509
  graphStrategy?: Maybe<GraphStrategy>;
10365
10510
  /** The Groq model properties. */
@@ -10436,6 +10581,8 @@ export type SpecificationInput = {
10436
10581
  anthropic?: InputMaybe<AnthropicModelPropertiesInput>;
10437
10582
  /** The Azure OpenAI model properties. */
10438
10583
  azureOpenAI?: InputMaybe<AzureOpenAiModelPropertiesInput>;
10584
+ /** The Cerebras model properties. */
10585
+ cerebras?: InputMaybe<CerebrasModelPropertiesInput>;
10439
10586
  /** The Cohere model properties. */
10440
10587
  cohere?: InputMaybe<CohereModelPropertiesInput>;
10441
10588
  /** Custom guidance which is injected into the LLM conversation prompt. */
@@ -10444,6 +10591,8 @@ export type SpecificationInput = {
10444
10591
  customInstructions?: InputMaybe<Scalars['String']['input']>;
10445
10592
  /** The Deepseek model properties. */
10446
10593
  deepseek?: InputMaybe<DeepseekModelPropertiesInput>;
10594
+ /** The Google model properties. */
10595
+ google?: InputMaybe<GoogleModelPropertiesInput>;
10447
10596
  /** The strategy for GraphRAG retrieval. */
10448
10597
  graphStrategy?: InputMaybe<GraphStrategyInput>;
10449
10598
  /** The Groq model properties. */
@@ -10500,6 +10649,8 @@ export type SpecificationUpdateInput = {
10500
10649
  anthropic?: InputMaybe<AnthropicModelPropertiesUpdateInput>;
10501
10650
  /** The Azure OpenAI model properties. */
10502
10651
  azureOpenAI?: InputMaybe<AzureOpenAiModelPropertiesUpdateInput>;
10652
+ /** The Cerebras model properties. */
10653
+ cerebras?: InputMaybe<CerebrasModelPropertiesUpdateInput>;
10503
10654
  /** The Cohere model properties. */
10504
10655
  cohere?: InputMaybe<CohereModelPropertiesUpdateInput>;
10505
10656
  /** Custom guidance which is injected into the LLM conversation prompt. */
@@ -10508,6 +10659,8 @@ export type SpecificationUpdateInput = {
10508
10659
  customInstructions?: InputMaybe<Scalars['String']['input']>;
10509
10660
  /** The Deepseek model properties. */
10510
10661
  deepseek?: InputMaybe<DeepseekModelPropertiesUpdateInput>;
10662
+ /** The Google model properties. */
10663
+ google?: InputMaybe<GoogleModelPropertiesUpdateInput>;
10511
10664
  /** The strategy for GraphRAG retrieval. */
10512
10665
  graphStrategy?: InputMaybe<GraphStrategyUpdateInput>;
10513
10666
  /** The Groq model properties. */
@@ -12072,6 +12225,7 @@ export type GetContentQuery = {
12072
12225
  pages?: Array<{
12073
12226
  __typename?: 'TextPage';
12074
12227
  index?: number | null;
12228
+ relevance?: number | null;
12075
12229
  chunks?: Array<{
12076
12230
  __typename?: 'TextChunk';
12077
12231
  index?: number | null;
@@ -12503,6 +12657,7 @@ export type QueryContentsQuery = {
12503
12657
  pages?: Array<{
12504
12658
  __typename?: 'TextPage';
12505
12659
  index?: number | null;
12660
+ relevance?: number | null;
12506
12661
  chunks?: Array<{
12507
12662
  __typename?: 'TextChunk';
12508
12663
  index?: number | null;
@@ -12779,6 +12934,7 @@ export type QueryContentsFacetsQuery = {
12779
12934
  pages?: Array<{
12780
12935
  __typename?: 'TextPage';
12781
12936
  index?: number | null;
12937
+ relevance?: number | null;
12782
12938
  chunks?: Array<{
12783
12939
  __typename?: 'TextChunk';
12784
12940
  index?: number | null;
@@ -13309,6 +13465,7 @@ export type GetConversationQuery = {
13309
13465
  export type PromptConversationMutationVariables = Exact<{
13310
13466
  prompt: Scalars['String']['input'];
13311
13467
  id?: InputMaybe<Scalars['ID']['input']>;
13468
+ specification?: InputMaybe<EntityReferenceInput>;
13312
13469
  correlationId?: InputMaybe<Scalars['String']['input']>;
13313
13470
  }>;
13314
13471
  export type PromptConversationMutation = {
@@ -16894,6 +17051,16 @@ export type GetSpecificationQuery = {
16894
17051
  temperature?: number | null;
16895
17052
  probability?: number | null;
16896
17053
  } | null;
17054
+ google?: {
17055
+ __typename?: 'GoogleModelProperties';
17056
+ tokenLimit?: number | null;
17057
+ completionTokenLimit?: number | null;
17058
+ model: GoogleModels;
17059
+ key?: string | null;
17060
+ modelName?: string | null;
17061
+ temperature?: number | null;
17062
+ probability?: number | null;
17063
+ } | null;
16897
17064
  replicate?: {
16898
17065
  __typename?: 'ReplicateModelProperties';
16899
17066
  tokenLimit?: number | null;
@@ -16926,6 +17093,17 @@ export type GetSpecificationQuery = {
16926
17093
  temperature?: number | null;
16927
17094
  probability?: number | null;
16928
17095
  } | null;
17096
+ cerebras?: {
17097
+ __typename?: 'CerebrasModelProperties';
17098
+ tokenLimit?: number | null;
17099
+ completionTokenLimit?: number | null;
17100
+ model: CerebrasModels;
17101
+ key?: string | null;
17102
+ modelName?: string | null;
17103
+ endpoint?: any | null;
17104
+ temperature?: number | null;
17105
+ probability?: number | null;
17106
+ } | null;
16929
17107
  deepseek?: {
16930
17108
  __typename?: 'DeepseekModelProperties';
16931
17109
  tokenLimit?: number | null;
@@ -17184,6 +17362,16 @@ export type QuerySpecificationsQuery = {
17184
17362
  temperature?: number | null;
17185
17363
  probability?: number | null;
17186
17364
  } | null;
17365
+ google?: {
17366
+ __typename?: 'GoogleModelProperties';
17367
+ tokenLimit?: number | null;
17368
+ completionTokenLimit?: number | null;
17369
+ model: GoogleModels;
17370
+ key?: string | null;
17371
+ modelName?: string | null;
17372
+ temperature?: number | null;
17373
+ probability?: number | null;
17374
+ } | null;
17187
17375
  replicate?: {
17188
17376
  __typename?: 'ReplicateModelProperties';
17189
17377
  tokenLimit?: number | null;
@@ -17216,6 +17404,17 @@ export type QuerySpecificationsQuery = {
17216
17404
  temperature?: number | null;
17217
17405
  probability?: number | null;
17218
17406
  } | null;
17407
+ cerebras?: {
17408
+ __typename?: 'CerebrasModelProperties';
17409
+ tokenLimit?: number | null;
17410
+ completionTokenLimit?: number | null;
17411
+ model: CerebrasModels;
17412
+ key?: string | null;
17413
+ modelName?: string | null;
17414
+ endpoint?: any | null;
17415
+ temperature?: number | null;
17416
+ probability?: number | null;
17417
+ } | null;
17219
17418
  deepseek?: {
17220
17419
  __typename?: 'DeepseekModelProperties';
17221
17420
  tokenLimit?: number | null;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MedicalDeviceFacetTypes = exports.MedicalContraindicationFacetTypes = exports.MedicalConditionFacetTypes = exports.MailSensitivity = exports.MailPriority = exports.MailImportance = exports.LinkTypes = exports.LabelFacetTypes = exports.IntegrationServiceTypes = exports.ImageProjectionTypes = exports.H3ResolutionTypes = exports.GroqModels = exports.GraphStrategyTypes = 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.DeepseekModels = exports.DeepgramModels = exports.ConversationTypes = exports.ConversationStrategyTypes = exports.ConversationSearchTypes = exports.ConversationRoleTypes = exports.ContentTypes = exports.ContentPublishingServiceTypes = exports.ContentPublishingFormats = exports.ContentIndexingServiceTypes = exports.ContentFacetTypes = exports.CollectionTypes = exports.CohereModels = exports.CategoryFacetTypes = exports.BillableMetrics = exports.AzureOpenAiModels = exports.AzureDocumentIntelligenceVersions = 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.SearchServiceTypes = exports.SearchQueryTypes = exports.RevisionStrategyTypes = 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.OperationTypes = exports.OpenAiVisionDetailLevels = exports.OpenAiModels = exports.OccurrenceTypes = exports.ObservableTypes = exports.NotionTypes = exports.ModelServiceTypes = exports.MistralModels = exports.MetadataTypes = exports.MedicalTherapyFacetTypes = exports.MedicalTestFacetTypes = exports.MedicalStudyFacetTypes = exports.MedicalProcedureFacetTypes = exports.MedicalIndicationFacetTypes = exports.MedicalGuidelineFacetTypes = exports.MedicalDrugFacetTypes = exports.MedicalDrugClassFacetTypes = void 0;
3
+ exports.MedicalConditionFacetTypes = exports.MailSensitivity = exports.MailPriority = exports.MailImportance = exports.LinkTypes = exports.LabelFacetTypes = exports.IntegrationServiceTypes = exports.ImageProjectionTypes = exports.H3ResolutionTypes = exports.GroqModels = exports.GraphStrategyTypes = exports.GoogleModels = 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.DeepseekModels = exports.DeepgramModels = exports.ConversationTypes = exports.ConversationStrategyTypes = exports.ConversationSearchTypes = exports.ConversationRoleTypes = exports.ContentTypes = exports.ContentPublishingServiceTypes = exports.ContentPublishingFormats = exports.ContentIndexingServiceTypes = exports.ContentFacetTypes = exports.CollectionTypes = exports.CohereModels = exports.CerebrasModels = exports.CategoryFacetTypes = exports.BillableMetrics = exports.AzureOpenAiModels = exports.AzureDocumentIntelligenceVersions = 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.SearchServiceTypes = exports.SearchQueryTypes = exports.RevisionStrategyTypes = 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.OperationTypes = exports.OpenAiVisionDetailLevels = exports.OpenAiModels = exports.OccurrenceTypes = exports.ObservableTypes = exports.NotionTypes = exports.ModelServiceTypes = exports.MistralModels = exports.MetadataTypes = exports.MedicalTherapyFacetTypes = exports.MedicalTestFacetTypes = exports.MedicalStudyFacetTypes = exports.MedicalProcedureFacetTypes = exports.MedicalIndicationFacetTypes = exports.MedicalGuidelineFacetTypes = exports.MedicalDrugFacetTypes = exports.MedicalDrugClassFacetTypes = exports.MedicalDeviceFacetTypes = exports.MedicalContraindicationFacetTypes = void 0;
5
5
  /** Alert type */
6
6
  var AlertTypes;
7
7
  (function (AlertTypes) {
@@ -114,6 +114,16 @@ var CategoryFacetTypes;
114
114
  /** Creation Date */
115
115
  CategoryFacetTypes["CreationDate"] = "CREATION_DATE";
116
116
  })(CategoryFacetTypes || (exports.CategoryFacetTypes = CategoryFacetTypes = {}));
117
+ /** Cerebras model type */
118
+ var CerebrasModels;
119
+ (function (CerebrasModels) {
120
+ /** Developer-specified model */
121
+ CerebrasModels["Custom"] = "CUSTOM";
122
+ /** LLaMA 3.1 8b */
123
+ CerebrasModels["Llama_3_1_8B"] = "LLAMA_3_1_8B";
124
+ /** LLaMA 3.1 70b */
125
+ CerebrasModels["Llama_3_1_70B"] = "LLAMA_3_1_70B";
126
+ })(CerebrasModels || (exports.CerebrasModels = CerebrasModels = {}));
117
127
  /** Cohere model type */
118
128
  var CohereModels;
119
129
  (function (CohereModels) {
@@ -682,6 +692,16 @@ var FileTypes;
682
692
  /** Video file */
683
693
  FileTypes["Video"] = "VIDEO";
684
694
  })(FileTypes || (exports.FileTypes = FileTypes = {}));
695
+ /** Google model type */
696
+ var GoogleModels;
697
+ (function (GoogleModels) {
698
+ /** Developer-specified model */
699
+ GoogleModels["Custom"] = "CUSTOM";
700
+ /** Gemini 1.5 Flash (Latest) */
701
+ GoogleModels["Gemini_1_5Flash"] = "GEMINI_1_5_FLASH";
702
+ /** Gemini 1.5 Pro (Latest) */
703
+ GoogleModels["Gemini_1_5Pro"] = "GEMINI_1_5_PRO";
704
+ })(GoogleModels || (exports.GoogleModels = GoogleModels = {}));
685
705
  /** GraphRAG strategies */
686
706
  var GraphStrategyTypes;
687
707
  (function (GraphStrategyTypes) {
@@ -703,12 +723,20 @@ var GroqModels;
703
723
  GroqModels["Llama_3_1_70B"] = "LLAMA_3_1_70B";
704
724
  /** LLaMA 3.1 405b */
705
725
  GroqModels["Llama_3_1_405B"] = "LLAMA_3_1_405B";
726
+ /** LLaMA 3.2 1b Preview */
727
+ GroqModels["Llama_3_2_1BPreview"] = "LLAMA_3_2_1B_PREVIEW";
728
+ /** LLaMA 3.2 3b Preview */
729
+ GroqModels["Llama_3_2_3BPreview"] = "LLAMA_3_2_3B_PREVIEW";
730
+ /** LLaMA 3.2 11b Text Preview */
731
+ GroqModels["Llama_3_2_11BTextPreview"] = "LLAMA_3_2_11B_TEXT_PREVIEW";
732
+ /** LLaMA 3.2 90b Text Preview */
733
+ GroqModels["Llama_3_2_90BTextPreview"] = "LLAMA_3_2_90B_TEXT_PREVIEW";
706
734
  /** LLaMA 3 8b */
707
735
  GroqModels["Llama_3_8B"] = "LLAMA_3_8B";
708
736
  /** LLaMA 3 70b */
709
737
  GroqModels["Llama_3_70B"] = "LLAMA_3_70B";
710
- /** LLaVA 1.5 7B */
711
- GroqModels["Llava_1_5_7B"] = "LLAVA_1_5_7B";
738
+ /** LLaVA 1.5 7B Preview */
739
+ GroqModels["Llava_1_5_7BPreview"] = "LLAVA_1_5_7B_PREVIEW";
712
740
  /** Mixtral 8x7b Instruct */
713
741
  GroqModels["Mixtral_8X7BInstruct"] = "MIXTRAL_8X7B_INSTRUCT";
714
742
  })(GroqModels || (exports.GroqModels = GroqModels = {}));
@@ -989,10 +1017,14 @@ var ModelServiceTypes;
989
1017
  ModelServiceTypes["Anthropic"] = "ANTHROPIC";
990
1018
  /** Azure OpenAI */
991
1019
  ModelServiceTypes["AzureOpenAi"] = "AZURE_OPEN_AI";
1020
+ /** Cerebras */
1021
+ ModelServiceTypes["Cerebras"] = "CEREBRAS";
992
1022
  /** Cohere */
993
1023
  ModelServiceTypes["Cohere"] = "COHERE";
994
1024
  /** Deepseek */
995
1025
  ModelServiceTypes["Deepseek"] = "DEEPSEEK";
1026
+ /** Google */
1027
+ ModelServiceTypes["Google"] = "GOOGLE";
996
1028
  /** Groq */
997
1029
  ModelServiceTypes["Groq"] = "GROQ";
998
1030
  /** Mistral */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20240914001",
3
+ "version": "1.0.20240927001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",