stulzq/azure-openai-proxy

what's AZURE_OPENAI_MODEL_MAPPER?

Moss-qc opened this issue · 3 comments

the proxy doesn't work in my azure's server.

If I use openai key, it works fine, but if I use azure key after proxy, it doesn't work.

image

I think that problem is in the yaml file.
image

what's AZURE_OPENAI_MODEL_MAPPER? How can I get it? Would u give me an example? Thanks a lot!

AZURE_OPENAI_MODEL_MAPPER is a mapping from Azure OpenAI deployed model names to official OpenAI model names.

AZURE_OPENAI_MODEL_MAPPER: <OpenAI Model Name>= <Azure OpenAI deployment model name>

example:

AZURE_OPENAI_MODEL_MAPPER: gpt-3.5-turbo=azure-gpt-35

solved my problem, thanks!

ok