-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.go
executable file
·1555 lines (1091 loc) · 61.5 KB
/
aliases.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
package braintrust
import (
"github.com/braintrustdata/braintrust-go/internal/apierror"
"github.com/braintrustdata/braintrust-go/shared"
)
type Error = apierror.Error
// This is an alias to an internal type.
type AISecret = shared.AISecret
// An ACL grants a certain permission or role to a certain user or group on an
// object.
//
// ACLs are inherited across the object hierarchy. So for example, if a user has
// read permissions on a project, they will also have read permissions on any
// experiment, dataset, etc. created within that project.
//
// To restrict a grant to a particular sub-object, you may specify
// `restrict_object_type` in the ACL, as part of a direct permission grant or as
// part of a role.
//
// This is an alias to an internal type.
type ACL = shared.ACL
// The object type that the ACL applies to
//
// This is an alias to an internal type.
type ACLObjectType = shared.ACLObjectType
// This is an alias to an internal value.
const ACLObjectTypeOrganization = shared.ACLObjectTypeOrganization
// This is an alias to an internal value.
const ACLObjectTypeProject = shared.ACLObjectTypeProject
// This is an alias to an internal value.
const ACLObjectTypeExperiment = shared.ACLObjectTypeExperiment
// This is an alias to an internal value.
const ACLObjectTypeDataset = shared.ACLObjectTypeDataset
// This is an alias to an internal value.
const ACLObjectTypePrompt = shared.ACLObjectTypePrompt
// This is an alias to an internal value.
const ACLObjectTypePromptSession = shared.ACLObjectTypePromptSession
// This is an alias to an internal value.
const ACLObjectTypeGroup = shared.ACLObjectTypeGroup
// This is an alias to an internal value.
const ACLObjectTypeRole = shared.ACLObjectTypeRole
// This is an alias to an internal value.
const ACLObjectTypeOrgMember = shared.ACLObjectTypeOrgMember
// This is an alias to an internal value.
const ACLObjectTypeProjectLog = shared.ACLObjectTypeProjectLog
// This is an alias to an internal value.
const ACLObjectTypeOrgProject = shared.ACLObjectTypeOrgProject
// Permission the ACL grants. Exactly one of `permission` and `role_id` will be
// provided
//
// This is an alias to an internal type.
type ACLPermission = shared.ACLPermission
// This is an alias to an internal value.
const ACLPermissionCreate = shared.ACLPermissionCreate
// This is an alias to an internal value.
const ACLPermissionRead = shared.ACLPermissionRead
// This is an alias to an internal value.
const ACLPermissionUpdate = shared.ACLPermissionUpdate
// This is an alias to an internal value.
const ACLPermissionDelete = shared.ACLPermissionDelete
// This is an alias to an internal value.
const ACLPermissionCreateACLs = shared.ACLPermissionCreateACLs
// This is an alias to an internal value.
const ACLPermissionReadACLs = shared.ACLPermissionReadACLs
// This is an alias to an internal value.
const ACLPermissionUpdateACLs = shared.ACLPermissionUpdateACLs
// This is an alias to an internal value.
const ACLPermissionDeleteACLs = shared.ACLPermissionDeleteACLs
// When setting a permission directly, optionally restricts the permission grant to
// just the specified object type. Cannot be set alongside a `role_id`.
//
// This is an alias to an internal type.
type ACLRestrictObjectType = shared.ACLRestrictObjectType
// This is an alias to an internal value.
const ACLRestrictObjectTypeOrganization = shared.ACLRestrictObjectTypeOrganization
// This is an alias to an internal value.
const ACLRestrictObjectTypeProject = shared.ACLRestrictObjectTypeProject
// This is an alias to an internal value.
const ACLRestrictObjectTypeExperiment = shared.ACLRestrictObjectTypeExperiment
// This is an alias to an internal value.
const ACLRestrictObjectTypeDataset = shared.ACLRestrictObjectTypeDataset
// This is an alias to an internal value.
const ACLRestrictObjectTypePrompt = shared.ACLRestrictObjectTypePrompt
// This is an alias to an internal value.
const ACLRestrictObjectTypePromptSession = shared.ACLRestrictObjectTypePromptSession
// This is an alias to an internal value.
const ACLRestrictObjectTypeGroup = shared.ACLRestrictObjectTypeGroup
// This is an alias to an internal value.
const ACLRestrictObjectTypeRole = shared.ACLRestrictObjectTypeRole
// This is an alias to an internal value.
const ACLRestrictObjectTypeOrgMember = shared.ACLRestrictObjectTypeOrgMember
// This is an alias to an internal value.
const ACLRestrictObjectTypeProjectLog = shared.ACLRestrictObjectTypeProjectLog
// This is an alias to an internal value.
const ACLRestrictObjectTypeOrgProject = shared.ACLRestrictObjectTypeOrgProject
// This is an alias to an internal type.
type ACLBatchUpdateResponse = shared.ACLBatchUpdateResponse
// This is an alias to an internal type.
type APIKey = shared.APIKey
// This is an alias to an internal type.
type ChatCompletionContentPartImage = shared.ChatCompletionContentPartImage
// This is an alias to an internal type.
type ChatCompletionContentPartImageImageURL = shared.ChatCompletionContentPartImageImageURL
// This is an alias to an internal type.
type ChatCompletionContentPartImageImageURLDetail = shared.ChatCompletionContentPartImageImageURLDetail
// This is an alias to an internal value.
const ChatCompletionContentPartImageImageURLDetailAuto = shared.ChatCompletionContentPartImageImageURLDetailAuto
// This is an alias to an internal value.
const ChatCompletionContentPartImageImageURLDetailLow = shared.ChatCompletionContentPartImageImageURLDetailLow
// This is an alias to an internal value.
const ChatCompletionContentPartImageImageURLDetailHigh = shared.ChatCompletionContentPartImageImageURLDetailHigh
// This is an alias to an internal type.
type ChatCompletionContentPartImageType = shared.ChatCompletionContentPartImageType
// This is an alias to an internal value.
const ChatCompletionContentPartImageTypeImageURL = shared.ChatCompletionContentPartImageTypeImageURL
// This is an alias to an internal type.
type ChatCompletionContentPartImageParam = shared.ChatCompletionContentPartImageParam
// This is an alias to an internal type.
type ChatCompletionContentPartImageImageURLParam = shared.ChatCompletionContentPartImageImageURLParam
// This is an alias to an internal type.
type ChatCompletionContentPartText = shared.ChatCompletionContentPartText
// This is an alias to an internal type.
type ChatCompletionContentPartTextType = shared.ChatCompletionContentPartTextType
// This is an alias to an internal value.
const ChatCompletionContentPartTextTypeText = shared.ChatCompletionContentPartTextTypeText
// This is an alias to an internal type.
type ChatCompletionContentPartTextParam = shared.ChatCompletionContentPartTextParam
// This is an alias to an internal type.
type ChatCompletionMessageToolCall = shared.ChatCompletionMessageToolCall
// This is an alias to an internal type.
type ChatCompletionMessageToolCallFunction = shared.ChatCompletionMessageToolCallFunction
// This is an alias to an internal type.
type ChatCompletionMessageToolCallType = shared.ChatCompletionMessageToolCallType
// This is an alias to an internal value.
const ChatCompletionMessageToolCallTypeFunction = shared.ChatCompletionMessageToolCallTypeFunction
// This is an alias to an internal type.
type ChatCompletionMessageToolCallParam = shared.ChatCompletionMessageToolCallParam
// This is an alias to an internal type.
type ChatCompletionMessageToolCallFunctionParam = shared.ChatCompletionMessageToolCallFunctionParam
// This is an alias to an internal type.
type CodeBundle = shared.CodeBundle
// This is an alias to an internal type.
type CodeBundleLocation = shared.CodeBundleLocation
// This is an alias to an internal type.
type CodeBundleLocationExperiment = shared.CodeBundleLocationExperiment
// This is an alias to an internal type.
type CodeBundleLocationExperimentPosition = shared.CodeBundleLocationExperimentPosition
// This is an alias to an internal type.
type CodeBundleLocationExperimentPositionType = shared.CodeBundleLocationExperimentPositionType
// This is an alias to an internal type.
type CodeBundleLocationExperimentPositionTypeType = shared.CodeBundleLocationExperimentPositionTypeType
// This is an alias to an internal value.
const CodeBundleLocationExperimentPositionTypeTypeTask = shared.CodeBundleLocationExperimentPositionTypeTypeTask
// This is an alias to an internal type.
type CodeBundleLocationExperimentPositionScorer = shared.CodeBundleLocationExperimentPositionScorer
// This is an alias to an internal type.
type CodeBundleLocationExperimentPositionScorerType = shared.CodeBundleLocationExperimentPositionScorerType
// This is an alias to an internal value.
const CodeBundleLocationExperimentPositionScorerTypeScorer = shared.CodeBundleLocationExperimentPositionScorerTypeScorer
// This is an alias to an internal type.
type CodeBundleLocationExperimentType = shared.CodeBundleLocationExperimentType
// This is an alias to an internal value.
const CodeBundleLocationExperimentTypeExperiment = shared.CodeBundleLocationExperimentTypeExperiment
// This is an alias to an internal type.
type CodeBundleLocationFunction = shared.CodeBundleLocationFunction
// This is an alias to an internal type.
type CodeBundleLocationFunctionType = shared.CodeBundleLocationFunctionType
// This is an alias to an internal value.
const CodeBundleLocationFunctionTypeFunction = shared.CodeBundleLocationFunctionTypeFunction
// This is an alias to an internal type.
type CodeBundleLocationType = shared.CodeBundleLocationType
// This is an alias to an internal value.
const CodeBundleLocationTypeExperiment = shared.CodeBundleLocationTypeExperiment
// This is an alias to an internal value.
const CodeBundleLocationTypeFunction = shared.CodeBundleLocationTypeFunction
// This is an alias to an internal type.
type CodeBundleRuntimeContext = shared.CodeBundleRuntimeContext
// This is an alias to an internal type.
type CodeBundleRuntimeContextRuntime = shared.CodeBundleRuntimeContextRuntime
// This is an alias to an internal value.
const CodeBundleRuntimeContextRuntimeNode = shared.CodeBundleRuntimeContextRuntimeNode
// This is an alias to an internal value.
const CodeBundleRuntimeContextRuntimePython = shared.CodeBundleRuntimeContextRuntimePython
// This is an alias to an internal type.
type CodeBundleParam = shared.CodeBundleParam
// This is an alias to an internal type.
type CodeBundleLocationUnionParam = shared.CodeBundleLocationUnionParam
// This is an alias to an internal type.
type CodeBundleLocationExperimentParam = shared.CodeBundleLocationExperimentParam
// This is an alias to an internal type.
type CodeBundleLocationExperimentPositionUnionParam = shared.CodeBundleLocationExperimentPositionUnionParam
// This is an alias to an internal type.
type CodeBundleLocationExperimentPositionTypeParam = shared.CodeBundleLocationExperimentPositionTypeParam
// This is an alias to an internal type.
type CodeBundleLocationExperimentPositionScorerParam = shared.CodeBundleLocationExperimentPositionScorerParam
// This is an alias to an internal type.
type CodeBundleLocationFunctionParam = shared.CodeBundleLocationFunctionParam
// This is an alias to an internal type.
type CodeBundleRuntimeContextParam = shared.CodeBundleRuntimeContextParam
// This is an alias to an internal type.
type CreateAPIKeyOutput = shared.CreateAPIKeyOutput
// Summary of a dataset's data
//
// This is an alias to an internal type.
type DataSummary = shared.DataSummary
// This is an alias to an internal type.
type Dataset = shared.Dataset
// This is an alias to an internal type.
type DatasetEvent = shared.DatasetEvent
// Indicates the event was copied from another object.
//
// This is an alias to an internal type.
type DatasetEventOrigin = shared.DatasetEventOrigin
// Type of the object the event is originating from.
//
// This is an alias to an internal type.
type DatasetEventOriginObjectType = shared.DatasetEventOriginObjectType
// This is an alias to an internal value.
const DatasetEventOriginObjectTypeExperiment = shared.DatasetEventOriginObjectTypeExperiment
// This is an alias to an internal value.
const DatasetEventOriginObjectTypeDataset = shared.DatasetEventOriginObjectTypeDataset
// This is an alias to an internal value.
const DatasetEventOriginObjectTypePrompt = shared.DatasetEventOriginObjectTypePrompt
// This is an alias to an internal value.
const DatasetEventOriginObjectTypeFunction = shared.DatasetEventOriginObjectTypeFunction
// This is an alias to an internal value.
const DatasetEventOriginObjectTypePromptSession = shared.DatasetEventOriginObjectTypePromptSession
// This is an alias to an internal value.
const DatasetEventOriginObjectTypeProjectLogs = shared.DatasetEventOriginObjectTypeProjectLogs
// This is an alias to an internal type.
type EnvVar = shared.EnvVar
// The type of the object the environment variable is scoped for
//
// This is an alias to an internal type.
type EnvVarObjectType = shared.EnvVarObjectType
// This is an alias to an internal value.
const EnvVarObjectTypeOrganization = shared.EnvVarObjectTypeOrganization
// This is an alias to an internal value.
const EnvVarObjectTypeProject = shared.EnvVarObjectTypeProject
// This is an alias to an internal value.
const EnvVarObjectTypeFunction = shared.EnvVarObjectTypeFunction
// This is an alias to an internal type.
type Experiment = shared.Experiment
// This is an alias to an internal type.
type ExperimentEvent = shared.ExperimentEvent
// Context is additional information about the code that produced the experiment
// event. It is essentially the textual counterpart to `metrics`. Use the
// `caller_*` attributes to track the location in code which produced the
// experiment event
//
// This is an alias to an internal type.
type ExperimentEventContext = shared.ExperimentEventContext
// Metrics are numerical measurements tracking the execution of the code that
// produced the experiment event. Use "start" and "end" to track the time span over
// which the experiment event was produced
//
// This is an alias to an internal type.
type ExperimentEventMetrics = shared.ExperimentEventMetrics
// Indicates the event was copied from another object.
//
// This is an alias to an internal type.
type ExperimentEventOrigin = shared.ExperimentEventOrigin
// Type of the object the event is originating from.
//
// This is an alias to an internal type.
type ExperimentEventOriginObjectType = shared.ExperimentEventOriginObjectType
// This is an alias to an internal value.
const ExperimentEventOriginObjectTypeExperiment = shared.ExperimentEventOriginObjectTypeExperiment
// This is an alias to an internal value.
const ExperimentEventOriginObjectTypeDataset = shared.ExperimentEventOriginObjectTypeDataset
// This is an alias to an internal value.
const ExperimentEventOriginObjectTypePrompt = shared.ExperimentEventOriginObjectTypePrompt
// This is an alias to an internal value.
const ExperimentEventOriginObjectTypeFunction = shared.ExperimentEventOriginObjectTypeFunction
// This is an alias to an internal value.
const ExperimentEventOriginObjectTypePromptSession = shared.ExperimentEventOriginObjectTypePromptSession
// This is an alias to an internal value.
const ExperimentEventOriginObjectTypeProjectLogs = shared.ExperimentEventOriginObjectTypeProjectLogs
// This is an alias to an internal type.
type FeedbackDatasetItemParam = shared.FeedbackDatasetItemParam
// The source of the feedback. Must be one of "external" (default), "app", or "api"
//
// This is an alias to an internal type.
type FeedbackDatasetItemSource = shared.FeedbackDatasetItemSource
// This is an alias to an internal value.
const FeedbackDatasetItemSourceApp = shared.FeedbackDatasetItemSourceApp
// This is an alias to an internal value.
const FeedbackDatasetItemSourceAPI = shared.FeedbackDatasetItemSourceAPI
// This is an alias to an internal value.
const FeedbackDatasetItemSourceExternal = shared.FeedbackDatasetItemSourceExternal
// This is an alias to an internal type.
type FeedbackExperimentItemParam = shared.FeedbackExperimentItemParam
// The source of the feedback. Must be one of "external" (default), "app", or "api"
//
// This is an alias to an internal type.
type FeedbackExperimentItemSource = shared.FeedbackExperimentItemSource
// This is an alias to an internal value.
const FeedbackExperimentItemSourceApp = shared.FeedbackExperimentItemSourceApp
// This is an alias to an internal value.
const FeedbackExperimentItemSourceAPI = shared.FeedbackExperimentItemSourceAPI
// This is an alias to an internal value.
const FeedbackExperimentItemSourceExternal = shared.FeedbackExperimentItemSourceExternal
// This is an alias to an internal type.
type FeedbackProjectLogsItemParam = shared.FeedbackProjectLogsItemParam
// The source of the feedback. Must be one of "external" (default), "app", or "api"
//
// This is an alias to an internal type.
type FeedbackProjectLogsItemSource = shared.FeedbackProjectLogsItemSource
// This is an alias to an internal value.
const FeedbackProjectLogsItemSourceApp = shared.FeedbackProjectLogsItemSourceApp
// This is an alias to an internal value.
const FeedbackProjectLogsItemSourceAPI = shared.FeedbackProjectLogsItemSourceAPI
// This is an alias to an internal value.
const FeedbackProjectLogsItemSourceExternal = shared.FeedbackProjectLogsItemSourceExternal
// This is an alias to an internal type.
type FeedbackResponseSchema = shared.FeedbackResponseSchema
// This is an alias to an internal type.
type FeedbackResponseSchemaStatus = shared.FeedbackResponseSchemaStatus
// This is an alias to an internal value.
const FeedbackResponseSchemaStatusSuccess = shared.FeedbackResponseSchemaStatusSuccess
// This is an alias to an internal type.
type FetchDatasetEventsResponse = shared.FetchDatasetEventsResponse
// This is an alias to an internal type.
type FetchExperimentEventsResponse = shared.FetchExperimentEventsResponse
// This is an alias to an internal type.
type FetchProjectLogsEventsResponse = shared.FetchProjectLogsEventsResponse
// This is an alias to an internal type.
type Function = shared.Function
// This is an alias to an internal type.
type FunctionFunctionData = shared.FunctionFunctionData
// This is an alias to an internal type.
type FunctionFunctionDataPrompt = shared.FunctionFunctionDataPrompt
// This is an alias to an internal type.
type FunctionFunctionDataPromptType = shared.FunctionFunctionDataPromptType
// This is an alias to an internal value.
const FunctionFunctionDataPromptTypePrompt = shared.FunctionFunctionDataPromptTypePrompt
// This is an alias to an internal type.
type FunctionFunctionDataCode = shared.FunctionFunctionDataCode
// This is an alias to an internal type.
type FunctionFunctionDataCodeData = shared.FunctionFunctionDataCodeData
// This is an alias to an internal type.
type FunctionFunctionDataCodeDataBundle = shared.FunctionFunctionDataCodeDataBundle
// This is an alias to an internal type.
type FunctionFunctionDataCodeDataBundleType = shared.FunctionFunctionDataCodeDataBundleType
// This is an alias to an internal value.
const FunctionFunctionDataCodeDataBundleTypeBundle = shared.FunctionFunctionDataCodeDataBundleTypeBundle
// This is an alias to an internal type.
type FunctionFunctionDataCodeDataInline = shared.FunctionFunctionDataCodeDataInline
// This is an alias to an internal type.
type FunctionFunctionDataCodeDataInlineRuntimeContext = shared.FunctionFunctionDataCodeDataInlineRuntimeContext
// This is an alias to an internal type.
type FunctionFunctionDataCodeDataInlineRuntimeContextRuntime = shared.FunctionFunctionDataCodeDataInlineRuntimeContextRuntime
// This is an alias to an internal value.
const FunctionFunctionDataCodeDataInlineRuntimeContextRuntimeNode = shared.FunctionFunctionDataCodeDataInlineRuntimeContextRuntimeNode
// This is an alias to an internal value.
const FunctionFunctionDataCodeDataInlineRuntimeContextRuntimePython = shared.FunctionFunctionDataCodeDataInlineRuntimeContextRuntimePython
// This is an alias to an internal type.
type FunctionFunctionDataCodeDataInlineType = shared.FunctionFunctionDataCodeDataInlineType
// This is an alias to an internal value.
const FunctionFunctionDataCodeDataInlineTypeInline = shared.FunctionFunctionDataCodeDataInlineTypeInline
// This is an alias to an internal type.
type FunctionFunctionDataCodeDataType = shared.FunctionFunctionDataCodeDataType
// This is an alias to an internal value.
const FunctionFunctionDataCodeDataTypeBundle = shared.FunctionFunctionDataCodeDataTypeBundle
// This is an alias to an internal value.
const FunctionFunctionDataCodeDataTypeInline = shared.FunctionFunctionDataCodeDataTypeInline
// This is an alias to an internal type.
type FunctionFunctionDataCodeType = shared.FunctionFunctionDataCodeType
// This is an alias to an internal value.
const FunctionFunctionDataCodeTypeCode = shared.FunctionFunctionDataCodeTypeCode
// This is an alias to an internal type.
type FunctionFunctionDataGlobal = shared.FunctionFunctionDataGlobal
// This is an alias to an internal type.
type FunctionFunctionDataGlobalType = shared.FunctionFunctionDataGlobalType
// This is an alias to an internal value.
const FunctionFunctionDataGlobalTypeGlobal = shared.FunctionFunctionDataGlobalTypeGlobal
// This is an alias to an internal type.
type FunctionFunctionDataType = shared.FunctionFunctionDataType
// This is an alias to an internal value.
const FunctionFunctionDataTypePrompt = shared.FunctionFunctionDataTypePrompt
// This is an alias to an internal value.
const FunctionFunctionDataTypeCode = shared.FunctionFunctionDataTypeCode
// This is an alias to an internal value.
const FunctionFunctionDataTypeGlobal = shared.FunctionFunctionDataTypeGlobal
// A literal 'p' which identifies the object as a project prompt
//
// This is an alias to an internal type.
type FunctionLogID = shared.FunctionLogID
// This is an alias to an internal value.
const FunctionLogIDP = shared.FunctionLogIDP
// JSON schema for the function's parameters and return type
//
// This is an alias to an internal type.
type FunctionFunctionSchema = shared.FunctionFunctionSchema
// This is an alias to an internal type.
type FunctionFunctionType = shared.FunctionFunctionType
// This is an alias to an internal value.
const FunctionFunctionTypeLlm = shared.FunctionFunctionTypeLlm
// This is an alias to an internal value.
const FunctionFunctionTypeScorer = shared.FunctionFunctionTypeScorer
// This is an alias to an internal value.
const FunctionFunctionTypeTask = shared.FunctionFunctionTypeTask
// This is an alias to an internal value.
const FunctionFunctionTypeTool = shared.FunctionFunctionTypeTool
// This is an alias to an internal type.
type FunctionOrigin = shared.FunctionOrigin
// The object type that the ACL applies to
//
// This is an alias to an internal type.
type FunctionOriginObjectType = shared.FunctionOriginObjectType
// This is an alias to an internal value.
const FunctionOriginObjectTypeOrganization = shared.FunctionOriginObjectTypeOrganization
// This is an alias to an internal value.
const FunctionOriginObjectTypeProject = shared.FunctionOriginObjectTypeProject
// This is an alias to an internal value.
const FunctionOriginObjectTypeExperiment = shared.FunctionOriginObjectTypeExperiment
// This is an alias to an internal value.
const FunctionOriginObjectTypeDataset = shared.FunctionOriginObjectTypeDataset
// This is an alias to an internal value.
const FunctionOriginObjectTypePrompt = shared.FunctionOriginObjectTypePrompt
// This is an alias to an internal value.
const FunctionOriginObjectTypePromptSession = shared.FunctionOriginObjectTypePromptSession
// This is an alias to an internal value.
const FunctionOriginObjectTypeGroup = shared.FunctionOriginObjectTypeGroup
// This is an alias to an internal value.
const FunctionOriginObjectTypeRole = shared.FunctionOriginObjectTypeRole
// This is an alias to an internal value.
const FunctionOriginObjectTypeOrgMember = shared.FunctionOriginObjectTypeOrgMember
// This is an alias to an internal value.
const FunctionOriginObjectTypeProjectLog = shared.FunctionOriginObjectTypeProjectLog
// This is an alias to an internal value.
const FunctionOriginObjectTypeOrgProject = shared.FunctionOriginObjectTypeOrgProject
// A group is a collection of users which can be assigned an ACL
//
// Groups can consist of individual users, as well as a set of groups they inherit
// from
//
// This is an alias to an internal type.
type Group = shared.Group
// A dataset event
//
// This is an alias to an internal type.
type InsertDatasetEventParam = shared.InsertDatasetEventParam
// This is an alias to an internal type.
type InsertEventsResponse = shared.InsertEventsResponse
// An experiment event
//
// This is an alias to an internal type.
type InsertExperimentEventParam = shared.InsertExperimentEventParam
// Context is additional information about the code that produced the experiment
// event. It is essentially the textual counterpart to `metrics`. Use the
// `caller_*` attributes to track the location in code which produced the
// experiment event
//
// This is an alias to an internal type.
type InsertExperimentEventContextParam = shared.InsertExperimentEventContextParam
// Metrics are numerical measurements tracking the execution of the code that
// produced the experiment event. Use "start" and "end" to track the time span over
// which the experiment event was produced
//
// This is an alias to an internal type.
type InsertExperimentEventMetricsParam = shared.InsertExperimentEventMetricsParam
// A project logs event
//
// This is an alias to an internal type.
type InsertProjectLogsEventParam = shared.InsertProjectLogsEventParam
// Context is additional information about the code that produced the project logs
// event. It is essentially the textual counterpart to `metrics`. Use the
// `caller_*` attributes to track the location in code which produced the project
// logs event
//
// This is an alias to an internal type.
type InsertProjectLogsEventContextParam = shared.InsertProjectLogsEventContextParam
// Metrics are numerical measurements tracking the execution of the code that
// produced the project logs event. Use "start" and "end" to track the time span
// over which the project logs event was produced
//
// This is an alias to an internal type.
type InsertProjectLogsEventMetricsParam = shared.InsertProjectLogsEventMetricsParam
// Summary of a metric's performance
//
// This is an alias to an internal type.
type MetricSummary = shared.MetricSummary
// This is an alias to an internal type.
type OnlineScoreConfig = shared.OnlineScoreConfig
// This is an alias to an internal type.
type OnlineScoreConfigScorer = shared.OnlineScoreConfigScorer
// This is an alias to an internal type.
type OnlineScoreConfigScorersFunction = shared.OnlineScoreConfigScorersFunction
// This is an alias to an internal type.
type OnlineScoreConfigScorersFunctionType = shared.OnlineScoreConfigScorersFunctionType
// This is an alias to an internal value.
const OnlineScoreConfigScorersFunctionTypeFunction = shared.OnlineScoreConfigScorersFunctionTypeFunction
// This is an alias to an internal type.
type OnlineScoreConfigScorersGlobal = shared.OnlineScoreConfigScorersGlobal
// This is an alias to an internal type.
type OnlineScoreConfigScorersGlobalType = shared.OnlineScoreConfigScorersGlobalType
// This is an alias to an internal value.
const OnlineScoreConfigScorersGlobalTypeGlobal = shared.OnlineScoreConfigScorersGlobalTypeGlobal
// This is an alias to an internal type.
type OnlineScoreConfigScorersType = shared.OnlineScoreConfigScorersType
// This is an alias to an internal value.
const OnlineScoreConfigScorersTypeFunction = shared.OnlineScoreConfigScorersTypeFunction
// This is an alias to an internal value.
const OnlineScoreConfigScorersTypeGlobal = shared.OnlineScoreConfigScorersTypeGlobal
// This is an alias to an internal type.
type OnlineScoreConfigParam = shared.OnlineScoreConfigParam
// This is an alias to an internal type.
type OnlineScoreConfigScorersUnionParam = shared.OnlineScoreConfigScorersUnionParam
// This is an alias to an internal type.
type OnlineScoreConfigScorersFunctionParam = shared.OnlineScoreConfigScorersFunctionParam
// This is an alias to an internal type.
type OnlineScoreConfigScorersGlobalParam = shared.OnlineScoreConfigScorersGlobalParam
// This is an alias to an internal type.
type Organization = shared.Organization
// This is an alias to an internal type.
type PatchOrganizationMembersOutput = shared.PatchOrganizationMembersOutput
// This is an alias to an internal type.
type PatchOrganizationMembersOutputStatus = shared.PatchOrganizationMembersOutputStatus
// This is an alias to an internal value.
const PatchOrganizationMembersOutputStatusSuccess = shared.PatchOrganizationMembersOutputStatusSuccess
// This is an alias to an internal type.
type Project = shared.Project
// This is an alias to an internal type.
type ProjectLogsEvent = shared.ProjectLogsEvent
// A literal 'g' which identifies the log as a project log
//
// This is an alias to an internal type.
type ProjectLogsEventLogID = shared.ProjectLogsEventLogID
// This is an alias to an internal value.
const ProjectLogsEventLogIDG = shared.ProjectLogsEventLogIDG
// Context is additional information about the code that produced the project logs
// event. It is essentially the textual counterpart to `metrics`. Use the
// `caller_*` attributes to track the location in code which produced the project
// logs event
//
// This is an alias to an internal type.
type ProjectLogsEventContext = shared.ProjectLogsEventContext
// Metrics are numerical measurements tracking the execution of the code that
// produced the project logs event. Use "start" and "end" to track the time span
// over which the project logs event was produced
//
// This is an alias to an internal type.
type ProjectLogsEventMetrics = shared.ProjectLogsEventMetrics
// Indicates the event was copied from another object.
//
// This is an alias to an internal type.
type ProjectLogsEventOrigin = shared.ProjectLogsEventOrigin
// Type of the object the event is originating from.
//
// This is an alias to an internal type.
type ProjectLogsEventOriginObjectType = shared.ProjectLogsEventOriginObjectType
// This is an alias to an internal value.
const ProjectLogsEventOriginObjectTypeExperiment = shared.ProjectLogsEventOriginObjectTypeExperiment
// This is an alias to an internal value.
const ProjectLogsEventOriginObjectTypeDataset = shared.ProjectLogsEventOriginObjectTypeDataset
// This is an alias to an internal value.
const ProjectLogsEventOriginObjectTypePrompt = shared.ProjectLogsEventOriginObjectTypePrompt
// This is an alias to an internal value.
const ProjectLogsEventOriginObjectTypeFunction = shared.ProjectLogsEventOriginObjectTypeFunction
// This is an alias to an internal value.
const ProjectLogsEventOriginObjectTypePromptSession = shared.ProjectLogsEventOriginObjectTypePromptSession
// This is an alias to an internal value.
const ProjectLogsEventOriginObjectTypeProjectLogs = shared.ProjectLogsEventOriginObjectTypeProjectLogs
// A project score is a user-configured score, which can be manually-labeled
// through the UI
//
// This is an alias to an internal type.
type ProjectScore = shared.ProjectScore
// The type of the configured score
//
// This is an alias to an internal type.
type ProjectScoreScoreType = shared.ProjectScoreScoreType
// This is an alias to an internal value.
const ProjectScoreScoreTypeSlider = shared.ProjectScoreScoreTypeSlider
// This is an alias to an internal value.
const ProjectScoreScoreTypeCategorical = shared.ProjectScoreScoreTypeCategorical
// This is an alias to an internal value.
const ProjectScoreScoreTypeWeighted = shared.ProjectScoreScoreTypeWeighted
// This is an alias to an internal value.
const ProjectScoreScoreTypeMinimum = shared.ProjectScoreScoreTypeMinimum
// This is an alias to an internal value.
const ProjectScoreScoreTypeMaximum = shared.ProjectScoreScoreTypeMaximum
// This is an alias to an internal value.
const ProjectScoreScoreTypeOnline = shared.ProjectScoreScoreTypeOnline
// For categorical-type project scores, the list of all categories
//
// This is an alias to an internal type.
type ProjectScoreCategoriesUnion = shared.ProjectScoreCategoriesUnion
// For categorical-type project scores, the list of all categories
//
// This is an alias to an internal type.
type ProjectScoreCategoriesCategorical = shared.ProjectScoreCategoriesCategorical
// For minimum-type project scores, the list of included scores
//
// This is an alias to an internal type.
type ProjectScoreCategoriesMinimum = shared.ProjectScoreCategoriesMinimum
// This is an alias to an internal type.
type ProjectScoreCategoriesNullableVariant = shared.ProjectScoreCategoriesNullableVariant
// For categorical-type project scores, defines a single category
//
// This is an alias to an internal type.
type ProjectScoreCategory = shared.ProjectScoreCategory
// For categorical-type project scores, defines a single category
//
// This is an alias to an internal type.
type ProjectScoreCategoryParam = shared.ProjectScoreCategoryParam
// This is an alias to an internal type.
type ProjectScoreConfig = shared.ProjectScoreConfig
// This is an alias to an internal type.
type ProjectScoreConfigDestination = shared.ProjectScoreConfigDestination
// This is an alias to an internal value.
const ProjectScoreConfigDestinationExpected = shared.ProjectScoreConfigDestinationExpected
// This is an alias to an internal type.
type ProjectScoreConfigParam = shared.ProjectScoreConfigParam
// This is an alias to an internal type.
type ProjectSettings = shared.ProjectSettings
// This is an alias to an internal type.
type ProjectSettingsParam = shared.ProjectSettingsParam
// A project tag is a user-configured tag for tracking and filtering your
// experiments, logs, and other data
//
// This is an alias to an internal type.
type ProjectTag = shared.ProjectTag
// This is an alias to an internal type.
type Prompt = shared.Prompt
// A literal 'p' which identifies the object as a project prompt
//
// This is an alias to an internal type.
type PromptLogID = shared.PromptLogID
// This is an alias to an internal value.
const PromptLogIDP = shared.PromptLogIDP
// This is an alias to an internal type.
type PromptFunctionType = shared.PromptFunctionType
// This is an alias to an internal value.
const PromptFunctionTypeLlm = shared.PromptFunctionTypeLlm
// This is an alias to an internal value.
const PromptFunctionTypeScorer = shared.PromptFunctionTypeScorer
// This is an alias to an internal value.
const PromptFunctionTypeTask = shared.PromptFunctionTypeTask
// This is an alias to an internal value.
const PromptFunctionTypeTool = shared.PromptFunctionTypeTool
// The prompt, model, and its parameters
//
// This is an alias to an internal type.
type PromptData = shared.PromptData
// This is an alias to an internal type.
type PromptDataOrigin = shared.PromptDataOrigin
// This is an alias to an internal type.
type PromptDataParser = shared.PromptDataParser
// This is an alias to an internal type.
type PromptDataParserType = shared.PromptDataParserType
// This is an alias to an internal value.
const PromptDataParserTypeLlmClassifier = shared.PromptDataParserTypeLlmClassifier
// This is an alias to an internal type.
type PromptDataPrompt = shared.PromptDataPrompt
// This is an alias to an internal type.
type PromptDataPromptCompletion = shared.PromptDataPromptCompletion
// This is an alias to an internal type.
type PromptDataPromptCompletionType = shared.PromptDataPromptCompletionType
// This is an alias to an internal value.
const PromptDataPromptCompletionTypeCompletion = shared.PromptDataPromptCompletionTypeCompletion
// This is an alias to an internal type.
type PromptDataPromptChat = shared.PromptDataPromptChat
// This is an alias to an internal type.
type PromptDataPromptChatMessage = shared.PromptDataPromptChatMessage
// This is an alias to an internal type.
type PromptDataPromptChatMessagesSystem = shared.PromptDataPromptChatMessagesSystem
// This is an alias to an internal type.
type PromptDataPromptChatMessagesSystemRole = shared.PromptDataPromptChatMessagesSystemRole
// This is an alias to an internal value.
const PromptDataPromptChatMessagesSystemRoleSystem = shared.PromptDataPromptChatMessagesSystemRoleSystem
// This is an alias to an internal type.
type PromptDataPromptChatMessagesUser = shared.PromptDataPromptChatMessagesUser
// This is an alias to an internal type.
type PromptDataPromptChatMessagesUserRole = shared.PromptDataPromptChatMessagesUserRole
// This is an alias to an internal value.
const PromptDataPromptChatMessagesUserRoleUser = shared.PromptDataPromptChatMessagesUserRoleUser
// This is an alias to an internal type.
type PromptDataPromptChatMessagesUserContentUnion = shared.PromptDataPromptChatMessagesUserContentUnion
// This is an alias to an internal type.
type PromptDataPromptChatMessagesUserContentArray = shared.PromptDataPromptChatMessagesUserContentArray
// This is an alias to an internal type.
type PromptDataPromptChatMessagesUserContentArrayUnionItem = shared.PromptDataPromptChatMessagesUserContentArrayUnionItem
// This is an alias to an internal type.
type PromptDataPromptChatMessagesAssistant = shared.PromptDataPromptChatMessagesAssistant
// This is an alias to an internal type.
type PromptDataPromptChatMessagesAssistantRole = shared.PromptDataPromptChatMessagesAssistantRole
// This is an alias to an internal value.
const PromptDataPromptChatMessagesAssistantRoleAssistant = shared.PromptDataPromptChatMessagesAssistantRoleAssistant
// This is an alias to an internal type.
type PromptDataPromptChatMessagesAssistantFunctionCall = shared.PromptDataPromptChatMessagesAssistantFunctionCall
// This is an alias to an internal type.
type PromptDataPromptChatMessagesTool = shared.PromptDataPromptChatMessagesTool
// This is an alias to an internal type.
type PromptDataPromptChatMessagesToolRole = shared.PromptDataPromptChatMessagesToolRole
// This is an alias to an internal value.
const PromptDataPromptChatMessagesToolRoleTool = shared.PromptDataPromptChatMessagesToolRoleTool
// This is an alias to an internal type.
type PromptDataPromptChatMessagesFunction = shared.PromptDataPromptChatMessagesFunction
// This is an alias to an internal type.
type PromptDataPromptChatMessagesFunctionRole = shared.PromptDataPromptChatMessagesFunctionRole
// This is an alias to an internal value.
const PromptDataPromptChatMessagesFunctionRoleFunction = shared.PromptDataPromptChatMessagesFunctionRoleFunction
// This is an alias to an internal type.
type PromptDataPromptChatMessagesFallback = shared.PromptDataPromptChatMessagesFallback