Extract N main topics from texts (embed centrality + LLM naming)
Per-group — reads the whole group in one call.
TOPICS({{ texts }})TOPICS({{ texts }}, {{ num_topics }})THEMES({{ texts }})THEMES({{ texts }}, {{ num_topics }})| name | type | description |
|---|---|---|
| texts | JSON | — |
| num_topics | INTEGER | — |
Extracts themes from AI/healthcare articles
WITH
test_data AS (
SELECT
*
FROM
(
VALUES
('Machine learning is transforming healthcare'),
('AI models can detect cancer early'),
('Deep learning improves medical imaging'),
('Neural networks assist in diagnosis'),
('Healthcare AI reduces costs')
) AS t (article)
)
SELECT
THEMES (article, 3)
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)
Combine multiple text values into one coherent output
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)
Per-group — reads the whole group in one call.
TOPICS({{ texts }})TOPICS({{ texts }}, {{ num_topics }})THEMES({{ texts }})THEMES({{ texts }}, {{ num_topics }})| name | type | description |
|---|---|---|
| texts | JSON | — |
| num_topics | INTEGER | — |
Extracts themes from AI/healthcare articles
WITH
test_data AS (
SELECT
*
FROM
(
VALUES
('Machine learning is transforming healthcare'),
('AI models can detect cancer early'),
('Deep learning improves medical imaging'),
('Neural networks assist in diagnosis'),
('Healthcare AI reduces costs')
) AS t (article)
)
SELECT
THEMES (article, 3)
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)
Combine multiple text values into one coherent output
Summarize a group of texts into one concise overview
Extracts URLs from text, fetches with browser, returns summary