sweepai-dev / LlamaIndexTS

LlamaIndex is a data framework for your LLM applications
https://ts.llamaindex.ai/
MIT License
0 stars 0 forks source link

[DRAFT] Add test case for VectorStoreIndex #11

Open sweep-nightly[bot] opened 1 year ago

sweep-nightly[bot] commented 1 year ago

Description

This PR adds a new test case for the VectorStoreIndex class in the packages/core/src/tests/CallbackManager.test.ts file. The test case covers the initialization of the index, the retrieval of nodes, and the building of the index from nodes. It also ensures that the VectorStoreIndex interacts correctly with other components such as the VectorStore and the ServiceContext.

Summary of Changes

Fixes #7.

To checkout this PR branch, run the following command in your terminal:

git checkout sweep/add-test-case-vectorstoreindex_1