gpt-4 / README.md
Hansimov's picture
:pencil: [Doc] Readme: Huggingface docker config
3e80069
|
raw
history blame
994 Bytes
metadata
title: Bing Chat API
emoji: 🧬
colorFrom: gray
colorTo: gray
sdk: docker
app_port: 22222

Bing-Chat-API

A successor to EdgeGPT by acheong08.

Note: This project is in rapid progress, and currently is not ready to be used in production.

After completing some key features, I would focus on the quick deployment of this project.

Install dependencies

# pipreqs . --force --mode no-pin
pip install -r requirements.txt

Docker Build

sudo docker build -t bing-chat-api:1.0 . --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy

Run

Command Line:

python -m apis.chat_api

Docker run:

# no proxy
sudo docker run -p 22222:22222 bing-chat-api:1.0

# with proxy
sudo docker run -p 22222:22222 --env http_proxy="http://<server>:<port>" bing-chat-api:1.0

Example

Command Line:

Bing-Chat-API-CLI