惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
T
The Exploit Database - CXSecurity.com
Simon Willison's Weblog
Simon Willison's Weblog
P
Privacy & Cybersecurity Law Blog
L
LINUX DO - 热门话题
T
Threat Research - Cisco Blogs
T
Tenable Blog
TaoSecurity Blog
TaoSecurity Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
AI
AI
P
Proofpoint News Feed
A
About on SuperTechFans
P
Privacy International News Feed
月光博客
月光博客
雷峰网
雷峰网
S
Secure Thoughts
博客园 - 叶小钗
博客园 - 聂微东
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Project Zero
Project Zero
The Cloudflare Blog
SecWiki News
SecWiki News
The Hacker News
The Hacker News
V
Vulnerabilities – Threatpost
罗磊的独立博客
A
Arctic Wolf
阮一峰的网络日志
阮一峰的网络日志
Know Your Adversary
Know Your Adversary
酷 壳 – CoolShell
酷 壳 – CoolShell
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Troy Hunt's Blog
The Last Watchdog
The Last Watchdog
Schneier on Security
Schneier on Security
小众软件
小众软件
有赞技术团队
有赞技术团队
博客园 - 司徒正美
T
Tailwind CSS Blog
量子位
C
Cybersecurity and Infrastructure Security Agency CISA
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Hugging Face - Blog
Hugging Face - Blog
人人都是产品经理
人人都是产品经理
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
S
Security @ Cisco Blogs
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
宝玉的分享
宝玉的分享
L
Lohrmann on Cybersecurity

Pinecone

