This code is to supplement a talk given by Niall Maher.
To run the code, you will need 2 API keys, which you should update your .env to include.
They are:
OPENAI_API_KEYto interact with OpenAI, which can be got at https://platform.openai.com/api-keysLLAMA_CLOUD_API_KEYfor using a document parser, which can be got at https://cloud.llamaindex.ai/api-key.
Install the dependencies with:
npm iFirst, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.