Create LlamaIndex App
. I used the command npx create-llama@latest
and the app loads. I connected my OpenAI API key, set it to 3.5 turbo but do the following error when I submitted a message in the front end next.js app text area despite just typing "hi there" into the box.npm run generate
and restarted the appmaxTokens
is hardcoded to 2048. I'm not sure why this was done though.app/api/chat/route.ts
on line 47, change maxTokens to something smaller like 512.