This project is the Node.js version of the llama_index Python library and is currently under development.
Explore the original library»
The llama_index is a fantastic library. However, the current Python version isn't well-adapted to the JavaScript ecosystem. Thus, we need a JavaScript version.
The project is based on the llama_index version 0.5.5, and most of the code has been generated by ChatGPT.
Many thanks to the team behind llama_index for their excellent work.
To set up the environment, rename .env.example to .env and modify the variables as needed.
To install and run the project, use the following commands:
pnpm install
pnpm build
node dist/examples/vector-indices/SimpleIndexDemo5000+ lines of code have been converted.
You can refer to example/ for available APIs.
Get the raw python code from llama_index 0.5.5
There's still a significant amount of work to be done on this library. Pull requests are welcome.