# Using Pinecone and Embeddings

DevFeed: [Using Pinecone and Embeddings](<https://devfeed.tech/articles/using-pinecone-and-embeddings-81424.md>)

Original publisher: [Read original article](<https://stack.convex.dev/pinecone-and-embeddings>)

Author: Stack

Published: 2023-06-28T19:00:11Z

Content type: tutorial

Language: en

Sources: [Stack](<https://devfeed.tech/sources/stack.md>)

Topics: [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [Supabase](<https://devfeed.tech/topics/supabase.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [api-keys](<https://devfeed.tech/tags/api-keys.md>), [app](<https://devfeed.tech/tags/app.md>), [await](<https://devfeed.tech/tags/await.md>), [backend](<https://devfeed.tech/tags/backend.md>), [built-in](<https://devfeed.tech/tags/built-in.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [code](<https://devfeed.tech/tags/code.md>), [convex](<https://devfeed.tech/tags/convex.md>), [create](<https://devfeed.tech/tags/create.md>), [custom](<https://devfeed.tech/tags/custom.md>), [database](<https://devfeed.tech/tags/database.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [exists](<https://devfeed.tech/tags/exists.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [has](<https://devfeed.tech/tags/has.md>), [integration](<https://devfeed.tech/tags/integration.md>), [patterns](<https://devfeed.tech/tags/patterns.md>)

## AI overview

This tutorial explains how to combine Convex with Pinecone for applications that use embeddings and application data. It walks through chunking source material, storing metadata and text in Convex, generating and upserting embeddings into Pinecone, and running semantic searches whose results update subscribed clients. It also discusses transaction boundaries, asynchronous actions, query filters, and separating user data to avoid leaking context.

## Source excerpt

Pinecone and Convex are a good match when you're looking to build an application that leverages embeddings and also has application data.