Code Monkey home page Code Monkey logo

flask-chatgpt's Introduction

Flask ChatGPT

A customizable web interface for the OpenAI ChatGPT API. Users and Conversations are stored in a postgresql database and not stored by a third party. (OpenAi does store API requests for 30 days. Azure OpenAI does not store request history).

Prerequisites.

You will need Docker Desktop to run locally.

An API KEY for OpenAI API or Azure OpenAI service API

Getting Started

To deploy locally on docker rename the dot-env.txt file to .env and add your OpenAI API Key to the file.

If using Azure OpenAI, set the additional environment variables specified.

To build and deploy the docker containers run the following command within the project folder

    docker compose up --build

To use Microsoft OpenAI service additional parameters will neet to be set in app/routes.py. Types of Contributions

Contribution

Flask-ChatGPT is an open source project and is open to any contributions that can inprove it. Whether you're experienced with coding, UX design, or simply want to suggest a bug fix or a new feature, I'm open to your ideas. Please feel free to reach out via Discord if you have contributions you want to discuss.

For specific areas of contribution see the Issues Tracker.

flask-chatgpt's People

Contributors

alecgraham avatar

Stargazers

 avatar Anand avatar Frederick Jackson avatar  avatar

Watchers

 avatar

Forkers

thinker007

flask-chatgpt's Issues

Add New Conversation Button

Should have call a new_conversation() method that clears the messages array, sets the conversation_id to -1, calls update_display(), and calls load_history()

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.