Pinecone Assistant: A Managed Knowledge Layer for Production AI Applications Multi-domain RAG in n8n: why one knowledge base is not enough Allspice Transforms the Culinary Experience with Semantic Search Powered by Pinecone | Pinecone Building RAG workflows in n8n: choosing the right Pinecone node Knowledge needs a meta-knowledge layer Garbage Day: How Pinecone Safely Deletes Billions of Objects at Scale When "Performance" Means Two Different Things Pinecone BYOC: Pinecone in your AWS, GCP, or Azure account, no vendor access True, Relevant, and Wrong: The Applicability Problem in RAG Use the Pinecone Plugin for Claude Code to develop AI Applications Faster Millions at Stake: How Melange's High-Recall Retrieval Prevents Litigation Collapse Powering High-stakes Patent Search at Scale: How Melange Built a Reliable AI System on Pinecone | Pinecone Pinecone Assistant Node in n8n: Turn Any Data Source Into Knowledge RAG with Access Control Pinecone Dedicated Read Nodes are now in Public Preview Inside Pinecone: Slab Architecture New Bulk Data Operations: Update, Delete, and Fetch by Metadata The Hidden Cost of Building: Lessons from Aquant Simplifying Vector Embeddings with Pinecone Integrated Inference Capabilities Pinecone joins Microsoft Marketplace as a Launch Partner GTM Engineering: Clay + Pinecone for AI-powered Sales Outbound Build an AI knowledge assistant with Google Docs and Pinecone Moving Pinecone forward with Ash Ashutosh as CEO and Edo spearheading our growing AI ambitions as Chief Scientist Pinecone Founder Edo Liberty to Spearhead Pinecone’s Growing AI Ambitions; Appoints Ash Ashutosh as CEO to Expand Vector Database Market Leadership Fast, Accurate Retrieval for Creators at Scale: Delphi’s Path Toward a Million Conversational Agents with Pinecone | Pinecone Announcing Pinecone Pioneers: A Program for Builders, Organizers, and Community Leaders What is Context Engineering? Chunking Strategies for LLM Applications Beyond the hype: Why RAG remains essential for modern AI Obviant Makes 30% More Accurate Defense Acquisition Recommendations Combining Sparse and Dense Retrieval with Pinecone | Pinecone Build more knowledgeable AI applications with new LLMs and greater control in Pinecone Assistant #NYTECHWEEK 2025 Retrieval-Augmented Generation (RAG) Accurate and Efficient Metadata Filtering in Pinecone’s Serverless Vector Database | Pinecone Terminal X AI Agents, Powered by Pinecone, Turn Complex Financial Data Into Production-grade Insights at Scale | Pinecone Aquant Delivers Scalable, Expert-level Service Intelligence with Pinecone | Pinecone Cascading retrieval with multi-vector representations: balancing efficiency and effectiveness Vector databases aren't just for large-scale enterprise AI Unveiling DIME: Reproducibility, Scalability, and Formal Analysis of Dimension Importance Estimation for Dense Retrieval | Pinecone Fast and Effective Early Termination for Simple Ranking Functions | Pinecone Domain-specific AI Agents at Scale: CustomGPT.ai Serves 10,000+ Customers with Pinecone | Pinecone Using Pinecone asynchronously with FastAPI A Flexible Resource for Top-Weighted Comparisons Between Sets and Rankings | Pinecone Build secure, scalable agentic AI workflows with Rubrik Annapurna and Pinecone Tool up: Pinecone’s first MCP servers are here Add context to your agent with Pinecone Assistant MCP remote server E2Rank: Efficient and Effective Layer-wise Reranking | Pinecone ColBERT-serve: Efficient Multi-Stage Memory-Mapped Scoring | Pinecone Efficient Constant-Space Multi-Vector Retrieval | Pinecone How Vanguard Worked with Pinecone to Boost Customer Support with Faster Calls and 12% More Accurate Responses | Pinecone Pinecone Named to Fast Company's Annual List of the World's Most Innovative Companies of 2025 Launch Week: Pinecone for agents, search, recommendations, and more Optimizing Pinecone for agents (and more) Retrieval Inference for scale and performance How 1up Turns Sales Reps Into Product Experts with Pinecone | Pinecone Don’t be dense: Launching sparse indexes in Pinecone Unlock High-Precision Keyword Search with pinecone-sparse-english-v0 Evolving Pinecone's architecture to meet the demands of Knowledgeable AI Pinpoint references faster with citation highlights in Pinecone Assistant Bringing the leading vector database to your cloud Getting started with llama-text-embed-v2 Natural Language Counterfactual Explanations for Graphs Using Large Language Models | Pinecone Easily build knowledgeable chat and agent-based applications in minutes with Pinecone Assistant, now generally available How to build an agentic, chat or RAG knowledge system using Pinecone Assistant Real-time RAG with Pinecone and Estuary Flow Stravito Turns Market and Consumer Data Into Actionable Insights with Pinecone Inference | Pinecone Accelerate prototyping and development with Pinecone Local First-of-its-kind Pinecone Knowledge Platform to Power Best-in-class Retrieval for Customers Introducing integrated inference: Embed, rerank, and retrieve your data with a single API Strengthening security and increasing control with CMEK and API key roles Introducing Pinecone Rerank V0 Introducing cascading retrieval: Unifying dense and sparse with reranking From Idea to Action: How Pinecone Assistant Meaningfully Accelerates AI Business Building AI apps on Azure with Pinecone just got a lot easier Building a reliable, curated, and accurate RAG system with Cleanlab and Pinecone Four features of the Assistant API you aren't using - but should Deploying Pinecone with Infrastructure as Code (IaC) Streamlining CI/CD with Pinecone Local September 2024 Product Update Results of the Big ANN: NeurIPS'23 competition | Pinecone Introducing import from object storage for more efficient data transfer to Pinecone serverless Simplify, enhance, and evaluate RAG development with Pinecone Assistant, now in public preview Vectors and Graphs: Better Together August 2024 Product Update Pinecone Helps Deep Talk Deliver World-Class AI Assistants with Lower Engineering Overhead | Pinecone Assembled Delivers Better, Faster AI- Driven Support with Pinecone | Pinecone Llama 3.1 Agent using LangGraph and Ollama Build knowledgeable AI with Pinecone serverless, now generally available on Microsoft Azure Pinecone serverless is now generally available on Google Cloud, adding knowledge to AI assistants and other applications Accelerating Legal Discovery and Analysis with Pinecone and Voyage AI Bridging Dense and Sparse Maximum Inner Product Search | Pinecone Refine Retrieval Quality with Pinecone Rerank Introducing reranking to Pinecone Inference to simplify building accurate AI July 2024 Product Update Connect to Pinecone within your platform to enable a seamless AI development experience Introducing Pinecone API Versioning RAG Brag with Inkeep Co-Founder Nick Gomez LangGraph and Research Agents Introducing Pinecone Inference to streamline your AI workflow Build Privacy-aware AI software using Pinecone
BigQuery to Pinecone in Real-Time with Estuary Flow
Dániel Pálma · 2024-12-18 · via Pinecone

