Coder Social home page Coder Social logo

jfoyarzo / chatgpt-backend Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 13 KB

Storyteller AI is a full-stack app that uses the OpenAI API to enable a chatbot that answers questions in the form of a story, using analogies to explain topics.

License: MIT License

JavaScript 100.00%
expressjs nodejs openai-api

chatgpt-backend's Introduction

๐Ÿ“— Table of Contents

๐Ÿ“– Storyteller AI

Storyteller AI is a full-stack app that uses the OpenAI API to enable a chatbot that answers questions in the form of a story, using analogies to explain topics. It consists of a single endpoint created with Express on the backend that sends the request to the API and a frontend built with React. This project was built as an exercise to integrate the OpenAI API with a full-stack app. You can see the frontend repository here.

๐Ÿ›  Built With

Tech Stack

Client
Backend
API

Key Features

  • You can ask questions in the chatbox.
  • Uses chat-gpt ver 3.5
  • The chatbot responds by telling a story.

(back to top)

๐Ÿ’ป Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

To run this project you need:

  • Git
  • Npm/Node.js

Setup

Clone this repository to your desired folder using this command:

git clone [email protected]:jfoyarzo/chatgpt-backend.git
cd chatgpt-backend

Install

Install this project's dependencies using:

npm install

Since this project uses the OpenAI API, you need to supply your corresponding credentials by creating a .env file in the root of the app. You can use the provided .env.example file as a guide. If you don't have an API key yet, you can get one by signing up on the OpenAI API Website.

Usage

To run the project, execute the following command from the root folder of the app:

npm start

this will start the backend on http://localhost:8000/

๐Ÿ‘ฅ Author

๐Ÿ‘ค Felipe Oyarzo

(back to top)

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

โญ๏ธ Show your support

If you like this project please consider giving it a star!

(back to top)

๐Ÿ™ Acknowledgments

This project was built following the How to Build an AI-Powered ChatBot Tutorial by Njoku Samson Ebere.

(back to top)

๐Ÿ“ License

This project is MIT licensed.

(back to top)

chatgpt-backend's People

Contributors

jfoyarzo avatar

Stargazers

Arthur ITurres avatar

Watchers

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