Home / Companies / Tinybird / Blog / Post Details
Content Deep Dive

Building a conversational AI tool for real-time analytics

Blog post from Tinybird

Post Details
Company
Date Published
Author
Rafael Moreno Higueras
Word Count
1,068
Company Posts That Month
13
Language
English
Hacker News Points
-
Post removed?
No
Summary

Tinybird has introduced a new feature called Explorations, a conversational UI that simplifies data interaction by allowing users to ask natural-language questions instead of writing complex SQL queries. This feature translates user queries into contextualized SQL commands, displaying results as tables and charts, and aims to streamline analytics workflows by integrating traditional Tinybird interfaces into a unified system. The underlying technology includes Next.js for streaming responses, Vercel AI SDK for chat state management, and Vertex AI for model selection and fallback options. Developing this conversational interface involved overcoming challenges with large language models (LLMs) through techniques like function calling, LLM chaining, and context management. The workflow starts with an LLM acting as an orchestrator that selects and utilizes various tools to complete tasks, such as executing queries and generating visualizations, with a limit on tool invocations to ensure efficiency. The feature aims to make data exploration more accessible and less time-consuming for users, offering a practical example of its application in analyzing product usage data. Users can try Explorations through Tinybird's cloud platform or CLI, with free sign-up options available for new users.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
LLM 12 3,765 540 172 -11%
Real-time 3 3,344 937 222 -51%
Voice AI 2 664 114 38 +17%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.