From a3e6170a46a93e67a8e463005be65b6f063d4928 Mon Sep 17 00:00:00 2001 From: bmerkle Date: Mon, 2 Sep 2024 13:10:52 +0200 Subject: [PATCH 1/2] fix for issue https://github.com/Azure-Samples/rag-data-openai-python-promptflow/issues/32 --- tutorial/build_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial/build_index.py b/tutorial/build_index.py index 5343fc1..43a1371 100644 --- a/tutorial/build_index.py +++ b/tutorial/build_index.py @@ -41,7 +41,7 @@ print(f"Data directory '{data_directory}' does not exist.") exit() -index_name = "tutorial-index" # your desired index name +index_name = os.getenv("AZUREAI_SEARCH_INDEX_NAME", "tutorial-index"); # your desired index name index_path = build_index( name=index_name, # name of your index vector_store="azure_ai_search", # the type of vector store - in this case it is Azure AI Search. Users can also use "azure_cognitive search" From 186eb14fc294daa08682fdc056d0a8e7aba691c6 Mon Sep 17 00:00:00 2001 From: bmerkle Date: Tue, 3 Sep 2024 16:04:37 +0200 Subject: [PATCH 2/2] fix for https://github.com/Azure-Samples/rag-data-openai-python-promptflow/issues/36 --- tutorial/copilot_flow/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorial/copilot_flow/requirements.txt b/tutorial/copilot_flow/requirements.txt index 7a4ad14..630e0ac 100644 --- a/tutorial/copilot_flow/requirements.txt +++ b/tutorial/copilot_flow/requirements.txt @@ -1,8 +1,8 @@ openai azure-identity azure-search-documents==11.4.0 -promptflow[azure]==1.11.0 -promptflow-tracing==1.11.0 +promptflow[azure]==1.15.0 +promptflow-tracing==1.15.0 promptflow-tools==1.4.0 promptflow-evals==0.3.0 jinja2