aurelio-labs / semantic-router

Superfast AI decision making and intelligent processing of multi-modal data.
https://www.aurelio.ai/semantic-router
MIT License
2.15k stars 221 forks source link

OpenAI API deployment #434

Open NSonTung463 opened 2 months ago

NSonTung463 commented 2 months ago

File "/opt/venv/lib/python3.11/site-packages/openai/_base_client.py", line 921, in request raise self._make_status_error_from_response(err.response) from None openai.NotFoundError: Error code: 404 - {'error': {'code': 'DeploymentNotFound', 'message': 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.'}}

indicates that the OpenAI API deployment cannot be found. However, this issue only arises when build and run the application in Docker. When running it locally, everything works fine without any problems.

jamescalam commented 1 month ago

hi @NSonTung463 are you still seeing this issue? Our team typically runs with SR in docker without issue, so I think you may have some docker connectivity issues here?