← All projects
Project record1 mention
Originally shared on Hacker News

Natural-language time-series querying with Claude Opus 4.5

This project uses Claude Opus 4.5 to query gigabytes of time-series data stored in TimescaleDB via natural language: questions about relationships in the data are turned into generated queries that test for statistically significant changes at specific intervals and find patterns. For example, after classifying tens of thousands of news articles with different classification models, Claude writes queries that detect significant changes in the time series following a given article classification. The patterns pass train/test split validation, training on 2023–2024 data and effectively predicting movements in the 2025 data from the classified news articles.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Natural-language time-series querying with Claude Opus 4.5

    This project uses Claude Opus 4.5 to query gigabytes of time-series data stored in TimescaleDB via natural language: questions about relationships in the data are turned into generated queries that test for statistically significant changes at specific intervals and find patterns. For example, after classifying tens of thousands of news articles with different classification models, Claude writes queries that detect significant changes in the time series following a given article classification. The patterns pass train/test split validation, training on 2023–2024 data and effectively predicting movements in the 2025 data from the classified news articles.

    Posted by @dataviz1000 · Original source ↗

    Source text · @dataviz1000 · · Source ↗

    Using Claude Opus 4.5 to query time-series data. I have GBs of time-series data in a TimescaleDB database. It’s more complicated than this, but the gist is: I use natural language to ask questions about relationships in the data, Claude Opus 4.5 generates queries, and it finds patterns.