Giter Site home page Giter Site logo

chatbot-umamin's Introduction

About

This project is a web-based chatbot that uses the gpt-3.5-turbo model to generate natural language responses to user inputs. The functionality of this chatbot is similar to that of ChatGPT, but with a custom user interface based on Umamin. This project is created for learning purposes to explore the capabilities of advanced language models.

Preview

Getting Started

Clone this repository and navigate to the project directory:

$ git clone --depth=1 https://github.com/joshxfi/chatbot-umamin.git
$ cd chatbot-umamin

To use this repository, you'll need to obtain an OpenAI API key, which you can get here. Once you have your API key, create a .env file in the root directory of the repository and add the following line:

OPENAI_API_KEY=your_api_key

To install the dependencies and start the chatbot, run the following commands in a terminal:

$ pnpm i
$ cd client && pnpm i
$ cd ..
$ pnpm start

This will start a GraphQL server on http://locahost:4000. You can access the chatbot at http://localhost:5173.

Contributing

If you find a bug or want to suggest a new feature, feel free to create an issue or submit a pull request.

Customization

If you want to customize the UI, you can modify the source code in the client directory.

To change the model of the chatbot or add new functionality, you can modify the code in the schema directory. See API Reference for the different models you can use.

Tech Stack

This project is built using the following technologies:

  • React (Vite)
  • TypeScript
  • Tailwind CSS
  • Apollo
  • GraphQL (TypeGraphQL)
  • GPT-3.5 (OpenAI)

License

This repository is licensed under the MIT License. See the LICENSE file for more information.

chatbot-umamin's People

Contributors

joshxfi avatar

Stargazers

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