Skip to content

Commit

Permalink
fix for issue Azure-Samples#32
Browse files Browse the repository at this point in the history
  • Loading branch information
bmerkle committed Sep 2, 2024
1 parent 7e8e6b0 commit a3e6170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorial/build_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a3e6170

Please sign in to comment.