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/(apps)/chat folder.
    • The main configuration file can be found in app/(apps)/chat-new/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/(apps)/chat-new/route.ts.
    • Try it out - say hi! 👋