graphlit-client 1.0.20241022001 → 1.0.20241104001

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.
@@ -4908,6 +4908,7 @@ exports.GetSpecification = (0, graphql_tag_1.default) `
4908
4908
  retrievalStrategy {
4909
4909
  type
4910
4910
  contentLimit
4911
+ disableFallback
4911
4912
  }
4912
4913
  rerankingStrategy {
4913
4914
  serviceType
@@ -5210,6 +5211,7 @@ exports.QuerySpecifications = (0, graphql_tag_1.default) `
5210
5211
  retrievalStrategy {
5211
5212
  type
5212
5213
  contentLimit
5214
+ disableFallback
5213
5215
  }
5214
5216
  rerankingStrategy {
5215
5217
  serviceType
@@ -363,6 +363,10 @@ export declare enum AnthropicModels {
363
363
  Claude_2_0 = "CLAUDE_2_0",
364
364
  /** @deprecated Use Claude 3.x instead. */
365
365
  Claude_2_1 = "CLAUDE_2_1",
366
+ /** Claude 3.5 Haiku (Latest) */
367
+ Claude_3_5Haiku = "CLAUDE_3_5_HAIKU",
368
+ /** Claude 3.5 Haiku (10-22-2024 version) */
369
+ Claude_3_5Haiku_20241022 = "CLAUDE_3_5_HAIKU_20241022",
366
370
  /** Claude 3.5 Sonnet (Latest) */
367
371
  Claude_3_5Sonnet = "CLAUDE_3_5_SONNET",
368
372
  /** Claude 3.5 Sonnet (06-20-2024 version) */
@@ -381,9 +385,9 @@ export declare enum AnthropicModels {
381
385
  Claude_3Sonnet = "CLAUDE_3_SONNET",
382
386
  /** Claude 3 Sonnet (02-29-2024 version) */
383
387
  Claude_3Sonnet_20240229 = "CLAUDE_3_SONNET_20240229",
384
- /** @deprecated Use Claude 3 Haiku instead. */
388
+ /** @deprecated Use Claude 3.5 Haiku instead. */
385
389
  ClaudeInstant_1 = "CLAUDE_INSTANT_1",
386
- /** @deprecated Use Claude 3 Haiku instead. */
390
+ /** @deprecated Use Claude 3.5 Haiku instead. */
387
391
  ClaudeInstant_1_2 = "CLAUDE_INSTANT_1_2",
388
392
  /** Developer-specified model */
389
393
  Custom = "CUSTOM"
@@ -1803,7 +1807,7 @@ export type ConversationInput = {
1803
1807
  /** Filter content for conversation, optional. */
1804
1808
  filter?: InputMaybe<ContentCriteriaInput>;
1805
1809
  /** The conversation messages. */
1806
- messages?: InputMaybe<Array<InputMaybe<ConversationMessageInput>>>;
1810
+ messages?: InputMaybe<Array<ConversationMessageInput>>;
1807
1811
  /** The name of the conversation. */
1808
1812
  name: Scalars['String']['input'];
1809
1813
  /** The LLM specification used by this conversation, optional. */
@@ -1926,8 +1930,8 @@ export type ConversationToolCall = {
1926
1930
  __typename?: 'ConversationToolCall';
1927
1931
  /** The tool arguments. */
1928
1932
  arguments: Scalars['String']['output'];
1929
- /** The tool identifier. */
1930
- id?: Maybe<Scalars['String']['output']>;
1933
+ /** The tool call identifier. */
1934
+ id: Scalars['String']['output'];
1931
1935
  /** The tool name. */
1932
1936
  name: Scalars['String']['output'];
1933
1937
  };
@@ -10240,6 +10244,8 @@ export type RetrievalStrategy = {
10240
10244
  __typename?: 'RetrievalStrategy';
10241
10245
  /** The maximum number of content sources to provide with prompt context. Defaults to 25. */
10242
10246
  contentLimit?: Maybe<Scalars['Int']['output']>;
10247
+ /** Whether to disable fallback to previous contents, when no contents are found by semantic search. Defaults to false. */
10248
+ disableFallback?: Maybe<Scalars['Boolean']['output']>;
10243
10249
  /** The retrieval strategy type. */
10244
10250
  type: RetrievalStrategyTypes;
10245
10251
  };
@@ -10247,6 +10253,8 @@ export type RetrievalStrategy = {
10247
10253
  export type RetrievalStrategyInput = {
10248
10254
  /** The maximum number of content sources to provide with prompt context. Defaults to 25. */
10249
10255
  contentLimit?: InputMaybe<Scalars['Int']['input']>;
10256
+ /** Whether to disable fallback to previous contents, when no contents are found by semantic search. Defaults to false. */
10257
+ disableFallback?: InputMaybe<Scalars['Boolean']['input']>;
10250
10258
  /** The retrieval strategy type. */
10251
10259
  type: RetrievalStrategyTypes;
10252
10260
  };
@@ -13601,7 +13609,7 @@ export type ContinueConversationMutation = {
13601
13609
  } | null> | null;
13602
13610
  toolCalls?: Array<{
13603
13611
  __typename?: 'ConversationToolCall';
13604
- id?: string | null;
13612
+ id: string;
13605
13613
  name: string;
13606
13614
  arguments: string;
13607
13615
  } | null> | null;
@@ -13847,7 +13855,7 @@ export type GetConversationQuery = {
13847
13855
  } | null> | null;
13848
13856
  toolCalls?: Array<{
13849
13857
  __typename?: 'ConversationToolCall';
13850
- id?: string | null;
13858
+ id: string;
13851
13859
  name: string;
13852
13860
  arguments: string;
13853
13861
  } | null> | null;
@@ -14175,7 +14183,7 @@ export type PromptConversationMutation = {
14175
14183
  } | null> | null;
14176
14184
  toolCalls?: Array<{
14177
14185
  __typename?: 'ConversationToolCall';
14178
- id?: string | null;
14186
+ id: string;
14179
14187
  name: string;
14180
14188
  arguments: string;
14181
14189
  } | null> | null;
@@ -14392,7 +14400,7 @@ export type QueryConversationsQuery = {
14392
14400
  } | null> | null;
14393
14401
  toolCalls?: Array<{
14394
14402
  __typename?: 'ConversationToolCall';
14395
- id?: string | null;
14403
+ id: string;
14396
14404
  name: string;
14397
14405
  arguments: string;
14398
14406
  } | null> | null;
@@ -17605,6 +17613,7 @@ export type GetSpecificationQuery = {
17605
17613
  __typename?: 'RetrievalStrategy';
17606
17614
  type: RetrievalStrategyTypes;
17607
17615
  contentLimit?: number | null;
17616
+ disableFallback?: boolean | null;
17608
17617
  } | null;
17609
17618
  rerankingStrategy?: {
17610
17619
  __typename?: 'RerankingStrategy';
@@ -17895,7 +17904,7 @@ export type PromptSpecificationsMutation = {
17895
17904
  } | null> | null;
17896
17905
  toolCalls?: Array<{
17897
17906
  __typename?: 'ConversationToolCall';
17898
- id?: string | null;
17907
+ id: string;
17899
17908
  name: string;
17900
17909
  arguments: string;
17901
17910
  } | null> | null;
@@ -17944,6 +17953,7 @@ export type QuerySpecificationsQuery = {
17944
17953
  __typename?: 'RetrievalStrategy';
17945
17954
  type: RetrievalStrategyTypes;
17946
17955
  contentLimit?: number | null;
17956
+ disableFallback?: boolean | null;
17947
17957
  } | null;
17948
17958
  rerankingStrategy?: {
17949
17959
  __typename?: 'RerankingStrategy';
@@ -18,6 +18,10 @@ var AnthropicModels;
18
18
  AnthropicModels["Claude_2_0"] = "CLAUDE_2_0";
19
19
  /** @deprecated Use Claude 3.x instead. */
20
20
  AnthropicModels["Claude_2_1"] = "CLAUDE_2_1";
21
+ /** Claude 3.5 Haiku (Latest) */
22
+ AnthropicModels["Claude_3_5Haiku"] = "CLAUDE_3_5_HAIKU";
23
+ /** Claude 3.5 Haiku (10-22-2024 version) */
24
+ AnthropicModels["Claude_3_5Haiku_20241022"] = "CLAUDE_3_5_HAIKU_20241022";
21
25
  /** Claude 3.5 Sonnet (Latest) */
22
26
  AnthropicModels["Claude_3_5Sonnet"] = "CLAUDE_3_5_SONNET";
23
27
  /** Claude 3.5 Sonnet (06-20-2024 version) */
@@ -36,9 +40,9 @@ var AnthropicModels;
36
40
  AnthropicModels["Claude_3Sonnet"] = "CLAUDE_3_SONNET";
37
41
  /** Claude 3 Sonnet (02-29-2024 version) */
38
42
  AnthropicModels["Claude_3Sonnet_20240229"] = "CLAUDE_3_SONNET_20240229";
39
- /** @deprecated Use Claude 3 Haiku instead. */
43
+ /** @deprecated Use Claude 3.5 Haiku instead. */
40
44
  AnthropicModels["ClaudeInstant_1"] = "CLAUDE_INSTANT_1";
41
- /** @deprecated Use Claude 3 Haiku instead. */
45
+ /** @deprecated Use Claude 3.5 Haiku instead. */
42
46
  AnthropicModels["ClaudeInstant_1_2"] = "CLAUDE_INSTANT_1_2";
43
47
  /** Developer-specified model */
44
48
  AnthropicModels["Custom"] = "CUSTOM";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20241022001",
3
+ "version": "1.0.20241104001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",