🔍 Overview You are required to:
Build a chatbot web application.
Use React (or Next.js) as the framework.
Include:
Secure authentication
A responsive and clean user interface
The app should be easy to run with a single command
✅ Core Requirements
You can use JWT (JSON Web Token) or session-based authentication to manage user sessions.
You can use a dummy backend or a public LLM (Large Language Model) like OpenAI's API.
Add features like:
Auto-scroll to the latest message
Input history (previous messages)
Loading indicators (when bot is generating a response)
Support both light and dark themes.
Use functional components in React.
Enforce code quality with:
ESLint (linter)
Prettier (code formatter)
Examples:
Voice input
Prompt templates
Chat export
Analytics dashboard
Loading...
The code returns the following error:
The "next-auth" module does not provide an export named "getServerSession".
Revise the code to address the error.
I was previewing: /
Loading...
make the chatbot ai desiginable and also i give openai api key and jwt secret and made responsible and best