@google-labs/pinecone-kit v0.1.12
A Breadboard Kit for Pinecone
This kit is a an early prototype, and is very likely to change. However, it should give pretty good idea on how to build kits with boards.
There are currently four boards that power this kit:
config
, which handles configuration of the Pinecone API, and is represented by theconfig
node.vector
, which is a thin wrapper around the vector operations, and is represented by thevector
node.upsert
, which uses theconfig
andvector
boards above to call Pinecone upsert API, and is represented by theupsert
node.query
, which uses theconfig
andvector
boards to call Pinecone query API, and is represented by thequery
node.
To load this kit into your board, run:
npm i @google-labs/pinecone-kit
Then, in your board, add the following:
import { Pinecone } from "@google-labs/pinecone-kit";
// Add the kit to some existing `board`.
const pinecone = board.addKit(Pinecone);
// This is the `query` node.
const query = pinecone.query();
The config
and vector
node can be used to call other vector operations.