← AUTOMATER NEWSROOM

Google Cloud previews natural-language queries for Bigtable and Firestore

Google Cloud’s preview brings conversational queries to operational NoSQL data. Here’s how Bigtable and Firestore teams can scope an agent and check its answers.

Google Cloud announced on December 2 that Conversational Analytics is in public preview for Bigtable and Firestore. Developers can try natural-language questions in Bigtable Studio or Firestore Studio and embed the capability in an application through the Conversational Analytics API. For teams whose operational records already live in these databases, the preview gives them a way to try conversational analysis against those records directly. Google says the API can return the generated query alongside a synthesized answer and an explanation of its execution. Google Cloud announcement

Firestore’s preview was already documented on November 9. The December announcement puts that capability alongside Bigtable, with the same conversational interface and API but different data sources and generated query languages. For Firestore, the documented scope is Enterprise edition with MongoDB compatibility. Firestore release notes

Headline of the Google Cloud Blog announcement about Conversational Analytics for Bigtable and Firestore
Google Cloud Blog’s December 2 announcement of Conversational Analytics for Bigtable and Firestore. · Original source

What each agent can query

Database Supported edition Knowledge sources you select Generated query language
Bigtable Enterprise or Enterprise Plus Tables and views GoogleSQL
Firestore Enterprise with MongoDB compatibility Collections MongoDB Query Language (MQL)

Both products let developers supply field descriptions, business terms and defaults for filtering or grouping. Google documents a guided setup in the Cloud console and an advanced setup in an IDE or the Gemini CLI. In both products, the API also supports direct conversations with a data source. Those conversations omit the configured agent’s context and instructions, which Google says can make answers less accurate. Bigtable documentation · Firestore documentation

Start with a question you can answer independently

A useful first test is an operations question with a fixed time window and a known result. For example, a team could ask, “How many distinct orders recorded a payment failure per region last Tuesday, UTC?” In Bigtable, choose a table or view with the order ID, event timestamp, payment status and region. In Firestore, choose the collection that contains the equivalent records and describe where those fields live in the documents. State whether a retry counts as another failure and which timestamp defines the reporting day. Those two choices can change the answer even when the generated query runs successfully.

Run a hand-written reference query against the same stable test data, then ask the question in a direct conversation and again through a configured agent. Compare the per-region results and inspect the generated query for the date bounds, status filter and distinct-order logic. Try a paraphrase and a window with zero matching records. These cases show whether the result survives a wording change and whether the agent reports an empty result correctly. For more on scoring query agents by the data they return, see Automater’s coverage of Google’s result-set evaluation.

If the configured agent still counts retries as separate orders, tighten the metric definition and rerun the same questions. Google’s announcement describes verified queries as a way to provide reference templates for domain-specific metrics. Use a reviewed reference query for the order-counting rule and keep at least one paraphrase outside the examples you give the agent. That gives you a check on whether it learned the intended distinction. Google Cloud announcement

Google says Conversational Analytics executes operational database queries in read-only mode. The product documentation also describes IAM controls for access and says the underlying database charges for queries still apply during preview. Before embedding the API, run the test under the identity your application will use and record the result, elapsed time and database usage. A correct answer to a tightly scoped question gives you a baseline for deciding which questions the application is ready to expose. Bigtable documentation · Firestore documentation

A natural-language question passes through agent context and branches into GoogleSQL for selected Bigtable tables or views and MQL for selected Firestore collections.A natural-language question passes through agent context and branches into GoogleSQL for selected Bigtable tables or views and MQL for selected Firestore collections.
The agent’s context defines terms and defaults. The selected database determines which sources it can query and which dialect it generates.

Sources

  1. Conversational analytics for Bigtable & Firestore on Google Cloud | Google Cloud Blog
  2. Conversational analytics for Bigtable overview | Data Agents | Google Cloud Documentation
  3. Conversational analytics for Firestore with MongoDB compatibility | Data Agents | Google Cloud Documentation
  4. Firestore with MongoDB compatibility release notes | Google Cloud Documentation