microsoft / promptflow-rag-project-template

An end-to-end sample of RAG showcasing development, evaluation, experimentation, and deployment using Promptflow, search products like CosmosDB, PostgresSQL, and Azure AI Search
MIT License
45 stars 10 forks source link

reconciling cosmos db postgresql and azure db postgresql flex. #51

Closed journeyman-msft closed 3 months ago

journeyman-msft commented 3 months ago

Description

There are multiple folders with different names, however the code is very similar between the two. The main difference is that a user will have to run python connect_postgresql_flex.py or connect_cosmos_postgresql.py to choose which resource to use for the correct flow.

The user is expected to define the environment variable COSMOS_DB_POSTGRESQL_CONN_STRING and POSTGRESQL_FLEX_CONN_STRING in the .env, which will then update the promptflow connection postgressql_connection.

The major e2e sample folder names are now:

There are bite sized tool usage samples also:

Type of change

Please remove options that are not relevant.

Test and checks

Please describe how you've tested your file