GithubHelp home page GithubHelp logo

veerbal1 / ai-chatbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vercel/ai-chatbot

0.0 0.0 0.0 1.71 MB

A full-featured, hackable Next.js AI chatbot built by Vercel

Home Page: https://chat.vercel.ai

License: Other

JavaScript 3.00% TypeScript 95.79% CSS 1.21%

ai-chatbot's Introduction

Veerbal Chatbot

Welcome to Veerbal Chatbot, your agile coding assistant! Veerbal specializes in code optimization, refactoring, and testing to ensure your web applications are scalable, maintainable, and of top quality. With Veerbal's expertise in Agile methodologies, Git, and CI/CD pipelines, you can embrace best practices, TDD, and efficient project management.

In addition to its coding capabilities, Veerbal Chatbot also offers a fitness context to assist you with your fitness goals. When switched to the fitness context, Veerbal can provide the following services:

  • Create personalized diet plans based on your requirements and goals.
  • Generate customized gym workout plans tailored to your fitness level and objectives.
  • Provide information and guidance on various exercises, including proper form and technique.

Features

  • AI Model Switching: You have the flexibility to switch between two AI models - simple and advanced. The normal mode uses GPT-3.5, while the advanced mode uses gpt-4-preview-1106. This allows you to choose the level of complexity and sophistication in the chatbot's responses.
  • Conversation Context Switching: Veerbal Chatbot offers different conversation contexts to cater to your specific needs. Here are the available contexts:
    • Normal: In this mode, the chatbot acts as a general chatbot similar to ChatGPT. It can engage in casual conversations and provide general information.
    • Technical: Switching to the technical mode transforms Veerbal into a smart coding assistant. It can help you write clean code, assist in writing tests, plan software architecture, answer technical questions, and more.
    • Fitness: If you need assistance with fitness-related queries, switching to the fitness context will enable Veerbal to become your fitness assistant. It can create diet plans, generate gym workout plans, provide information about exercises, and more.

Prompt Input Box:

Screenshot 2024-01-24 at 1 34 36 PM

Conversation Context Switch:

Screenshot 2024-01-24 at 1 36 05 PM

AI Model Switch:

Screenshot 2024-01-24 at 1 37 18 PM

Running locally

Clone the respository on your system

git clone https://github.com/veerbal1/ai-chatbot.git

Create your .env with these keys:

# You must first activate a Billing Account here: https://platform.openai.com/account/billing/overview
# Then get your OpenAI API Key here: https://platform.openai.com/account/api-keys
OPENAI_API_KEY=

# Generate a random secret: https://generate-secret.vercel.app/32 or `openssl rand -base64 32`
AUTH_SECRET=
# Create a GitHub OAuth app here: https://github.com/settings/applications/new
# Authorization callback URL: https://authjs.dev/reference/core/providers_github#callback-url
AUTH_GITHUB_ID=
AUTH_GITHUB_SECRET=
# Support OAuth login on preview deployments, see: https://authjs.dev/guides/basics/deployment#securing-a-preview-deployment
# Set the following only when deployed. In this example, we can reuse the same OAuth app, but if you are storing users, we recommend using a different OAuth app for development/production so that you don't mix your test and production user base.
# AUTH_REDIRECT_PROXY_URL=https://YOURAPP.vercel.app/api/auth

# Instructions to create kv database here: https://vercel.com/docs/storage/vercel-kv/quickstart
KV_URL=
KV_REST_API_URL=
KV_REST_API_TOKEN=
KV_REST_API_READ_ONLY_TOKEN=
pnpm install
pnpm dev

ai-chatbot's People

Contributors

jaredpalmer avatar shadcn avatar veerbal1 avatar shuding avatar leerob avatar balazsorban44 avatar steven-tey avatar peek-a-booo avatar swyxio avatar zackrw avatar maxleiter avatar carlosziegler avatar justjavac avatar jphyqr avatar giannis2two avatar batuhan avatar joulev avatar urnas avatar seahorse-byte avatar tsui66 avatar markeljan avatar perkinsjr avatar eltociear avatar nutlope avatar garmeeh avatar eduardofazolo avatar avr00 avatar ahmedbaset 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.