mirror of
https://github.com/stulzq/azure-openai-proxy.git
synced 2025-12-18 14:54:19 +01:00
chore: update README
This commit is contained in:
86
README.md
86
README.md
@@ -94,6 +94,50 @@ curl --location --request POST 'localhost:8080/v1/chat/completions' \
|
||||
}'
|
||||
````
|
||||
|
||||
### Use ChatGPT-Next-Web
|
||||
|
||||

|
||||
|
||||
docker-compose.yml
|
||||
|
||||
````yaml
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
chatgpt-web:
|
||||
image: yidadaa/chatgpt-next-web
|
||||
ports:
|
||||
- 3000:3000
|
||||
environment:
|
||||
OPENAI_API_KEY: <Azure OpenAI API Key>
|
||||
BASE_URL: http://azure-openai:8080
|
||||
CODE: ""
|
||||
HIDE_USER_API_KEY: 1
|
||||
HIDE_BALANCE_QUERY: 1
|
||||
depends_on:
|
||||
- azure-openai
|
||||
links:
|
||||
- azure-openai
|
||||
networks:
|
||||
- chatgpt-ns
|
||||
|
||||
azure-openai:
|
||||
image: stulzq/azure-openai-proxy
|
||||
ports:
|
||||
- 8080:8080
|
||||
environment:
|
||||
AZURE_OPENAI_ENDPOINT: <Azure OpenAI API Endpoint>
|
||||
AZURE_OPENAI_MODEL_MAPPER: <Azure OpenAI API Deployment Mapper>
|
||||
# AZURE_OPENAI_MODEL_MAPPER: gpt-4=gpt-4,gpt-3.5-turbo=gpt-35-turbo
|
||||
AZURE_OPENAI_API_VER: 2023-07-01-preview
|
||||
networks:
|
||||
- chatgpt-ns
|
||||
|
||||
networks:
|
||||
chatgpt-ns:
|
||||
driver: bridge
|
||||
````
|
||||
|
||||
### Use ChatGPT-Web
|
||||
|
||||
ChatGPT Web: https://github.com/Chanzhaoyu/chatgpt-web
|
||||
@@ -152,48 +196,6 @@ Run:
|
||||
docker compose up -d
|
||||
````
|
||||
|
||||
### Use ChatGPT-Next-Web
|
||||
|
||||
docker-compose.yml
|
||||
|
||||
````yaml
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
chatgpt-web:
|
||||
image: yidadaa/chatgpt-next-web
|
||||
ports:
|
||||
- 3000:3000
|
||||
environment:
|
||||
OPENAI_API_KEY: <Azure OpenAI API Key>
|
||||
BASE_URL: http://azure-openai:8080
|
||||
CODE: ""
|
||||
HIDE_USER_API_KEY: 1
|
||||
HIDE_BALANCE_QUERY: 1
|
||||
depends_on:
|
||||
- azure-openai
|
||||
links:
|
||||
- azure-openai
|
||||
networks:
|
||||
- chatgpt-ns
|
||||
|
||||
azure-openai:
|
||||
image: stulzq/azure-openai-proxy
|
||||
ports:
|
||||
- 8080:8080
|
||||
environment:
|
||||
AZURE_OPENAI_ENDPOINT: <Azure OpenAI API Endpoint>
|
||||
AZURE_OPENAI_MODEL_MAPPER: <Azure OpenAI API Deployment Mapper>
|
||||
# AZURE_OPENAI_MODEL_MAPPER: gpt-4=gpt-4,gpt-3.5-turbo=gpt-35-turbo
|
||||
AZURE_OPENAI_API_VER: 2023-07-01-preview
|
||||
networks:
|
||||
- chatgpt-ns
|
||||
|
||||
networks:
|
||||
chatgpt-ns:
|
||||
driver: bridge
|
||||
````
|
||||
|
||||
### Use Config File
|
||||
|
||||
The configuration file supports different endpoints and API keys for each model.
|
||||
|
||||
BIN
assets/images/chatgpt-next-web.png
Normal file
BIN
assets/images/chatgpt-next-web.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 198 KiB |
Reference in New Issue
Block a user