This project is powered by LlamaIndex, a flexible data framework for connecting custom data sources to large language models. Bootstrapped with
create-llama and utilizes Next.js, it is enhanced by Edgio’s robust delivery network for accelerating the deployment and global distribution of your application.
By leveraging Edgio, you’ll ensure optimal performance, faster loading times, and enhanced user experiences across the globe. This LlamaIndex project benefits from cutting-edge web optimization and edge computing capabilities, making it more scalable, reliable, and accessible to users everywhere.
- An Edgio account. Sign up for free.
- An Edgio property. Learn how to create a property.
- Node.js. View supported versions and installation steps.
- Edgio CLI.
If you have not already done so, install the Edgio CLI.
1npm i -g @edgio/cli@latest
edgio-v7-ai-example repo and change to the
1git clone https://github.com/edgio-docs/edgio-v7-ai-example.git2cd llamaindex
Set up environment variables in a
.env.local file by copying the
.env.example file to
.env.local and adding your OpenAI API key.
1cp .env.example .env.local
Install the dependencies and run the development server:
1npm i2npm run dev
Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying
app/page.tsx. The page auto-updates as you edit the file.
Install the Edgio CLI if you haven’t already. Run your development server with
Deploy your project with