This repository measures the response speed between regions of Azure OpenAI Service. It compares the Japan East region with the East US region.
Please install Python3.10.x or later version.
Run command pip install -r requirements.txt
.
- Azure OpenAI Service hosting on Japan East region.
- Azure OpenAI Service hosting on East US region.
Each resource should have deploymentgpt-3.5-turbo
model namedgpt35
.
Copy endpoint and key from each resouce. You can copy them by Key and Endpoint
tab on Azure Portal.
After that, Paste them to app.py.
ENDPOINT_JP = "<Insert Japan East URL>"
ENDPOINT_US = "<Insert East US URL>"
KEY_JP = "<Insert Japan East Key>"
KEY_US = "<Insert East US Key>"