0.1.12 • Published 1 year ago

@google-labs/pinecone-kit v0.1.12

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

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 the config node.

  • vector, which is a thin wrapper around the vector operations, and is represented by the vector node.

  • upsert, which uses the config and vector boards above to call Pinecone upsert API, and is represented by the upsert node.

  • query, which uses the config and vector boards to call Pinecone query API, and is represented by the query 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.

0.1.12

1 year ago

0.1.10

1 year ago

0.1.11

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago