AgentSea.VectorStore.Pinecone (agentsea_embeddings v0.1.0)

Copy Markdown

A Pinecone AgentSea.VectorStore over its data-plane REST API (Req) — a managed/remote store alongside the in-memory, pgvector, and Qdrant stores.

The "store" is a config map (index host + api key + optional namespace). Record :text rides in the point metadata under "text" (Pinecone metadata is flat), and is split back out on read. Index creation is a control-plane concern (Pinecone console / control API) — this adapter covers the data plane.

Per the behaviour, callbacks raise on transport/API errors.

Setup

store = AgentSea.VectorStore.Pinecone.store(host: "https://my-index-xxxx.svc.pinecone.io")
AgentSea.Embeddings.new(store_mod: AgentSea.VectorStore.Pinecone, store: store, embedder: ...)

Summary

Functions

Build a store. Options: :host (required), :api_key, :namespace, :adapter.

Types

store()

@type store() :: %{
  host: String.t(),
  api_key: String.t() | nil,
  namespace: String.t(),
  adapter: (... -> any()) | nil
}

Functions

store(opts)

@spec store(keyword()) :: store()

Build a store. Options: :host (required), :api_key, :namespace, :adapter.