|
1 | 1 | # ============================================================================= |
2 | | -# Azure AI Services Configuration - AI-900 Course |
3 | | -# EXAMPLE FILE FOR LEARNERS - Replace with your actual values |
| 2 | +# Azure AI Services Configuration for AI-900 Demos and Tests |
4 | 3 | # ============================================================================= |
5 | 4 |
|
6 | | -# Azure AI Services Multi-Service (Primary - use this for most demos) |
7 | | -AI_SERVICES_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/ |
8 | | -AI_SERVICES_KEY=YOUR_AI_SERVICES_KEY_HERE |
9 | | - |
10 | | -# Azure OpenAI Service |
11 | | -AZURE_OPENAI_ENDPOINT=https://YOUR_OPENAI_RESOURCE_NAME.openai.azure.com/ |
12 | | -AZURE_OPENAI_KEY=YOUR_OPENAI_KEY_HERE |
13 | | - |
14 | | -# Speech Services |
15 | | -SPEECH_SERVICE_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/ |
16 | | -SPEECH_SERVICE_KEY=YOUR_SPEECH_KEY_HERE |
17 | | - |
18 | | -# Language Service |
19 | | -LANGUAGE_SERVICE_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/ |
20 | | -LANGUAGE_SERVICE_KEY=YOUR_LANGUAGE_KEY_HERE |
21 | | - |
22 | | -# Computer Vision Service |
23 | | -COMPUTER_VISION_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/ |
24 | | -COMPUTER_VISION_KEY=YOUR_COMPUTER_VISION_KEY_HERE |
25 | | - |
26 | | -# Document Intelligence Service |
27 | | -DOCUMENT_INTELLIGENCE_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/ |
28 | | -DOCUMENT_INTELLIGENCE_KEY=YOUR_DOCUMENT_INTELLIGENCE_KEY_HERE |
29 | | - |
30 | | -# Content Safety Service |
31 | | -CONTENT_SAFETY_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/ |
32 | | -CONTENT_SAFETY_KEY=YOUR_CONTENT_SAFETY_KEY_HERE |
33 | | - |
34 | | -# Custom Vision Services |
35 | | -CUSTOM_VISION_TRAINING_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/ |
36 | | -CUSTOM_VISION_TRAINING_KEY=YOUR_CUSTOM_VISION_TRAINING_KEY_HERE |
37 | | -CUSTOM_VISION_PREDICTION_ENDPOINT=https://YOUR_REGION.api.cognitive.microsoft.com/ |
38 | | -CUSTOM_VISION_PREDICTION_KEY=YOUR_CUSTOM_VISION_PREDICTION_KEY_HERE |
39 | | - |
40 | | -# Search Service |
41 | | -SEARCH_SERVICE_ENDPOINT=https://YOUR_SEARCH_SERVICE_NAME.search.windows.net/ |
42 | | -SEARCH_SERVICE_KEY=YOUR_SEARCH_KEY_HERE |
43 | | - |
44 | | -# Common Azure Settings |
45 | | -AZURE_RESOURCE_GROUP=YOUR_RESOURCE_GROUP_NAME |
46 | | -AZURE_LOCATION=YOUR_AZURE_REGION |
47 | | - |
48 | | -# ============================================================================= |
49 | | -# Instructions for Learners: |
50 | | -# 1. Copy this file to .env |
51 | | -# 2. Replace all YOUR_* placeholders with actual values from Azure Portal |
52 | | -# 3. Never commit the .env file to version control (its in .gitignore) |
53 | | -# ============================================================================= |
| 5 | +# Multi-service key for Computer Vision, Language, and other cognitive capabilities |
| 6 | +AI_SERVICES_KEY=your_multi_service_key_here |
| 7 | +AI_SERVICES_ENDPOINT=https://your-region.api.cognitive.microsoft.com |
| 8 | + |
| 9 | +# Analyzes images for objects, faces, text recognition, and scene understanding |
| 10 | +COMPUTER_VISION_KEY=your_computer_vision_key_here |
| 11 | +COMPUTER_VISION_ENDPOINT=https://your-computervision-service.cognitiveservices.azure.com |
| 12 | + |
| 13 | +# Processes text for sentiment analysis, language detection, and key phrase extraction |
| 14 | +LANGUAGE_SERVICE_KEY=your_language_service_key_here |
| 15 | +LANGUAGE_SERVICE_ENDPOINT=https://your-language-service.cognitiveservices.azure.com |
| 16 | + |
| 17 | +# Extracts structured data from forms, receipts, invoices, and business documents |
| 18 | +DOCUMENT_INTELLIGENCE_KEY=your_form_recognizer_key_here |
| 19 | +DOCUMENT_INTELLIGENCE_ENDPOINT=https://your-formrecognizer-service.cognitiveservices.azure.com |
| 20 | + |
| 21 | +# Provides access to GPT models for chat completions and text generation |
| 22 | +AZURE_OPENAI_KEY=your_azure_openai_key_here |
| 23 | +AZURE_OPENAI_ENDPOINT=https://your-openai-service.openai.azure.com |
| 24 | +AZURE_OPENAI_DEPLOYMENT_NAME=gpt-35-turbo |
| 25 | + |
| 26 | +# Converts speech to text, text to speech, and provides real-time translation |
| 27 | +SPEECH_SERVICE_KEY=your_speech_service_key_here |
| 28 | +SPEECH_SERVICE_ENDPOINT=https://your-speech-service.cognitiveservices.azure.com |
| 29 | +SPEECH_SERVICE_REGION=your_region_here |
| 30 | + |
| 31 | +# Enables full-text search, semantic search, and AI-powered search suggestions |
| 32 | +SEARCH_SERVICE_KEY=your_search_admin_key_here |
| 33 | +SEARCH_SERVICE_ENDPOINT=https://your-search-service.search.windows.net |
| 34 | +SEARCH_INDEX_NAME=your_search_index_name |
| 35 | + |
| 36 | +# Detects harmful content, adult material, hate speech, and violence in text/images |
| 37 | +CONTENT_SAFETY_KEY=your_content_safety_key_here |
| 38 | +CONTENT_SAFETY_ENDPOINT=https://your-contentsafety-service.cognitiveservices.azure.com |
| 39 | + |
| 40 | +# Custom image classification and object detection models |
| 41 | +CUSTOM_VISION_PREDICTION_KEY=your_prediction_key_here |
| 42 | +CUSTOM_VISION_TRAINING_KEY=your_training_key_here |
| 43 | +CUSTOM_VISION_ENDPOINT=https://your-customvision-service.cognitiveservices.azure.com |
| 44 | +CUSTOM_VISION_PROJECT_ID=your_project_id_here |
| 45 | +CUSTOM_VISION_PUBLISHED_NAME=your_published_iteration_name |
0 commit comments