-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
67 lines (58 loc) Β· 2.32 KB
/
.env.example
File metadata and controls
67 lines (58 loc) Β· 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# ============================================================
# π AI-102 Lab Environment Variables
# ============================================================
#
# HOW TO USE:
# 1. Copy this file and rename it to .env
# Command: cp .env.example .env
#
# 2. Replace the placeholder values below with your actual
# Azure AI Service credentials from the Azure Portal.
#
# 3. NEVER commit your .env file to Git or share it publicly.
#
# ============================================================
# ---- Azure AI Services (Multi-Service Resource) ----
AI_SERVICE_ENDPOINT=https://YOUR_RESOURCE_NAME.cognitiveservices.azure.com
AI_SERVICE_KEY=your_azure_ai_service_key_here
AI_SERVICE_REGION=eastus
# ---- Azure AI Language ----
AI_LANGUAGE_ENDPOINT=https://YOUR_RESOURCE_NAME.cognitiveservices.azure.com
AI_LANGUAGE_KEY=your_language_service_key_here
# ---- Azure AI Vision ----
AI_VISION_ENDPOINT=https://YOUR_RESOURCE_NAME.cognitiveservices.azure.com
AI_VISION_KEY=your_vision_service_key_here
# ---- Azure OpenAI ----
AZURE_OPENAI_ENDPOINT=https://YOUR_RESOURCE_NAME.openai.azure.com
AZURE_OPENAI_KEY=your_openai_key_here
AZURE_OPENAI_DEPLOYMENT=gpt-4
AZURE_OPENAI_API_VERSION=2024-02-01
# ---- Azure AI Search (Knowledge Mining) ----
SEARCH_ENDPOINT=https://YOUR_RESOURCE_NAME.search.windows.net
SEARCH_ADMIN_KEY=your_search_admin_key_here
SEARCH_INDEX_NAME=your_index_name
# ---- Azure AI Document Intelligence ----
DOC_INTELLIGENCE_ENDPOINT=https://YOUR_RESOURCE_NAME.cognitiveservices.azure.com
DOC_INTELLIGENCE_KEY=your_doc_intelligence_key_here
# ---- Azure AI Speech ----
SPEECH_KEY=your_speech_key_here
SPEECH_REGION=eastus
# ---- Azure Storage (used in some labs) ----
STORAGE_CONNECTION_STRING=your_storage_connection_string_here
STORAGE_CONTAINER=your_container_name
# ============================================================
# π WHERE TO FIND THESE VALUES:
#
# 1. Go to https://portal.azure.com
# 2. Open your Azure AI Services resource
# 3. Go to "Keys and Endpoint" under Resource Management
# 4. Copy Key 1 and Endpoint
#
# For Azure OpenAI:
# 1. Go to https://oai.azure.com
# 2. Settings β Resource β Copy endpoint and key
#
# For Azure AI Search:
# 1. Open your Search resource in Azure Portal
# 2. Settings β Keys β Copy Primary admin key
# ============================================================