java/resources/graders/subresources/grader_models/index.md +0 −1051 deleted
File Deleted View Diff
1# Grader Models
2
3## Domain Types
4
5### Eval Content Item
6
7- `class EvalContentItem: A class that can be one of several variants.union`
8
9 A single content item: input text, output text, input image, or input audio.
10
11 - `String`
12
13 - `class ResponseInputText:`
14
15 A text input to the model.
16
17 - `String text`
18
19 The text input to the model.
20
21 - `JsonValue; type "input_text"constant`
22
23 The type of the input item. Always `input_text`.
24
25 - `INPUT_TEXT("input_text")`
26
27 - `Optional<PromptCacheBreakpoint> promptCacheBreakpoint`
28
29 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.
30
31 - `JsonValue; mode "explicit"constant`
32
33 The breakpoint mode. Always `explicit`.
34
35 - `EXPLICIT("explicit")`
36
37 - `OutputText`
38
39 - `String text`
40
41 The text output from the model.
42
43 - `JsonValue; type "output_text"constant`
44
45 The type of the output text. Always `output_text`.
46
47 - `OUTPUT_TEXT("output_text")`
48
49 - `InputImage`
50
51 - `String imageUrl`
52
53 The URL of the image input.
54
55 - `JsonValue; type "input_image"constant`
56
57 The type of the image input. Always `input_image`.
58
59 - `INPUT_IMAGE("input_image")`
60
61 - `Optional<String> detail`
62
63 The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.
64
65 - `class ResponseInputAudio:`
66
67 An audio input to the model.
68
69 - `InputAudio inputAudio`
70
71 - `String data`
72
73 Base64-encoded audio data.
74
75 - `Format format`
76
77 The format of the audio data. Currently supported formats are `mp3` and
78 `wav`.
79
80 - `MP3("mp3")`
81
82 - `WAV("wav")`
83
84 - `JsonValue; type "input_audio"constant`
85
86 The type of the input item. Always `input_audio`.
87
88 - `INPUT_AUDIO("input_audio")`
89
90### Label Model Grader
91
92- `class LabelModelGrader:`
93
94 A LabelModelGrader object which uses a model to assign labels to each item
95 in the evaluation.
96
97 - `List<Input> input`
98
99 - `Content content`
100
101 Inputs to the model - can contain template strings. Supports text, output text, input images, and input audio, either as a single item or an array of items.
102
103 - `String`
104
105 - `class ResponseInputText:`
106
107 A text input to the model.
108
109 - `String text`
110
111 The text input to the model.
112
113 - `JsonValue; type "input_text"constant`
114
115 The type of the input item. Always `input_text`.
116
117 - `INPUT_TEXT("input_text")`
118
119 - `Optional<PromptCacheBreakpoint> promptCacheBreakpoint`
120
121 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.
122
123 - `JsonValue; mode "explicit"constant`
124
125 The breakpoint mode. Always `explicit`.
126
127 - `EXPLICIT("explicit")`
128
129 - `class OutputText:`
130
131 A text output from the model.
132
133 - `String text`
134
135 The text output from the model.
136
137 - `JsonValue; type "output_text"constant`
138
139 The type of the output text. Always `output_text`.
140
141 - `OUTPUT_TEXT("output_text")`
142
143 - `class InputImage:`
144
145 An image input block used within EvalItem content arrays.
146
147 - `String imageUrl`
148
149 The URL of the image input.
150
151 - `JsonValue; type "input_image"constant`
152
153 The type of the image input. Always `input_image`.
154
155 - `INPUT_IMAGE("input_image")`
156
157 - `Optional<String> detail`
158
159 The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.
160
161 - `class ResponseInputAudio:`
162
163 An audio input to the model.
164
165 - `InputAudio inputAudio`
166
167 - `String data`
168
169 Base64-encoded audio data.
170
171 - `Format format`
172
173 The format of the audio data. Currently supported formats are `mp3` and
174 `wav`.
175
176 - `MP3("mp3")`
177
178 - `WAV("wav")`
179
180 - `JsonValue; type "input_audio"constant`
181
182 The type of the input item. Always `input_audio`.
183
184 - `INPUT_AUDIO("input_audio")`
185
186 - `List<EvalContentItem>`
187
188 - `String`
189
190 - `class ResponseInputText:`
191
192 A text input to the model.
193
194 - `OutputText`
195
196 - `String text`
197
198 The text output from the model.
199
200 - `JsonValue; type "output_text"constant`
201
202 The type of the output text. Always `output_text`.
203
204 - `OUTPUT_TEXT("output_text")`
205
206 - `InputImage`
207
208 - `String imageUrl`
209
210 The URL of the image input.
211
212 - `JsonValue; type "input_image"constant`
213
214 The type of the image input. Always `input_image`.
215
216 - `INPUT_IMAGE("input_image")`
217
218 - `Optional<String> detail`
219
220 The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.
221
222 - `class ResponseInputAudio:`
223
224 An audio input to the model.
225
226 - `Role role`
227
228 The role of the message input. One of `user`, `assistant`, `system`, or
229 `developer`.
230
231 - `USER("user")`
232
233 - `ASSISTANT("assistant")`
234
235 - `SYSTEM("system")`
236
237 - `DEVELOPER("developer")`
238
239 - `Optional<Type> type`
240
241 The type of the message input. Always `message`.
242
243 - `MESSAGE("message")`
244
245 - `List<String> labels`
246
247 The labels to assign to each item in the evaluation.
248
249 - `String model`
250
251 The model to use for the evaluation. Must support structured outputs.
252
253 - `String name`
254
255 The name of the grader.
256
257 - `List<String> passingLabels`
258
259 The labels that indicate a passing result. Must be a subset of labels.
260
261 - `JsonValue; type "label_model"constant`
262
263 The object type, which is always `label_model`.
264
265 - `LABEL_MODEL("label_model")`
266
267### Multi Grader
268
269- `class MultiGrader:`
270
271 A MultiGrader object combines the output of multiple graders to produce a single score.
272
273 - `String calculateOutput`
274
275 A formula to calculate the output based on grader results.
276
277 - `Graders graders`
278
279 A StringCheckGrader object that performs a string comparison between input and reference using a specified operation.
280
281 - `class StringCheckGrader:`
282
283 A StringCheckGrader object that performs a string comparison between input and reference using a specified operation.
284
285 - `String input`
286
287 The input text. This may include template strings.
288
289 - `String name`
290
291 The name of the grader.
292
293 - `Operation operation`
294
295 The string check operation to perform. One of `eq`, `ne`, `like`, or `ilike`.
296
297 - `EQ("eq")`
298
299 - `NE("ne")`
300
301 - `LIKE("like")`
302
303 - `ILIKE("ilike")`
304
305 - `String reference`
306
307 The reference text. This may include template strings.
308
309 - `JsonValue; type "string_check"constant`
310
311 The object type, which is always `string_check`.
312
313 - `STRING_CHECK("string_check")`
314
315 - `class TextSimilarityGrader:`
316
317 A TextSimilarityGrader object which grades text based on similarity metrics.
318
319 - `EvaluationMetric evaluationMetric`
320
321 The evaluation metric to use. One of `cosine`, `fuzzy_match`, `bleu`,
322 `gleu`, `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`,
323 or `rouge_l`.
324
325 - `COSINE("cosine")`
326
327 - `FUZZY_MATCH("fuzzy_match")`
328
329 - `BLEU("bleu")`
330
331 - `GLEU("gleu")`
332
333 - `METEOR("meteor")`
334
335 - `ROUGE_1("rouge_1")`
336
337 - `ROUGE_2("rouge_2")`
338
339 - `ROUGE_3("rouge_3")`
340
341 - `ROUGE_4("rouge_4")`
342
343 - `ROUGE_5("rouge_5")`
344
345 - `ROUGE_L("rouge_l")`
346
347 - `String input`
348
349 The text being graded.
350
351 - `String name`
352
353 The name of the grader.
354
355 - `String reference`
356
357 The text being graded against.
358
359 - `JsonValue; type "text_similarity"constant`
360
361 The type of grader.
362
363 - `TEXT_SIMILARITY("text_similarity")`
364
365 - `class PythonGrader:`
366
367 A PythonGrader object that runs a python script on the input.
368
369 - `String name`
370
371 The name of the grader.
372
373 - `String source`
374
375 The source code of the python script.
376
377 - `JsonValue; type "python"constant`
378
379 The object type, which is always `python`.
380
381 - `PYTHON("python")`
382
383 - `Optional<String> imageTag`
384
385 The image tag to use for the python script.
386
387 - `class ScoreModelGrader:`
388
389 A ScoreModelGrader object that uses a model to assign a score to the input.
390
391 - `List<Input> input`
392
393 The input messages evaluated by the grader. Supports text, output text, input image, and input audio content blocks, and may include template strings.
394
395 - `Content content`
396
397 Inputs to the model - can contain template strings. Supports text, output text, input images, and input audio, either as a single item or an array of items.
398
399 - `String`
400
401 - `class ResponseInputText:`
402
403 A text input to the model.
404
405 - `String text`
406
407 The text input to the model.
408
409 - `JsonValue; type "input_text"constant`
410
411 The type of the input item. Always `input_text`.
412
413 - `INPUT_TEXT("input_text")`
414
415 - `Optional<PromptCacheBreakpoint> promptCacheBreakpoint`
416
417 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.
418
419 - `JsonValue; mode "explicit"constant`
420
421 The breakpoint mode. Always `explicit`.
422
423 - `EXPLICIT("explicit")`
424
425 - `class OutputText:`
426
427 A text output from the model.
428
429 - `String text`
430
431 The text output from the model.
432
433 - `JsonValue; type "output_text"constant`
434
435 The type of the output text. Always `output_text`.
436
437 - `OUTPUT_TEXT("output_text")`
438
439 - `class InputImage:`
440
441 An image input block used within EvalItem content arrays.
442
443 - `String imageUrl`
444
445 The URL of the image input.
446
447 - `JsonValue; type "input_image"constant`
448
449 The type of the image input. Always `input_image`.
450
451 - `INPUT_IMAGE("input_image")`
452
453 - `Optional<String> detail`
454
455 The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.
456
457 - `class ResponseInputAudio:`
458
459 An audio input to the model.
460
461 - `InputAudio inputAudio`
462
463 - `String data`
464
465 Base64-encoded audio data.
466
467 - `Format format`
468
469 The format of the audio data. Currently supported formats are `mp3` and
470 `wav`.
471
472 - `MP3("mp3")`
473
474 - `WAV("wav")`
475
476 - `JsonValue; type "input_audio"constant`
477
478 The type of the input item. Always `input_audio`.
479
480 - `INPUT_AUDIO("input_audio")`
481
482 - `List<EvalContentItem>`
483
484 - `String`
485
486 - `class ResponseInputText:`
487
488 A text input to the model.
489
490 - `OutputText`
491
492 - `String text`
493
494 The text output from the model.
495
496 - `JsonValue; type "output_text"constant`
497
498 The type of the output text. Always `output_text`.
499
500 - `OUTPUT_TEXT("output_text")`
501
502 - `InputImage`
503
504 - `String imageUrl`
505
506 The URL of the image input.
507
508 - `JsonValue; type "input_image"constant`
509
510 The type of the image input. Always `input_image`.
511
512 - `INPUT_IMAGE("input_image")`
513
514 - `Optional<String> detail`
515
516 The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.
517
518 - `class ResponseInputAudio:`
519
520 An audio input to the model.
521
522 - `Role role`
523
524 The role of the message input. One of `user`, `assistant`, `system`, or
525 `developer`.
526
527 - `USER("user")`
528
529 - `ASSISTANT("assistant")`
530
531 - `SYSTEM("system")`
532
533 - `DEVELOPER("developer")`
534
535 - `Optional<Type> type`
536
537 The type of the message input. Always `message`.
538
539 - `MESSAGE("message")`
540
541 - `String model`
542
543 The model to use for the evaluation.
544
545 - `String name`
546
547 The name of the grader.
548
549 - `JsonValue; type "score_model"constant`
550
551 The object type, which is always `score_model`.
552
553 - `SCORE_MODEL("score_model")`
554
555 - `Optional<List<Double>> range`
556
557 The range of the score. Defaults to `[0, 1]`.
558
559 - `Optional<SamplingParams> samplingParams`
560
561 The sampling parameters for the model.
562
563 - `Optional<Long> maxCompletionsTokens`
564
565 The maximum number of tokens the grader model may generate in its response.
566
567 - `Optional<ReasoningEffort> reasoningEffort`
568
569 Constrains effort on reasoning for reasoning models. Currently supported
570 values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.
571 Reducing reasoning effort can result in faster responses and fewer tokens
572 used on reasoning in a response. Not all reasoning models support every
573 value. See the
574 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)
575 for model-specific support.
576
577 - `NONE("none")`
578
579 - `MINIMAL("minimal")`
580
581 - `LOW("low")`
582
583 - `MEDIUM("medium")`
584
585 - `HIGH("high")`
586
587 - `XHIGH("xhigh")`
588
589 - `MAX("max")`
590
591 - `Optional<Long> seed`
592
593 A seed value to initialize the randomness, during sampling.
594
595 - `Optional<Double> temperature`
596
597 A higher temperature increases randomness in the outputs.
598
599 - `Optional<Double> topP`
600
601 An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
602
603 - `class LabelModelGrader:`
604
605 A LabelModelGrader object which uses a model to assign labels to each item
606 in the evaluation.
607
608 - `List<Input> input`
609
610 - `Content content`
611
612 Inputs to the model - can contain template strings. Supports text, output text, input images, and input audio, either as a single item or an array of items.
613
614 - `String`
615
616 - `class ResponseInputText:`
617
618 A text input to the model.
619
620 - `class OutputText:`
621
622 A text output from the model.
623
624 - `String text`
625
626 The text output from the model.
627
628 - `JsonValue; type "output_text"constant`
629
630 The type of the output text. Always `output_text`.
631
632 - `OUTPUT_TEXT("output_text")`
633
634 - `class InputImage:`
635
636 An image input block used within EvalItem content arrays.
637
638 - `String imageUrl`
639
640 The URL of the image input.
641
642 - `JsonValue; type "input_image"constant`
643
644 The type of the image input. Always `input_image`.
645
646 - `INPUT_IMAGE("input_image")`
647
648 - `Optional<String> detail`
649
650 The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.
651
652 - `class ResponseInputAudio:`
653
654 An audio input to the model.
655
656 - `List<EvalContentItem>`
657
658 - `String`
659
660 - `class ResponseInputText:`
661
662 A text input to the model.
663
664 - `OutputText`
665
666 - `InputImage`
667
668 - `class ResponseInputAudio:`
669
670 An audio input to the model.
671
672 - `Role role`
673
674 The role of the message input. One of `user`, `assistant`, `system`, or
675 `developer`.
676
677 - `USER("user")`
678
679 - `ASSISTANT("assistant")`
680
681 - `SYSTEM("system")`
682
683 - `DEVELOPER("developer")`
684
685 - `Optional<Type> type`
686
687 The type of the message input. Always `message`.
688
689 - `MESSAGE("message")`
690
691 - `List<String> labels`
692
693 The labels to assign to each item in the evaluation.
694
695 - `String model`
696
697 The model to use for the evaluation. Must support structured outputs.
698
699 - `String name`
700
701 The name of the grader.
702
703 - `List<String> passingLabels`
704
705 The labels that indicate a passing result. Must be a subset of labels.
706
707 - `JsonValue; type "label_model"constant`
708
709 The object type, which is always `label_model`.
710
711 - `LABEL_MODEL("label_model")`
712
713 - `String name`
714
715 The name of the grader.
716
717 - `JsonValue; type "multi"constant`
718
719 The object type, which is always `multi`.
720
721 - `MULTI("multi")`
722
723### Python Grader
724
725- `class PythonGrader:`
726
727 A PythonGrader object that runs a python script on the input.
728
729 - `String name`
730
731 The name of the grader.
732
733 - `String source`
734
735 The source code of the python script.
736
737 - `JsonValue; type "python"constant`
738
739 The object type, which is always `python`.
740
741 - `PYTHON("python")`
742
743 - `Optional<String> imageTag`
744
745 The image tag to use for the python script.
746
747### Score Model Grader
748
749- `class ScoreModelGrader:`
750
751 A ScoreModelGrader object that uses a model to assign a score to the input.
752
753 - `List<Input> input`
754
755 The input messages evaluated by the grader. Supports text, output text, input image, and input audio content blocks, and may include template strings.
756
757 - `Content content`
758
759 Inputs to the model - can contain template strings. Supports text, output text, input images, and input audio, either as a single item or an array of items.
760
761 - `String`
762
763 - `class ResponseInputText:`
764
765 A text input to the model.
766
767 - `String text`
768
769 The text input to the model.
770
771 - `JsonValue; type "input_text"constant`
772
773 The type of the input item. Always `input_text`.
774
775 - `INPUT_TEXT("input_text")`
776
777 - `Optional<PromptCacheBreakpoint> promptCacheBreakpoint`
778
779 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.
780
781 - `JsonValue; mode "explicit"constant`
782
783 The breakpoint mode. Always `explicit`.
784
785 - `EXPLICIT("explicit")`
786
787 - `class OutputText:`
788
789 A text output from the model.
790
791 - `String text`
792
793 The text output from the model.
794
795 - `JsonValue; type "output_text"constant`
796
797 The type of the output text. Always `output_text`.
798
799 - `OUTPUT_TEXT("output_text")`
800
801 - `class InputImage:`
802
803 An image input block used within EvalItem content arrays.
804
805 - `String imageUrl`
806
807 The URL of the image input.
808
809 - `JsonValue; type "input_image"constant`
810
811 The type of the image input. Always `input_image`.
812
813 - `INPUT_IMAGE("input_image")`
814
815 - `Optional<String> detail`
816
817 The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.
818
819 - `class ResponseInputAudio:`
820
821 An audio input to the model.
822
823 - `InputAudio inputAudio`
824
825 - `String data`
826
827 Base64-encoded audio data.
828
829 - `Format format`
830
831 The format of the audio data. Currently supported formats are `mp3` and
832 `wav`.
833
834 - `MP3("mp3")`
835
836 - `WAV("wav")`
837
838 - `JsonValue; type "input_audio"constant`
839
840 The type of the input item. Always `input_audio`.
841
842 - `INPUT_AUDIO("input_audio")`
843
844 - `List<EvalContentItem>`
845
846 - `String`
847
848 - `class ResponseInputText:`
849
850 A text input to the model.
851
852 - `OutputText`
853
854 - `String text`
855
856 The text output from the model.
857
858 - `JsonValue; type "output_text"constant`
859
860 The type of the output text. Always `output_text`.
861
862 - `OUTPUT_TEXT("output_text")`
863
864 - `InputImage`
865
866 - `String imageUrl`
867
868 The URL of the image input.
869
870 - `JsonValue; type "input_image"constant`
871
872 The type of the image input. Always `input_image`.
873
874 - `INPUT_IMAGE("input_image")`
875
876 - `Optional<String> detail`
877
878 The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`.
879
880 - `class ResponseInputAudio:`
881
882 An audio input to the model.
883
884 - `Role role`
885
886 The role of the message input. One of `user`, `assistant`, `system`, or
887 `developer`.
888
889 - `USER("user")`
890
891 - `ASSISTANT("assistant")`
892
893 - `SYSTEM("system")`
894
895 - `DEVELOPER("developer")`
896
897 - `Optional<Type> type`
898
899 The type of the message input. Always `message`.
900
901 - `MESSAGE("message")`
902
903 - `String model`
904
905 The model to use for the evaluation.
906
907 - `String name`
908
909 The name of the grader.
910
911 - `JsonValue; type "score_model"constant`
912
913 The object type, which is always `score_model`.
914
915 - `SCORE_MODEL("score_model")`
916
917 - `Optional<List<Double>> range`
918
919 The range of the score. Defaults to `[0, 1]`.
920
921 - `Optional<SamplingParams> samplingParams`
922
923 The sampling parameters for the model.
924
925 - `Optional<Long> maxCompletionsTokens`
926
927 The maximum number of tokens the grader model may generate in its response.
928
929 - `Optional<ReasoningEffort> reasoningEffort`
930
931 Constrains effort on reasoning for reasoning models. Currently supported
932 values are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.
933 Reducing reasoning effort can result in faster responses and fewer tokens
934 used on reasoning in a response. Not all reasoning models support every
935 value. See the
936 [reasoning guide](https://platform.openai.com/docs/guides/reasoning)
937 for model-specific support.
938
939 - `NONE("none")`
940
941 - `MINIMAL("minimal")`
942
943 - `LOW("low")`
944
945 - `MEDIUM("medium")`
946
947 - `HIGH("high")`
948
949 - `XHIGH("xhigh")`
950
951 - `MAX("max")`
952
953 - `Optional<Long> seed`
954
955 A seed value to initialize the randomness, during sampling.
956
957 - `Optional<Double> temperature`
958
959 A higher temperature increases randomness in the outputs.
960
961 - `Optional<Double> topP`
962
963 An alternative to temperature for nucleus sampling; 1.0 includes all tokens.
964
965### String Check Grader
966
967- `class StringCheckGrader:`
968
969 A StringCheckGrader object that performs a string comparison between input and reference using a specified operation.
970
971 - `String input`
972
973 The input text. This may include template strings.
974
975 - `String name`
976
977 The name of the grader.
978
979 - `Operation operation`
980
981 The string check operation to perform. One of `eq`, `ne`, `like`, or `ilike`.
982
983 - `EQ("eq")`
984
985 - `NE("ne")`
986
987 - `LIKE("like")`
988
989 - `ILIKE("ilike")`
990
991 - `String reference`
992
993 The reference text. This may include template strings.
994
995 - `JsonValue; type "string_check"constant`
996
997 The object type, which is always `string_check`.
998
999 - `STRING_CHECK("string_check")`
1000
1001### Text Similarity Grader
1002
1003- `class TextSimilarityGrader:`
1004
1005 A TextSimilarityGrader object which grades text based on similarity metrics.
1006
1007 - `EvaluationMetric evaluationMetric`
1008
1009 The evaluation metric to use. One of `cosine`, `fuzzy_match`, `bleu`,
1010 `gleu`, `meteor`, `rouge_1`, `rouge_2`, `rouge_3`, `rouge_4`, `rouge_5`,
1011 or `rouge_l`.
1012
1013 - `COSINE("cosine")`
1014
1015 - `FUZZY_MATCH("fuzzy_match")`
1016
1017 - `BLEU("bleu")`
1018
1019 - `GLEU("gleu")`
1020
1021 - `METEOR("meteor")`
1022
1023 - `ROUGE_1("rouge_1")`
1024
1025 - `ROUGE_2("rouge_2")`
1026
1027 - `ROUGE_3("rouge_3")`
1028
1029 - `ROUGE_4("rouge_4")`
1030
1031 - `ROUGE_5("rouge_5")`
1032
1033 - `ROUGE_L("rouge_l")`
1034
1035 - `String input`
1036
1037 The text being graded.
1038
1039 - `String name`
1040
1041 The name of the grader.
1042
1043 - `String reference`
1044
1045 The text being graded against.
1046
1047 - `JsonValue; type "text_similarity"constant`
1048
1049 The type of grader.
1050
1051 - `TEXT_SIMILARITY("text_similarity")`