azure-openai-proxy icon indicating copy to clipboard operation
azure-openai-proxy copied to clipboard

A proxy for Azure OpenAI API that can convert an OpenAI request into an Azure OpenAI request.

Results 7 azure-openai-proxy issues
Sort by recently updated
recently updated
newest added

我现在卡顿一会,一次返回一大段。 没有打印机效果。

试了下提示: "code": "DeploymentNotFound" 看日志: /v1/chat/completions -> https://gpt-19354567-test.openai.azure.com/openai/deployments/chat/completions?api-version=2023-05-15 实际我的Azure接口是,url少个/test/ ``` curl --location 'https://gpt-19354567-test.openai.azure.com/openai/deployments/test/chat/completions?api-version=2023-05-15' \ --header 'Content-Type: application/json' \ --header 'api-key: api-key' \ --data '{ "stream":true, "messages": [ { "role": "system", "content":...

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 8cd2e5ec29edadb5e425e2898b7d358261ab913dd6e887ad1fe095eefc8bc9cc

1. 将日志输出到文件及stdout中,日志路径默认log/proxy.log,可使用AZURE_OPENAI_PROXY_LOG_PATH定制 2. 在azure proxy日志打印中,增加原始请求中token打印。原因是:你可以将一个openai token提供给组织其他人使用,并通过请求中的token进行标识,方便后续统计组织内人员使用次数。

测了下,不支持类似/v1/engines/text-embedding-ada-002/embeddings接口

如果有支援 v1/images 就太好了