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_KEY
to interact with OpenAI, which can be got at https://platform.openai.com/api-keysLLAMA_CLOUD_API_KEY
for using a document parser, which can be got at https://cloud.llamaindex.ai/api-key.
Install the dependencies with:
npm i
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.