Inspiration
Web3 Chatbot is a React-based application that provides an interactive chat interface powered by a language model API. This project demonstrates creating a simple yet effective chatbot UI using React and Tailwind CSS.
What it does
- Real-time chat interface
- Integration with a language model API
- Responsive design using Tailwind CSS
- Auto-scrolling to the latest message
- A clear distinction between user and bot messages
How we built it
Before you begin, ensure you have met the following requirements:
Node.js (v14.0.0 or later) npm (v6.0.0 or later)
Challenges we ran into
Open src/components/Chatbot.js Locate the API_URL and LLM_MODEL_NAME constants Update these values if necessary to match your API endpoint and model name If required, set the API_KEY constant to your API key
Accomplishments that we're proud of
To start the development server, run. npm start This will start the application on http://localhost:3000.
What we learned
React.js Tailwind CSS Axios for API requests
What's next for Web3-Chatbot-VK
This project demonstrates the creation of a simple yet effective chatbot UI using ReactJS, Tailwind CSS, and OpenAI.
Built With
- api
- openai
- react
- rest
- web3
Log in or sign up for Devpost to join the conversation.