Introduction

The ability to perform real-time analytics and leverage advanced AI capabilities is crucial for businesses aiming to stay competitive. Google BigQuery, with its powerful data analytics capabilities, and Pinecone, a state-of-the-art vector database, are two technologies that can be integrated to achieve this goal. By using continuous queries in BigQuery to build real-time data transformations, you can stream data directly into Pinecone with Estuary Flow, enabling real-time vector search and retrieval. This integration is especially valuable for applications requiring instant data updates and rapid responses, such as anomaly detection, personalized recommendations, and more.

In this chapter, we’ll explore how to set up a real-time data pipeline from BigQuery to Pinecone using Estuary Flow, focusing on continuous queries and incremental data loading. We'll walk you through each step of the process, ensuring that you can harness the full potential of both BigQuery and Pinecone for your real-time applications.

Overview of BigQuery

Google BigQuery is a fully managed, serverless data warehouse that allows businesses to analyze vast amounts of data with exceptional speed. It excels in handling large datasets and supports advanced SQL queries, making it an ideal choice for organizations that require fast and scalable analytics. BigQuery's integration with other Google Cloud services and its ability to handle streaming data makes it a powerful tool for real-time analytics.

Step-by-Step Guide

Step 1: Setting Up BigQuery for Continuous Queries

For this guide, we’ll consider a dataset comprised of two tables in BigQuery:

Customer Support Requests

An example table of customer support requests entries in BigQuery

Customers

A sample table of customer records in BigQuery

The first table contains continuously updating incoming customer support requests generated by users and the second table contains data about the customers themselves.

Here’s the DDL statement to generate both tables:

CREATE TABLE `your_project.your_dataset.support_requests` (
  customer_id BIGNUMERIC(38) NULL,
  description STRING NULL,
  request_date TIMESTAMP NULL,
  request_id BIGNUMERIC(38) NULL,
  request_type STRING NULL,
  status STRING NULL
);

CREATE TABLE `your_project.your_dataset.customer` (
  customer_id INTEGER NULL,
  first_name STRING NULL,
  last_name STRING NULL,
  email STRING NULL,
  date_of_birth DATE NULL,
  phone_number STRING NULL,
  address RECORD NULL,
  signup_date TIMESTAMP NULL,
  is_active BOOLEAN NULL,
  loyalty_points INTEGER NULL
);

What we’d like to achieve in this data flow, is to join the two datasets and vectorize the resulting records and load the embeddings into Pinecone.

With BigQuery continuous queries, we can do this all in real-time! Let’s dive a bit deeper into how exactly.

Explanation of BigQuery Continuous Queries

BigQuery continuous queries are a powerful feature that allows you to process and analyze data as it streams into your BigQuery tables. Unlike traditional batch processing, continuous queries operate in real-time, continuously updating the results as new data arrives.

To set up continuous queries in BigQuery:

  1. Create a BigQuery Dataset: Start by creating a dataset that will store the results of your continuous queries.
  2. Define the Continuous Query: Write an SQL query that processes your streaming data. Ensure that the query is optimized for continuous processing, focusing on incremental updates rather than full table scans.
  3. Configure the Query as Continuous: In BigQuery, set the query to run continuously, specifying the frequency and other relevant parameters.

Configuring a continuous query in BigQuery

You’ll have to create a Pub/Sub topic first, then configure the query as “Continuous”, targeting the topic you just created.

Once configured, the continuous query will automatically update as new data arrives, providing real-time insights and analysis.

As you can see in the image above, our live dataset is the joined product of the two source tables.

You can quickly test the continuous query by inserting a few records to each table, then heading over to the Pub/Sub message preview page on the Google Cloud Console.

Step 2: Setting Up Estuary Flow for Pub/Sub Integration

Initializing the Capture Connector for Pub/Sub in Estuary Flow

Estuary Flow is a real-time data integration platform that allows you to capture and stream data from various sources, including Google Pub/Sub, to different destinations. To integrate BigQuery continuous queries with Estuary Flow, you’ll first need to set up a capture connector for Pub/Sub.

  1. Create a Service Account: Ensure that you have a Google Cloud service account with the necessary permissions to access Pub/Sub and BigQuery.
  2. Initialize the Capture Connector: In the Estuary Flow dashboard, create a new capture connector and select Google Pub/Sub as the source. Provide the service account credentials and configure the connector to listen to the relevant Pub/Sub topics.

