Azure-Samples / rag-postgres-openai-python

A RAG app to ask questions about rows in a database table. Deployable on Azure Container Apps with PostgreSQL Flexible Server.
MIT License
106 stars 17 forks source link

Changes needed to support Azure OpenAI Proxy usage #49

Closed pamelafox closed 2 weeks ago

pamelafox commented 2 weeks ago

Purpose

This PR enables developers to use the Azure OpenAI proxy, which means they specify endpoint/key and that we do not provision an OpenAI instance in the Bicep.

Does this introduce a breaking change?

When developers merge from main and run the server, azd up, or azd deploy, will this produce an error? If you're not sure, try it out on an old environment.

[ ] Yes
[X] No

Type of change

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Code quality checklist

See CONTRIBUTING.md for more details.

pamelafox commented 2 weeks ago

TODO: Check 500 on recent deploy