A simple chatbot using GPT

    Have a look at the documentation for more information on setting up the app.
    • This demo application uses OpenAI, LangChain.js and Supabase to create an intelligent chatbot with history.
    • The main frontend logic is found in the app/chat folder.
    • The main configuration file can be found in app/chat/toolConfig.ts. You can specify the GPT model used & number messages included in the history.
    • The API endpoint and logic can be found in app/api/chat/route.ts.
    • Try it out - say hi! 👋