graphlit-client 1.0.20250503001 → 1.0.20250519001

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.
@@ -736,6 +736,8 @@ exports.DescribeEncodedImage = (0, graphql_tag_1.default) `
736
736
  model
737
737
  data
738
738
  mimeType
739
+ toolCallId
740
+ toolCallResponse
739
741
  }
740
742
  }
741
743
  `;
@@ -868,6 +870,8 @@ exports.DescribeImage = (0, graphql_tag_1.default) `
868
870
  model
869
871
  data
870
872
  mimeType
873
+ toolCallId
874
+ toolCallResponse
871
875
  }
872
876
  }
873
877
  `;
@@ -2329,6 +2333,8 @@ exports.AskGraphlit = (0, graphql_tag_1.default) `
2329
2333
  model
2330
2334
  data
2331
2335
  mimeType
2336
+ toolCallId
2337
+ toolCallResponse
2332
2338
  }
2333
2339
  messageCount
2334
2340
  }
@@ -2486,6 +2492,8 @@ exports.CompleteConversation = (0, graphql_tag_1.default) `
2486
2492
  model
2487
2493
  data
2488
2494
  mimeType
2495
+ toolCallId
2496
+ toolCallResponse
2489
2497
  }
2490
2498
  messageCount
2491
2499
  facets {
@@ -2661,6 +2669,8 @@ exports.CompleteConversation = (0, graphql_tag_1.default) `
2661
2669
  model
2662
2670
  data
2663
2671
  mimeType
2672
+ toolCallId
2673
+ toolCallResponse
2664
2674
  }
2665
2675
  }
2666
2676
  }
@@ -2798,6 +2808,8 @@ exports.ContinueConversation = (0, graphql_tag_1.default) `
2798
2808
  model
2799
2809
  data
2800
2810
  mimeType
2811
+ toolCallId
2812
+ toolCallResponse
2801
2813
  }
2802
2814
  messageCount
2803
2815
  facets {
@@ -2973,6 +2985,8 @@ exports.ContinueConversation = (0, graphql_tag_1.default) `
2973
2985
  model
2974
2986
  data
2975
2987
  mimeType
2988
+ toolCallId
2989
+ toolCallResponse
2976
2990
  }
2977
2991
  }
2978
2992
  }
@@ -3157,6 +3171,8 @@ exports.FormatConversation = (0, graphql_tag_1.default) `
3157
3171
  model
3158
3172
  data
3159
3173
  mimeType
3174
+ toolCallId
3175
+ toolCallResponse
3160
3176
  }
3161
3177
  messageCount
3162
3178
  facets {
@@ -3332,6 +3348,8 @@ exports.FormatConversation = (0, graphql_tag_1.default) `
3332
3348
  model
3333
3349
  data
3334
3350
  mimeType
3351
+ toolCallId
3352
+ toolCallResponse
3335
3353
  }
3336
3354
  }
3337
3355
  }
@@ -3472,6 +3490,8 @@ exports.GetConversation = (0, graphql_tag_1.default) `
3472
3490
  model
3473
3491
  data
3474
3492
  mimeType
3493
+ toolCallId
3494
+ toolCallResponse
3475
3495
  }
3476
3496
  specification {
3477
3497
  id
@@ -3785,6 +3805,8 @@ exports.Prompt = (0, graphql_tag_1.default) `
3785
3805
  model
3786
3806
  data
3787
3807
  mimeType
3808
+ toolCallId
3809
+ toolCallResponse
3788
3810
  }
3789
3811
  error
3790
3812
  }
@@ -3928,6 +3950,8 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
3928
3950
  model
3929
3951
  data
3930
3952
  mimeType
3953
+ toolCallId
3954
+ toolCallResponse
3931
3955
  }
3932
3956
  messageCount
3933
3957
  facets {
@@ -4103,6 +4127,8 @@ exports.PromptConversation = (0, graphql_tag_1.default) `
4103
4127
  model
4104
4128
  data
4105
4129
  mimeType
4130
+ toolCallId
4131
+ toolCallResponse
4106
4132
  }