Creating the capture connector using Google Pub/Sub

Configuring the Connector to Receive Messages from Pub/Sub Topics

Configuring the Pub/Sub connector

Configure the connector to receive messages from the Pub/Sub topics associated with your continuous queries. This setup ensures that any new data processed by BigQuery is immediately captured by Estuary Flow and streamed to the next destination, such as Pinecone.

  1. Select the Pub/Sub Topics: Choose the topics you want to subscribe to, ensuring they are linked to the continuous queries in BigQuery. In our example the name of the topic is projects/estuary-theatre/topics/customer-requests-demo

After pressing “Save & Publish”, Estuary Flow will start immediately capturing data coming from the Pub/Sub topic in real-time. As the last step, let’s set up the Pinecone Materialization.

Step 3: Loading Vectorized Data into Pinecone

Pinecone is a specialized vector database designed for high-performance vector search and similarity matching. By vectorizing your Google Sheets data incrementally and loading it into Pinecone, you can leverage its native search capabilities to quickly retrieve relevant information.

Here's what you need to do to quickly set up Estuary Flow’s Pinecone materialization connector:

Head over to your Estuary Flow dashboard, navigate to the "Destinations" section, and click on "Create New Materialization". Select "Pinecone" as your materialization connector.

Creating a new Pinecone materialization in Estuary Flow

Next, configure the Materialization. Enter all the configuration details required by the connector; such as your Pinecone index name and both API keys.

Configuring the Pinecone materialization

Finally, Save & Publish the Materialization. To verify that it’s working correctly, you can head over to the Pinecone web UI and make sure there are embeddings in the index.

It should look something like this:

The Pinecone console showing the new vectors

The Pinecone materialization connector will generate a vector embedding for each document in the collection that the source connector produces with some additional metadata.

Flow packages the incoming documents under the flow_document key, including the metadata fields it produces while capturing changes from the source which include a uuid value, the original row_id and the operation type that triggered the change event.

Because Pinecone supports upserts, you can always use only the latest version for every record – this is critical to avoid stale data.

More Use Cases and Applications

Integrating BigQuery with Pinecone using continuous queries opens up a wide range of real-time applications across various industries. Apart from customer support requests, here are some other practical examples:

  1. Real-Time Analytics: Companies can use this integration to analyze and visualize data in real-time, enabling immediate insights and decision-making. For example, a retail business could track customer behavior in real-time and adjust marketing strategies on the fly.
  2. Anomaly Detection: Financial institutions can leverage real-time data from BigQuery and Pinecone to detect fraudulent transactions or unusual patterns, enabling faster response times and reducing potential losses.
  3. Personalized Recommendations: E-commerce platforms can offer personalized product recommendations by continuously updating vector representations of user behavior and product features in Pinecone, ensuring that recommendations are always relevant and up-to-date.

Businesses across various sectors can benefit from this integration:

  • E-commerce: By continuously updating product vectors in Pinecone based on real-time sales data from BigQuery, e-commerce platforms can deliver highly accurate and personalized recommendations, driving sales and enhancing customer satisfaction.
  • Finance: Financial firms can use real-time analytics to monitor transactions and detect anomalies, improving the accuracy of fraud detection systems and enhancing security measures.
  • Healthcare: Healthcare providers can use real-time data to monitor patient health metrics and provide timely interventions, improving patient outcomes and reducing the burden on healthcare systems.

Wrapping up

The integration of BigQuery with Pinecone using continuous queries represents a powerful solution for real-time data processing and retrieval. By following the steps outlined in this guide, you can set up a seamless data pipeline that ensures your vector database is always up-to-date and ready to deliver fast, accurate results for your AI-driven applications. Whether you’re building a recommendation system, monitoring financial transactions, or analyzing customer behavior, this integration will empower your business to make data-driven decisions in real-time.

This concludes Chapters 1 and 2 of the series. The next chapter will delve into the advanced configurations and optimizations that can further enhance the performance and scalability of your real-time data pipeline.

Stay tuned!

Was this article helpful?