Functions
Functions available in the query language.
automated_readability_index
automated_readability_index(text)Returns the ARI (Automated Readability Index) which outputs a number that approximates the grade level needed to comprehend the text. For example if the ARI is 6.5, then the grade level to comprehend the text is 6th to 7th grade.
character_count
character_count(text)Returns the number of characters in a text column.
Aliases
num_chars
flesch_kincaid_grade
Returns the Flesch-Kincaid Grade of the given text. This is a grade formula in that a score of 9.3 means that a ninth grader would be able to read the document.
greater_than
Computes the element-wise greater than comparison of two columns. input1 > input2
Aliases
gt
greater_than_or_equal_to
Computes the element-wise greater than or equal to comparison of two columns. input1 >= input2
Aliases
gte
less_than_or_equal_to
Computes the element-wise less than or equal to comparison of two columns. input1 <= input2
Aliases
lte
llm_text_sentiment
Judge the sentiment of a text as positive, negative, or neutral.
Aliases
text_sentiment
llm_text_similarity
Judge the similarity of an output on a scale of 1 to 5, as compared to a target.
Aliases
text_similarity
Was this helpful?