4107
4133
  }
4108
4134
  }
@@ -4367,6 +4393,8 @@ exports.QueryConversations = (0, graphql_tag_1.default) `
4367
4393
  model
4368
4394
  data
4369
4395
  mimeType
4396
+ toolCallId
4397
+ toolCallResponse
4370
4398
  }
4371
4399
  specification {
4372
4400
  id
@@ -4706,6 +4734,8 @@ exports.ReviseContent = (0, graphql_tag_1.default) `
4706
4734
  model
4707
4735
  data
4708
4736
  mimeType
4737
+ toolCallId
4738
+ toolCallResponse
4709
4739
  }
4710
4740
  messageCount
4711
4741
  }
@@ -4846,6 +4876,8 @@ exports.ReviseEncodedImage = (0, graphql_tag_1.default) `
4846
4876
  model
4847
4877
  data
4848
4878
  mimeType
4879
+ toolCallId
4880
+ toolCallResponse
4849
4881
  }
4850
4882
  messageCount
4851
4883
  }
@@ -4985,6 +5017,8 @@ exports.ReviseImage = (0, graphql_tag_1.default) `
4985
5017
  model
4986
5018
  data
4987
5019
  mimeType
5020
+ toolCallId
5021
+ toolCallResponse
4988
5022
  }
4989
5023
  messageCount
4990
5024
  }
@@ -5124,6 +5158,8 @@ exports.ReviseText = (0, graphql_tag_1.default) `
5124
5158
  model
5125
5159
  data
5126
5160
  mimeType
5161
+ toolCallId
5162
+ toolCallResponse
5127
5163
  }
5128
5164
  messageCount
5129
5165
  }
@@ -8157,6 +8193,8 @@ exports.PromptSpecifications = (0, graphql_tag_1.default) `
8157
8193
  model
8158
8194
  data
8159
8195
  mimeType
8196
+ toolCallId
8197
+ toolCallResponse
8160
8198
  }
8161
8199
  error
8162
8200
  }
@@ -975,8 +975,18 @@ export type BedrockModelPropertiesUpdateInput = {
975
975
  };
976
976
  /** Amazon Bedrock model type */
977
977
  export declare enum BedrockModels {
978
+ /** Claude 3.7 Sonnet */
979
+ Claude_3_7Sonnet = "CLAUDE_3_7_SONNET",
978
980
  /** Developer-specified model */
979
- Custom = "CUSTOM"
981
+ Custom = "CUSTOM",
982
+ /** LLaMA 4 Maverick 17b */
983
+ Llama_4Maverick_17B = "LLAMA_4_MAVERICK_17B",
984
+ /** LLaMA 4 Scout 17b */
985
+ Llama_4Scout_17B = "LLAMA_4_SCOUT_17B",
986
+ /** Nova Premier */
987
+ NovaPremier = "NOVA_PREMIER",
988
+ /** Nova Pro */
989
+ NovaPro = "NOVA_PRO"
980
990
  }
