Giter Site home page Giter Site logo

chatgpt-ms's Introduction

ChatGPT-MS

This repo is named by ChatGPT for Multi-Session ChatGPT API. It is developed to provide APIs for chatbots of WeChat, Dingding, Feishu, Discord, Slack, etc.

The main code is copied from PyChatGPT.

Multi-Session ChatGPT (Generated by ChatGPT)

There are several reasons why separated sessions are better than having everyone in one session when using a language model like GPT-3.

First, having separate sessions allows for more personalized and focused conversations. In a single session with multiple people, the conversation can quickly become chaotic and difficult to follow. With separate sessions, each person can have their own dedicated conversation with the language model, allowing for more focused and coherent discussions.

Second, separate sessions can improve the performance of the language model. In a single session with multiple people, the language model may have difficulty understanding who is speaking and what they are talking about. With separate sessions, the language model can focus on a single speaker at a time, which can improve its ability to generate relevant and appropriate responses.

Third, separate sessions can improve the overall user experience. In a single session, it can be difficult for users to keep track of the conversation and understand who is speaking. With separate sessions, each user can have their own dedicated space to engage with the language model, which can make the conversation more intuitive and enjoyable.

Overall, separated sessions are generally considered to be better than having everyone in one session when using a language model like GPT-3. They can improve the performance of the model, provide a more personalized and focused conversation, and improve the overall user experience.

Disclaimer

This is not an official OpenAI product. This is a personal project and is not affiliated with OpenAI in any way. Don't sue me.

Setup

Install

git clone --recurse-submodules https://github.com/shiyemin/ChatGPT-MS
pip install -r requirements.txt

Configuration

cp config.json.example config.json

  • Update config.json

Start API server

python server.py

Use API

curl -d '{"message":"Who are you?", "user": "shiyemin"}' -H "Content-Type: application/json" -X POST http://localhost:5000/chat

chatgpt-ms's People

Contributors

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