Giter Club home page Giter Club logo

gpt4juan's Introduction

GPT4Juan

This is an OpenAI GPT-4 based chatbot application built with Next.js 13, Vercel AI SDK, Typescript, and styled using TailwindCSS. The app allows users to interact with an AI assistant through a user-friendly interface.

Before you get started, you will need the following:

Node.js (version 18 or higher) Yarn (or npm) An OpenAI API key

Getting Started

Follow these steps to set up and run the OpenAI chatbot app locally:

Clone the repository:

git clone https://github.com/jnebab/gpt4juan
cd gpt4juan

Install dependencies:

Using yarn:

yarn install or using npm:

npm install

Create a .env.local file in the root directory of the project, and add your OpenAI API key:

NEXT_PUBLIC_OPENAI_API_KEY=your_api_key_here

Run the development server:

Using yarn:

yarn dev or using npm:

npm run dev

Open your browser and navigate to http://localhost:3000 to view the app.

Usage

To interact with the chatbot, simply enter your message in the input field and hit the "Enter" key. The AI will then respond with an appropriate message.

Deploying to Vercel

Follow these steps to deploy the OpenAI chatbot app on Vercel:

Sign up for a Vercel account if you don't have one.

Install the Vercel CLI:

npm i -g vercel

Run the following command from the project directory and follow the prompts:

vercel

After the deployment is complete, you will receive a URL to access your live application.

Contributing

Contributions are welcome! Please follow these steps to contribute:

Fork the repository.

Create a new branch with a descriptive name.

Make changes/add features.

Commit and push your changes.

Create a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

gpt4juan's People

Contributors

jnebab avatar

Stargazers

Vila 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.