981
991
  export declare enum BillableMetrics {
982
992
  Bytes = "BYTES",
@@ -2347,6 +2357,10 @@ export type ConversationMessage = {
2347
2357
  timestamp?: Maybe<Scalars['DateTime']['output']>;
2348
2358
  /** The conversation message token usage, not including RAG context tokens. */
2349
2359
  tokens?: Maybe<Scalars['Int']['output']>;
2360
+ /** The LLM tool call identifier, only provided with tool role. */
2361
+ toolCallId?: Maybe<Scalars['String']['output']>;
2362
+ /** The LLM tool call response, only provided with tool role. */
2363
+ toolCallResponse?: Maybe<Scalars['String']['output']>;
2350
2364
  /** The tools called during the prompting of the conversation. You will need to call continueConversation with the tool responses to continue the conversation. */
2351
2365
  toolCalls?: Maybe<Array<Maybe<ConversationToolCall>>>;
2352
2366
  };
@@ -2375,6 +2389,8 @@ export declare enum ConversationRoleTypes {
2375
2389
  Assistant = "ASSISTANT",
2376
2390
  /** LLM system message */
2377
2391
  System = "SYSTEM",
2392
+ /** LLM tool message */
2393
+ Tool = "TOOL",
2378
2394
  /** LLM user prompt message */
2379
2395
  User = "USER"
2380
2396
  }
@@ -9381,7 +9397,7 @@ export declare enum OpenAiModels {
9381
9397
  Gpt41_1024K = "GPT41_1024K",
9382
9398
  /** GPT 4.1 1024k (2025-04-14 version) */
9383
9399
  Gpt41_1024K_20250414 = "GPT41_1024K_20250414",
9384
- /** GPT Mini 4.1 1024k (Latest) */
9400
+ /** GPT 4.1 Mini 1024k (Latest) */
9385
9401
  Gpt41Mini_1024K = "GPT41_MINI_1024K",
9386
9402
  /** GPT 4.1 Mini 1024k (2025-04-14 version) */
9387
9403
  Gpt41Mini_1024K_20250414 = "GPT41_MINI_1024K_20250414",
@@ -14526,6 +14542,8 @@ export type DescribeEncodedImageMutation = {
14526
14542
  model?: string | null;
14527
14543
  data?: string | null;
14528
14544
  mimeType?: string | null;
14545
+ toolCallId?: string | null;
14546
+ toolCallResponse?: string | null;
14529
14547
  citations?: Array<{
14530
14548
  __typename?: 'ConversationCitation';
14531
14549
  index?: number | null;
@@ -14666,6 +14684,8 @@ export type DescribeImageMutation = {
14666
14684
  model?: string | null;
14667
14685
  data?: string | null;
14668
14686
  mimeType?: string | null;
14687
+ toolCallId?: string | null;
14688
+ toolCallResponse?: string | null;
14669
14689
  citations?: Array<{
14670
14690
  __typename?: 'ConversationCitation';
14671
14691
  index?: number | null;
@@ -16315,6 +16335,8 @@ export type AskGraphlitMutation = {
16315
16335
  model?: string | null;
16316
16336
  data?: string | null;
16317
16337
  mimeType?: string | null;
16338
+ toolCallId?: string | null;
16339
+ toolCallResponse?: string | null;
16318
16340
  citations?: Array<{
16319
16341
  __typename?: 'ConversationCitation';
16320
16342
  index?: number | null;
@@ -16488,6 +16510,8 @@ export type CompleteConversationMutation = {
16488
16510
  model?: string | null;
16489
16511
  data?: string | null;
16490
16512
  mimeType?: string | null;
16513
+ toolCallId?: string | null;
16514
+ toolCallResponse?: string | null;
16491
16515
  citations?: Array<{
16492
16516
  __typename?: 'ConversationCitation';
16493
16517
  index?: number | null;
@@ -16678,6 +16702,8 @@ export type CompleteConversationMutation = {
16678
16702
  model?: string | null;
16679
16703
  data?: string | null;
16680
16704
  mimeType?: string | null;
16705
+ toolCallId?: string | null;
16706
+ toolCallResponse?: string | null;
16681
16707
  citations?: Array<{
16682
16708
  __typename?: 'ConversationCitation';
16683
16709
  index?: number | null;
@@ -16826,6 +16852,8 @@ export type ContinueConversationMutation = {
16826
16852
  model?: string | null;
16827
16853
  data?: string | null;
16828
16854
  mimeType?: string | null;
16855
+ toolCallId?: string | null;
16856
+ toolCallResponse?: string | null;
16829
16857
  citations?: Array<{
16830
16858
  __typename?: 'ConversationCitation';
16831
16859
  index?: number | null;
@@ -17016,6 +17044,8 @@ export type ContinueConversationMutation = {
17016
17044
  model?: string | null;
17017
17045
  data?: string | null;
17018
17046
  mimeType?: string | null;
17047
+ toolCallId?: string | null;
17048
+ toolCallResponse?: string | null;
17019
17049
  citations?: Array<{
17020
17050
  __typename?: 'ConversationCitation';
17021
17051
  index?: number | null;
@@ -17227,6 +17257,8 @@ export type FormatConversationMutation = {
17227
17257
  model?: string | null;
17228
17258
  data?: string | null;
17229
17259
  mimeType?: string | null;
17260
+ toolCallId?: string | null;
17261
+ toolCallResponse?: string | null;
17230
17262
  citations?: Array<{
17231
17263
  __typename?: 'ConversationCitation';
17232
17264
  index?: number | null;
@@ -17417,6 +17449,8 @@ export type FormatConversationMutation = {
17417
17449
  model?: string | null;
17418
17450
  data?: string | null;
17419
17451
  mimeType?: string | null;
17452
+ toolCallId?: string | null;
17453
+ toolCallResponse?: string | null;
17420
17454
  citations?: Array<{
17421
17455
  __typename?: 'ConversationCitation';
17422
17456
  index?: number | null;
@@ -17570,6 +17604,8 @@ export type GetConversationQuery = {
17570
17604
  model?: string | null;
17571
17605
  data?: string | null;
17572
17606
  mimeType?: string | null;
17607
+ toolCallId?: string | null;
17608
+ toolCallResponse?: string | null;
17573
17609
  citations?: Array<{
17574
17610
  __typename?: 'ConversationCitation';
17575
17611
  index?: number | null;
@@ -17946,6 +17982,8 @@ export type PromptMutation = {
17946
17982
  model?: string | null;
17947
17983
  data?: string | null;
17948
17984
  mimeType?: string | null;
17985
+ toolCallId?: string | null;
17986
+ toolCallResponse?: string | null;
17949
17987
  citations?: Array<{
17950
17988
  __typename?: 'ConversationCitation';
17951
17989
  index?: number | null;
@@ -18099,6 +18137,8 @@ export type PromptConversationMutation = {
18099
18137
  model?: string | null;
18100
18138
  data?: string | null;
18101
18139
  mimeType?: string | null;
18140
+ toolCallId?: string | null;
18141
+ toolCallResponse?: string | null;
18102
18142
  citations?: Array<{
18103
18143
  __typename?: 'ConversationCitation';
18104
18144
  index?: number | null;
@@ -18289,6 +18329,8 @@ export type PromptConversationMutation = {
18289
18329
  model?: string | null;
18290
18330
  data?: string | null;
18291
18331
  mimeType?: string | null;
18332
+ toolCallId?: string | null;
18333
+ toolCallResponse?: string | null;
18292
18334
  citations?: Array<{
18293
18335
  __typename?: 'ConversationCitation';
18294
18336
  index?: number | null;
@@ -18575,6 +18617,8 @@ export type QueryConversationsQuery = {
18575
18617
  model?: string | null;
18576
18618
  data?: string | null;
18577
18619
  mimeType?: string | null;
18620
+ toolCallId?: string | null;
18621
+ toolCallResponse?: string | null;
18578
18622
  citations?: Array<{
18579
18623
  __typename?: 'ConversationCitation';
18580
18624
  index?: number | null;
@@ -18980,6 +19024,8 @@ export type ReviseContentMutation = {
18980
19024
  model?: string | null;
18981
19025
  data?: string | null;
18982
19026
  mimeType?: string | null;
19027
+ toolCallId?: string | null;
19028
+ toolCallResponse?: string | null;
18983
19029
  citations?: Array<{
18984
19030
  __typename?: 'ConversationCitation';
18985
19031
  index?: number | null;
@@ -19130,6 +19176,8 @@ export type ReviseEncodedImageMutation = {
19130
19176
  model?: string | null;
19131
19177
  data?: string | null;
19132
19178
  mimeType?: string | null;
19179
+ toolCallId?: string | null;
19180
+ toolCallResponse?: string | null;
19133
19181
  citations?: Array<{
19134
19182
  __typename?: 'ConversationCitation';
19135
19183
  index?: number | null;
@@ -19279,6 +19327,8 @@ export type ReviseImageMutation = {
19279
19327
  model?: string | null;
19280
19328
  data?: string | null;
19281
19329
  mimeType?: string | null;
19330
+ toolCallId?: string | null;
19331
+ toolCallResponse?: string | null;
19282
19332
  citations?: Array<{
19283
19333
  __typename?: 'ConversationCitation';
19284
19334
  index?: number | null;
@@ -19428,6 +19478,8 @@ export type ReviseTextMutation = {
19428
19478
  model?: string | null;
19429
19479
  data?: string | null;
19430
19480
  mimeType?: string | null;
19481
+ toolCallId?: string | null;
19482
+ toolCallResponse?: string | null;
19431
19483
  citations?: Array<{
19432
19484
  __typename?: 'ConversationCitation';
19433
19485
  index?: number | null;
@@ -23238,6 +23290,8 @@ export type PromptSpecificationsMutation = {
23238
23290
  model?: string | null;
23239
23291
  data?: string | null;
23240
23292
  mimeType?: string | null;
23293
+ toolCallId?: string | null;
23294
+ toolCallResponse?: string | null;
23241
23295
  citations?: Array<{
23242
23296
  __typename?: 'ConversationCitation';
23243
23297
  index?: number | null;
@@ -153,8 +153,18 @@ var AzureOpenAiModels;
153
153
  /** Amazon Bedrock model type */
154
154
  var BedrockModels;
155
155
  (function (BedrockModels) {
156
+ /** Claude 3.7 Sonnet */
157
+ BedrockModels["Claude_3_7Sonnet"] = "CLAUDE_3_7_SONNET";
156
158
  /** Developer-specified model */
157
159
  BedrockModels["Custom"] = "CUSTOM";
160
+ /** LLaMA 4 Maverick 17b */
161
+ BedrockModels["Llama_4Maverick_17B"] = "LLAMA_4_MAVERICK_17B";
162
+ /** LLaMA 4 Scout 17b */
163
+ BedrockModels["Llama_4Scout_17B"] = "LLAMA_4_SCOUT_17B";
164
+ /** Nova Premier */
165
+ BedrockModels["NovaPremier"] = "NOVA_PREMIER";
166
+ /** Nova Pro */
167
+ BedrockModels["NovaPro"] = "NOVA_PRO";
158
168
  })(BedrockModels || (exports.BedrockModels = BedrockModels = {}));
159
169
  var BillableMetrics;
160
170
  (function (BillableMetrics) {
@@ -367,6 +377,8 @@ var ConversationRoleTypes;
367
377
  ConversationRoleTypes["Assistant"] = "ASSISTANT";
368
378
  /** LLM system message */
369
379
  ConversationRoleTypes["System"] = "SYSTEM";
380
+ /** LLM tool message */
381
+ ConversationRoleTypes["Tool"] = "TOOL";
370
382
  /** LLM user prompt message */
371
383
  ConversationRoleTypes["User"] = "USER";
372
384
  })(ConversationRoleTypes || (exports.ConversationRoleTypes = ConversationRoleTypes = {}));
@@ -1456,7 +1468,7 @@ var OpenAiModels;
1456
1468
  OpenAiModels["Gpt41_1024K"] = "GPT41_1024K";
1457
1469
  /** GPT 4.1 1024k (2025-04-14 version) */
1458
1470
  OpenAiModels["Gpt41_1024K_20250414"] = "GPT41_1024K_20250414";
1459
- /** GPT Mini 4.1 1024k (Latest) */
1471
+ /** GPT 4.1 Mini 1024k (Latest) */
1460
1472
  OpenAiModels["Gpt41Mini_1024K"] = "GPT41_MINI_1024K";
1461
1473
  /** GPT 4.1 Mini 1024k (2025-04-14 version) */
1462
1474
  OpenAiModels["Gpt41Mini_1024K_20250414"] = "GPT41_MINI_1024K_20250414";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphlit-client",
3
- "version": "1.0.20250503001",
3
+ "version": "1.0.20250519001",
4
4
  "description": "Graphlit API TypeScript Client",
5
5
  "main": "dist/client.js",
6
6
  "types": "dist/client.d.ts",