getomni-ai / zerox

PDF to Markdown with vision models
https://getomni.ai/ocr-demo
MIT License
6.58k stars 358 forks source link

Azure OpenAI #95

Closed AlexVialaBellander closed 1 week ago

AlexVialaBellander commented 1 week ago

In Azure, deployments are often named other things than the model names, for instance "gpt-4o" could be named "wrapper-api-gpt-4o". This causes the mapping to not recognise the model since it is not in the mapping json.

I would suggest an additional parameter that differentiates the deployment name used for querying the api vs the model selector.

tylermaran commented 1 week ago

Hey @AlexVialaBellander. Were you able to resolve this? Let me know if theres anything I can add to the documentation.