Compare values in a group for similarities, differences, and patterns
Per-group — reads the whole group in one call.
COMPARE({{ values }})COMPARE({{ values }}, '{{ focus }}')| name | type | description |
|---|---|---|
| values | VARCHAR | Values to compare |
| focus(optional) | VARCHAR | Focus: differences, similarities, changes, all |
Compares iPhone models to find differences
WITH
test_data AS (
SELECT
*
FROM
(
VALUES
('iPhone 15: $999, 6.1" display, A16 chip'),
(
'iPhone 15 Pro: $1099, 6.1" display, A17 Pro chip'
),
(
'iPhone 15 Pro Max: $1199, 6.7" display, A17 Pro chip'
)
) AS t (phone)
)
SELECT
COMPARE (phone, 'differences')
FROM
test_dataBayesian A/B test (Beta-Binomial) returning full posterior + recommendation
Assess the confidence/quality of a cascade execution result.
Generate the strongest counterargument to a position
Differentially-private count (Laplace mechanism, sensitivity=1)
Differentially-private mean (Laplace mechanism)
Detect logical fallacies in an argument
Compare values in a group for similarities, differences, and patterns
Per-group — reads the whole group in one call.
COMPARE({{ values }})COMPARE({{ values }}, '{{ focus }}')| name | type | description |
|---|---|---|
| values | VARCHAR | Values to compare |
| focus(optional) | VARCHAR | Focus: differences, similarities, changes, all |
Compares iPhone models to find differences
WITH
test_data AS (
SELECT
*
FROM
(
VALUES
('iPhone 15: $999, 6.1" display, A16 chip'),
(
'iPhone 15 Pro: $1099, 6.1" display, A17 Pro chip'
),
(
'iPhone 15 Pro Max: $1199, 6.7" display, A17 Pro chip'
)
) AS t (phone)
)
SELECT
COMPARE (phone, 'differences')
FROM
test_dataBayesian A/B test (Beta-Binomial) returning full posterior + recommendation
Assess the confidence/quality of a cascade execution result.
Generate the strongest counterargument to a position
Differentially-private count (Laplace mechanism, sensitivity=1)
Differentially-private mean (Laplace mechanism)
Detect logical fallacies in an argument