0.0.1 • Published 1 year ago

@instadapp/vectorstore v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@instadapp/vectorstore

npm version npm downloads Github Actions Codecov

Package description

Usage

Install package:

# npm
npm install @instadapp/vectorstore

# yarn
yarn add @instadapp/vectorstore

# pnpm
pnpm install @instadapp/vectorstore

Import:

// ESM
import {} from "@instadapp/vectorstore";

// CommonJS
const {} = require("@instadapp/vectorstore");

Usage:

// Client
import { InstadappVectorStoreClient, InstadappVectorStore} from "@instadapp/vectorstore";
const client = new InstadappVectorStoreClient({
    indexId: "XXX",
    apiKey: "YYY",
})

// LangChain
const vectorstore = new InstadappVectorStore(
    client,
    new OpenAIEmbeddings(),
)

Development

  • Clone this repository
  • Install latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

License

Made with 💛

Published under MIT License.

0.0.1

1 year ago