Skip to content

Commit 73ba40d

Browse files
authored
Merge pull request #67 from TheovanKraay/semantic-search-demo
Semantic search demo
2 parents 99af0f0 + 74115e8 commit 73ba40d

File tree

9 files changed

+1460
-0
lines changed

9 files changed

+1460
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Azure Cosmos DB Configuration (Keyless Authentication)
2+
COSMOS_URI=your_cosmos_db_uri_here
3+
COSMOS_DB_DATABASE=your_database_name
4+
5+
# Azure OpenAI Configuration
6+
AZURE_OPENAI_API_KEY=your_openai_api_key_here
7+
AZURE_OPENAI_ENDPOINT=https://your-openai-resource.openai.azure.com/
8+
9+
# Azure Cosmos DB Semantic Reranker (Private Preview)
10+
AZURE_COSMOS_SEMANTIC_RERANKER_INFERENCE_ENDPOINT=https://your-reranker-endpoint.dbinference.azure.com
11+
12+
# Note: The following variables are no longer needed with keyless authentication:
13+
# - COSMOS_FABCON_KEY (replaced with DefaultAzureCredential)
14+
# - AZURE_TENANT_ID (not needed for DefaultAzureCredential)
15+
# - AZURE_CLIENT_ID (not needed for DefaultAzureCredential)
16+
# - RERANKER_ENDPOINT (replaced with built-in Cosmos SDK semantic reranking)
17+
# - MSI_ENDPOINT (automatically set in Azure environments)
18+
# - IDENTITY_ENDPOINT (automatically set in Azure environments)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.env
2+
.diskann
3+
.DS_Store
4+
.azure
5+
.idea
6+
.deployment
7+
.vscode
8+
venv
9+
__pycache__/
10+
*.pyc
11+
*.pyo

0 commit comments

Comments
 (0)