Skip to content

this is a chatbot create with ai SDK of vercel and use gimini or openai !

Notifications You must be signed in to change notification settings

Adao-Angelo/chat-AI

Repository files navigation

ChatBot - AI-Powered Chatbot

ChatBot is an advanced AI-powered chatbot built with Next.js and TypeScript, leveraging the Vercel SDK for AI integration and Google's Gemini for semantic understanding. The chatbot is designed to provide intelligent, real-time conversations while ensuring seamless user experience with Tailwind CSS for modern design.


🚀 Features

  • 🤖 AI-Powered Conversations: Real-time, intelligent chat responses using the Vercel SDK integrated with Google's Gemini AI.
  • 🔍 Contextual Understanding: Powered by Gemini for deep semantic analysis and context-aware conversations.
  • 💬 User-Friendly Interface: Sleek, responsive, and customizable design built with Tailwind CSS.
  • 🔒 Secure Authentication: JWT-based authentication for secure communication and user management.

🛠️ Technologies Used

Technology Description Image/Icon
Next.js A React framework for building fast and scalable web applications. Next.js
TypeScript A strongly-typed superset of JavaScript for better tooling and error handling. TypeScript
Vercel SDK A platform for serverless deployment and AI integration, powering real-time responses. Vercel
Gemini Google's advanced AI model for semantic analysis and conversation context. Gemini
Tailwind CSS A utility-first CSS framework for building custom designs rapidly. Tailwind CSS
JWT JSON Web Token for secure, token-based authentication in the application. JWT

🔧 Installation

Follow these steps to run the project locally:

Prerequisites

  • Node.js installed.
  • Package manager npm or yarn.

Steps to Install:

  1. Clone the repository:

     git clone https://github.com/yourusername/chatbot-nextjs
  2. Navigate to the project directory:

     cd chatbot-nextjs
  3. Install the required dependencies:

     npm install  # or yarn install
  4. Set up environment variables for Vercel SDK and Gemini:

    • Create a .env.local file in the root directory.
    • Add your Vercel SDK and Gemini API keys:
     GOOGLE_GENERATIVE_AI_API_KEY=your_vercel_sdk_api_key
    IA=your_gemini_api_key
  5. Run the application locally:

     npm run dev  # or yarn dev

📄 Usage

Once the project is set up, you can start interacting with the chatbot directly through the user interface. It will leverage the Vercel SDK for AI conversations and Gemini for advanced context understanding.

Customizing the Chatbot

About

this is a chatbot create with ai SDK of vercel and use gimini or openai !

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published