GithubHelp home page GithubHelp logo

ai-chat-bot's Introduction

Screenshot 2024-05-28 at 7 36 17 PM

AI-Chat-Bot Application

Description

This project is a chat application built with Next.js and Tailwind CSS. It allows users to engage in conversations with a chatbot, fetching prompts and responses from Google's Gemini API.

Features

  • User-friendly interface
  • Real-time chat interaction
  • Conversation history display
  • Seamless integration with backend API

Technologies Used

  • Next.js: Next.js is a React framework that enables server-side rendering, routing, and other powerful features for building web applications.
  • Tailwind CSS: Tailwind CSS is a utility-first CSS framework that allows for rapid styling of components using pre-defined utility classes.
  • React: React is a JavaScript library for building user interfaces.
  • Node.js: Node.js is a JavaScript runtime environment that allows for the execution of JavaScript code on the server side.
  • MongoDB: MongoDB is a NoSQL database used for storing and managing data.

Setup

  1. Clone the repository:
    git clone https://github.com/your-username/chat-application.git
  2. Install dependencies:
    cd chat-application
    npm install
  3. Run the development server:
    npm run dev
    This will start the Next.js development server. You can view the application by navigating to http://localhost:3000 in your web browser.

Configuration

  • The application requires a backend API for fetching chat prompts and responses. Update the API endpoint in the code where necessary (server/api/thread/${id} and server/api/turn/${id}).
  • Ensure MongoDB is properly configured and accessible by the backend server.

ai-chat-bot's People

Contributors

v15hnu24 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.