graphlit-client 1.0.20240914001 → 1.0.20240927002

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,22 @@ 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 11b Vision Preview */
3637
+ Llama_3_2_11BVisionPreview = "LLAMA_3_2_11B_VISION_PREVIEW",
3638
+ /** LLaMA 3.2 90b Text Preview */
3639
+ Llama_3_2_90BTextPreview = "LLAMA_3_2_90B_TEXT_PREVIEW",
3502
3640
  /** LLaMA 3 8b */
3503
3641
  Llama_3_8B = "LLAMA_3_8B",
3504
3642
  /** LLaMA 3 70b */
3505
3643
  Llama_3_70B = "LLAMA_3_70B",
3506
- /** LLaVA 1.5 7B */
3507
- Llava_1_5_7B = "LLAVA_1_5_7B",
3644
+ /** LLaVA 1.5 7B Preview */
3645
+ Llava_1_5_7BPreview = "LLAVA_1_5_7B_PREVIEW",
3508
3646
  /** Mixtral 8x7b Instruct */
3509
3647
  Mixtral_8X7BInstruct = "MIXTRAL_8X7B_INSTRUCT"
3510
3648
  }
@@ -6081,10 +6219,14 @@ export declare enum ModelServiceTypes {
6081
6219
  Anthropic = "ANTHROPIC",
6082
6220
  /** Azure OpenAI */
6083
6221
  AzureOpenAi = "AZURE_OPEN_AI",
6222
+ /** Cerebras */
6223
+ Cerebras = "CEREBRAS",
6084
6224
  /** Cohere */
6085
6225
  Cohere = "COHERE",
6086
6226
  /** Deepseek */
6087
6227
  Deepseek = "DEEPSEEK",
6228
+ /** Google */
6229
+ Google = "GOOGLE",
6088
6230
  /** Groq */
6089
6231
  Groq = "GROQ",
6090
6232
  /** Mistral */
@@ -6958,6 +7100,7 @@ export type MutationPromptConversationArgs = {
6958
7100
  correlationId?: InputMaybe<Scalars['String']['input']>;
6959
7101
  id?: InputMaybe<Scalars['ID']['input']>;
6960
7102
  prompt: Scalars['String']['input'];
7103
+ specification?: InputMaybe<EntityReferenceInput>;
6961
7104
  };
6962
7105
  export type MutationPromptSpecificationsArgs = {
6963
7106
  correlationId?: InputMaybe<Scalars['String']['input']>;
@@ -10350,6 +10493,8 @@ export type Specification = {
10350
10493
  anthropic?: Maybe<AnthropicModelProperties>;
10351
10494
  /** The Azure OpenAI model properties. */
10352
10495
  azureOpenAI?: Maybe<AzureOpenAiModelProperties>;
10496
+ /** The Cerebras model properties. */
10497
+ cerebras?: Maybe<CerebrasModelProperties>;
10353
10498
  /** The Cohere model properties. */
10354
10499
  cohere?: Maybe<CohereModelProperties>;
10355
10500
  /** The creation date of the specification. */
@@ -10360,6 +10505,8 @@ export type Specification = {
10360
10505
  customInstructions?: Maybe<Scalars['String']['output']>;
10361
10506
  /** The Deepseek model properties. */
10362
10507
  deepseek?: Maybe<DeepseekModelProperties>;
10508
+ /** The Google model properties. */
10509
+ google?: Maybe<GoogleModelProperties>;
10363
10510
  /** The strategy for GraphRAG retrieval. */
10364
10511
  graphStrategy?: Maybe<GraphStrategy>;
10365
10512
  /** The Groq model properties. */
@@ -10436,6 +10583,8 @@ export type SpecificationInput = {
10436
10583
  anthropic?: InputMaybe<AnthropicModelPropertiesInput>;
10437
10584
  /** The Azure OpenAI model properties. */
10438
10585
  azureOpenAI?: InputMaybe<AzureOpenAiModelPropertiesInput>;
10586
+ /** The Cerebras model properties. */
10587
+ cerebras?: InputMaybe<CerebrasModelPropertiesInput>;
10439
10588
  /** The Cohere model properties. */
10440
10589
  cohere?: InputMaybe<CohereModelPropertiesInput>;
10441
10590
  /** Custom guidance which is injected into the LLM conversation prompt. */
@@ -10444,6 +10593,8 @@ export type SpecificationInput = {
10444
10593
  customInstructions?: InputMaybe<Scalars['String']['input']>;
10445
10594
  /** The Deepseek model properties. */
10446
10595
  deepseek?: InputMaybe<DeepseekModelPropertiesInput>;
10596
+ /** The Google model properties. */
10597
+ google?: InputMaybe<GoogleModelPropertiesInput>;
10447
10598
  /** The strategy for GraphRAG retrieval. */
10448
10599
  graphStrategy?: InputMaybe<GraphStrategyInput>;
10449
10600
  /** The Groq model properties. */
@@ -10500,6 +10651,8 @@ export type SpecificationUpdateInput = {
10500
10651
  anthropic?: InputMaybe<AnthropicModelPropertiesUpdateInput>;
10501
10652
  /** The Azure OpenAI model properties. */
10502
10653
  azureOpenAI?: InputMaybe<AzureOpenAiModelPropertiesUpdateInput>;
10654
+ /** The Cerebras model properties. */
10655
+ cerebras?: InputMaybe<CerebrasModelPropertiesUpdateInput>;
10503
10656
  /** The Cohere model properties. */
10504
10657
  cohere?: InputMaybe<CohereModelPropertiesUpdateInput>;
10505
10658
  /** Custom guidance which is injected into the LLM conversation prompt. */
@@ -10508,6 +10661,8 @@ export type SpecificationUpdateInput = {
10508
10661
  customInstructions?: InputMaybe<Scalars['String']['input']>;
10509
10662
  /** The Deepseek model properties. */
10510
10663
  deepseek?: InputMaybe<DeepseekModelPropertiesUpdateInput>;
10664
+ /** The Google model properties. */
10665
+ google?: InputMaybe<GoogleModelPropertiesUpdateInput>;
10511
10666
  /** The strategy for GraphRAG retrieval. */
10512
10667
  graphStrategy?: InputMaybe<GraphStrategyUpdateInput>;
10513
10668
  /** The Groq model properties. */
@@ -12072,6 +12227,7 @@ export type GetContentQuery = {
12072
12227
  pages?: Array<{
12073
12228
  __typename?: 'TextPage';
12074
12229
  index?: number | null;
12230
+ relevance?: number | null;
12075
12231
  chunks?: Array<{
12076
12232
  __typename?: 'TextChunk';
12077
12233
  index?: number | null;
@@ -12503,6 +12659,7 @@ export type QueryContentsQuery = {
12503
12659
  pages?: Array<{
12504
12660
  __typename?: 'TextPage';
12505
12661
  index?: number | null;
12662
+ relevance?: number | null;
12506
12663
  chunks?: Array<{
12507
12664
  __typename?: 'TextChunk';
12508
12665
  index?: number | null;
@@ -12779,6 +12936,7 @@ export type QueryContentsFacetsQuery = {
12779
12936
  pages?: Array<{
12780
12937
  __typename?: 'TextPage';
12781
12938
  index?: number | null;
12939
+ relevance?: number | null;
12782
12940
  chunks?: Array<{
12783
12941
  __typename?: 'TextChunk';
12784
12942
  index?: number | null;
@@ -13309,6 +13467,7 @@ export type GetConversationQuery = {
13309
13467
  export type PromptConversationMutationVariables = Exact<{
13310
13468
  prompt: Scalars['String']['input'];
13311
13469
  id?: InputMaybe<Scalars['ID']['input']>;
13470
+ specification?: InputMaybe<EntityReferenceInput>;
13312
13471
  correlationId?: InputMaybe<Scalars['String']['input']>;
13313
13472
  }>;
13314
13473
  export type PromptConversationMutation = {
@@ -16894,6 +17053,16 @@ export type GetSpecificationQuery = {
16894
17053
  temperature?: number | null;
16895
17054
  probability?: number | null;
16896
17055
  } | null;
17056
+ google?: {
17057
+ __typename?: 'GoogleModelProperties';
17058
+ tokenLimit?: number | null;
17059
+ completionTokenLimit?: number | null;
17060
+ model: GoogleModels;
17061
+ key?: string | null;
17062
+ modelName?: string | null;
17063
+ temperature?: number | null;
17064
+ probability?: number | null;
17065
+ } | null;
16897
17066
  replicate?: {
16898
17067
  __typename?: 'ReplicateModelProperties';
16899
17068
  tokenLimit?: number | null;
@@ -16926,6 +17095,17 @@ export type GetSpecificationQuery = {
16926
17095
  temperature?: number | null;
16927
17096
  probability?: number | null;
16928
17097
  } | null;
17098
+ cerebras?: {
17099
+ __typename?: 'CerebrasModelProperties';
17100
+ tokenLimit?: number | null;
17101
+ completionTokenLimit?: number | null;
17102
+ model: CerebrasModels;
17103
+ key?: string | null;
17104
+ modelName?: string | null;
17105
+ endpoint?: any | null;
17106
+ temperature?: number | null;
17107
+ probability?: number | null;
17108
+ } | null;
16929
17109
  deepseek?: {
16930
17110
  __typename?: 'DeepseekModelProperties';
16931
17111
  tokenLimit?: number | null;
@@ -17184,6 +17364,16 @@ export type QuerySpecificationsQuery = {
17184
17364
  temperature?: number | null;
17185
17365
  probability?: number | null;
17186
17366
  } | null;
17367
+ google?: {
17368
+ __typename?: 'GoogleModelProperties';
17369
+ tokenLimit?: number | null;
17370
+ completionTokenLimit?: number | null;
17371
+ model: GoogleModels;
17372
+ key?: string | null;
17373
+ modelName?: string | null;
17374
+ temperature?: number | null;
17375
+ probability?: number | null;
17376
+ } | null;
17187
17377
  replicate?: {
17188
17378
  __typename?: 'ReplicateModelProperties';
17189
17379
  tokenLimit?: number | null;
@@ -17216,6 +17406,17 @@ export type QuerySpecificationsQuery = {
17216
17406
  temperature?: number | null;
17217
17407
  probability?: number | null;
17218
17408
  } | null;
17409
+ cerebras?: {
17410
+ __typename?: 'CerebrasModelProperties';
17411
+ tokenLimit?: number | null;
17412
+ completionTokenLimit?: number | null;
17413
+ model: CerebrasModels;
17414
+ key?: string | null;
17415
+ modelName?: string | null;
17416
+ endpoint?: any | null;
17417
+ temperature?: number | null;
17418
+ probability?: number | null;
17419
+ } | null;
17219
17420
  deepseek?: {
17220
17421
  __typename?: 'DeepseekModelProperties';
17221
17422
  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,22 @@ 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 11b Vision Preview */
733
+ GroqModels["Llama_3_2_11BVisionPreview"] = "LLAMA_3_2_11B_VISION_PREVIEW";
734
+ /** LLaMA 3.2 90b Text Preview */
735
+ GroqModels["Llama_3_2_90BTextPreview"] = "LLAMA_3_2_90B_TEXT_PREVIEW";
706
736
  /** LLaMA 3 8b */
707
737
  GroqModels["Llama_3_8B"] = "LLAMA_3_8B";
708
738
  /** LLaMA 3 70b */
709
739
  GroqModels["Llama_3_70B"] = "LLAMA_3_70B";
710
- /** LLaVA 1.5 7B */
711
- GroqModels["Llava_1_5_7B"] = "LLAVA_1_5_7B";
740
+ /** LLaVA 1.5 7B Preview */
741
+ GroqModels["Llava_1_5_7BPreview"] = "LLAVA_1_5_7B_PREVIEW";
712
742
  /** Mixtral 8x7b Instruct */
713
743
  GroqModels["Mixtral_8X7BInstruct"] = "MIXTRAL_8X7B_INSTRUCT";
714
744
  })(GroqModels || (exports.GroqModels = GroqModels = {}));
@@ -989,10 +1019,14 @@ var ModelServiceTypes;
989
1019
  ModelServiceTypes["Anthropic"] = "ANTHROPIC";
990
1020
  /** Azure OpenAI */
991
1021
  ModelServiceTypes["AzureOpenAi"] = "AZURE_OPEN_AI";
1022
+ /** Cerebras */
1023
+ ModelServiceTypes["Cerebras"] = "CEREBRAS";
992
1024
  /** Cohere */
993
1025
  ModelServiceTypes["Cohere"] = "COHERE";
994
1026
  /** Deepseek */
995
1027
  ModelServiceTypes["Deepseek"] = "DEEPSEEK";
1028
+ /** Google */
1029
+ ModelServiceTypes["Google"] = "GOOGLE";
996
1030
  /** Groq */
997
1031
  ModelServiceTypes["Groq"] = "GROQ";
998
1032
  /** 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.20240927002",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",