LLM-only topic extraction (escape hatch for THEMES)
Per-group — reads the whole group in one call.
TOPICS_LLM({{ texts }})TOPICS_LLM({{ texts }}, {{ num_topics }})THEMES_LLM({{ texts }})THEMES_LLM({{ texts }}, {{ num_topics }})| name | type | description |
|---|---|---|
| texts | JSON | — |
| num_topics | INTEGER | — |
LLM escape hatch extracts AI/healthcare themes
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_LLM (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
LLM-only topic extraction (escape hatch for THEMES)
Per-group — reads the whole group in one call.
TOPICS_LLM({{ texts }})TOPICS_LLM({{ texts }}, {{ num_topics }})THEMES_LLM({{ texts }})THEMES_LLM({{ texts }}, {{ num_topics }})| name | type | description |
|---|---|---|
| texts | JSON | — |
| num_topics | INTEGER | — |
LLM escape hatch extracts AI/healthcare themes
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_LLM (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