Skip to content

Commit

Permalink
isolating dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Gotteiner committed Feb 23, 2024
1 parent 32e46aa commit 6d7eb5b
Show file tree
Hide file tree
Showing 6 changed files with 165 additions and 193 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
demo-python/data/images/apples/output.jsonl
demo-python/data/docVectors-e5.json
demo-python/output/*

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
Expand Down
5 changes: 4 additions & 1 deletion demo-python/code/.env-sample
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ AZURE_OPENAI_ENDPOINT=your-openai-endpoint
AZURE_OPENAI_KEY=
AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-ada-002

# Used for azure-search-vector-python-langchain-sample
# Used for azure-search-vector-python-sample, azure-search-vector-python-langchain-sample
AZURE_OPENAI_API_VERSION=2023-12-01-preview

# Used for azure-search-vector-python-sample
AZURE_OPENAI_EMBEDDING_MODEL_NAME=text-embedding-ada-002

# Used for azure-search-vector-image-index-creation-python-sample
AZURE_AI_VISION_KEY=your-vision-key
AZURE_AI_VISION_ENDPOINT=https://your-vision-endpoint.cognitiveservices.azure.com
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
python-dotenv
azure-search-documents==11.6.0b1
azure-identity
openai
Loading

0 comments on commit 6d7eb5b

Please sign in to comment.