@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 theconfignode.vector, which is a thin wrapper around the vector operations, and is represented by thevectornode.upsert, which uses theconfigandvectorboards above to call Pinecone upsert API, and is represented by theupsertnode.query, which uses theconfigandvectorboards to call Pinecone query API, and is represented by thequerynode.
To load this kit into your board, run:
npm i @google-labs/pinecone-kitThen, 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.