Combine multiple text values into one coherent output
Per-group — reads the whole group in one call.
MERGE_TEXTS({{ texts }})MERGE_TEXTS({{ texts }}, '{{ mode }}')| name | type | description |
|---|---|---|
| texts | VARCHAR | Text values to merge |
| mode(optional) | VARCHAR | Mode: concatenate, deduplicate, synthesize, summarize, timeline |
Deduplicates similar shipping comments
WITH
test_data AS (
SELECT
*
FROM
(
VALUES
('The product arrived on time.'),
('Product arrived on time!'),
('Fast shipping, item came early.'),
('Great packaging and quick delivery.')
) AS t (comment)
)
SELECT
MERGE_TEXTS (comment, 'deduplicate')
FROM
test_dataCondense individual text into brief summary (scalar, per-row)
Finds common ground among texts via centrality + LLM summary
LLM-only consensus (escape hatch for CONSENSUS)
Summarize a group of texts into one concise overview
Extracts URLs from text, fetches with browser, returns summary
Extract N main topics from texts (embed centrality + LLM naming)
Combine multiple text values into one coherent output
Per-group — reads the whole group in one call.
MERGE_TEXTS({{ texts }})MERGE_TEXTS({{ texts }}, '{{ mode }}')| name | type | description |
|---|---|---|
| texts | VARCHAR | Text values to merge |
| mode(optional) | VARCHAR | Mode: concatenate, deduplicate, synthesize, summarize, timeline |
Deduplicates similar shipping comments
WITH
test_data AS (
SELECT
*
FROM
(
VALUES
('The product arrived on time.'),
('Product arrived on time!'),
('Fast shipping, item came early.'),
('Great packaging and quick delivery.')
) AS t (comment)
)
SELECT
MERGE_TEXTS (comment, 'deduplicate')
FROM
test_dataCondense individual text into brief summary (scalar, per-row)
Finds common ground among texts via centrality + LLM summary
LLM-only consensus (escape hatch for CONSENSUS)
Summarize a group of texts into one concise overview
Extracts URLs from text, fetches with browser, returns summary
Extract N main topics from texts (embed centrality + LLM naming)