[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href]
npm install @instadapp/vectorstore[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions][github-actions-src]][github-actions-href]
[![Codecov][codecov-src]][codecov-href]
> Package description
Install package:
``shnpm
npm install @instadapp/vectorstore
Import:
`js
// ESM
import {} from "@instadapp/vectorstore";// CommonJS
const {} = require("@instadapp/vectorstore");
`Usage:
`js
// 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`Made with 💛
Published under MIT License.
[npm-version-src]: https://img.shields.io/npm/v/@instadapp/vectorstore?style=flat-square
[npm-version-href]: https://npmjs.com/package/@instadapp/vectorstore
[npm-downloads-src]: https://img.shields.io/npm/dm/@instadapp/vectorstore?style=flat-square
[npm-downloads-href]: https://npmjs.com/package/@instadapp/vectorstore
[github-actions-src]: https://img.shields.io/github/actions/workflow/status/instadapp/vectorstore-client/ci.yml?branch=main&style=flat-square
[github-actions-href]: https://github.com/instadapp/vectorstore-client/actions?query=workflow%3Aci
[codecov-src]: https://img.shields.io/codecov/c/gh/instadapp/vectorstore-client/main?style=flat-square
[codecov-href]: https://codecov.io/gh/instadapp/vectorstore-client