-
Notifications
You must be signed in to change notification settings - Fork 169
Expand file tree
/
Copy path.env.sample
More file actions
115 lines (93 loc) · 4.72 KB
/
.env.sample
File metadata and controls
115 lines (93 loc) · 4.72 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Content Generation Solution Accelerator - Development Environment
# Copy this file to .env and fill in your values
# =============================================================================
# Azure Authentication
# =============================================================================
AZURE_CLIENT_ID=
# =============================================================================
# Azure AI Foundry Configuration (Optional - for agent-based workflows)
# =============================================================================
# Set USE_FOUNDRY=true to use Azure AI Foundry instead of direct Azure OpenAI
USE_FOUNDRY=false
# Azure AI Foundry project endpoint (required if USE_FOUNDRY=true)
# Format: https://<project-name>.services.ai.azure.com
AZURE_AI_PROJECT_ENDPOINT=
# Image model deployment name in Foundry (e.g., gpt-image-1-mini)
AZURE_AI_IMAGE_DEPLOYMENT=gpt-image-1-mini
# =============================================================================
# Azure OpenAI Configuration
# =============================================================================
AI_FOUNDRY_RESOURCE_ID=/subscriptions/your-subscription-id/resourceGroups/your-resource-group/providers/Microsoft.CognitiveServices/accounts/your-aif-account
AZURE_EXISTING_AI_PROJECT_RESOURCE_ID=/subscriptions/your-subscription-id/resourceGroups/your-resource-group/providers/Microsoft.CognitiveServices/accounts/your-aif-account/projects/your-project-name
# Your Azure OpenAI endpoint (e.g., https://your-resource.openai.azure.com/)
AZURE_OPENAI_ENDPOINT=https://your-openai.openai.azure.com/
# Model deployments
AZURE_OPENAI_GPT_MODEL=gpt-5.1
# Image Generation Model Configuration
# Supported models: gpt-image-1-mini or gpt-image-1.5
AZURE_OPENAI_IMAGE_MODEL=gpt-image-1-mini
# For gpt-image-1-mini or gpt-image-1.5, the endpoint is the same as the main OpenAI endpoint, but you can specify a different one if needed
AZURE_OPENAI_GPT_IMAGE_ENDPOINT=https://your-openai.openai.azure.com
# Image generation settings
# For gpt-image-1-mini/1.5: sizes are 1024x1024, 1536x1024, 1024x1536, auto; quality is low, medium, high, auto
AZURE_OPENAI_IMAGE_SIZE=1024x1024
AZURE_OPENAI_IMAGE_QUALITY=medium
# API versions
AZURE_OPENAI_API_VERSION=2024-06-01
AZURE_OPENAI_PREVIEW_API_VERSION=2024-02-01
# Generation parameters
AZURE_OPENAI_TEMPERATURE=0.7
AZURE_OPENAI_MAX_TOKENS=2000
# =============================================================================
# Azure Cosmos DB
# =============================================================================
AZURE_COSMOS_ENDPOINT=https://your-cosmos.documents.azure.com:443/
AZURE_COSMOS_DATABASE_NAME=content-generation
AZURE_COSMOS_PRODUCTS_CONTAINER=products
AZURE_COSMOS_CONVERSATIONS_CONTAINER=conversations
# =============================================================================
# Azure Blob Storage
# =============================================================================
AZURE_BLOB_ACCOUNT_NAME=yourstorageaccount
AZURE_BLOB_PRODUCT_IMAGES_CONTAINER=product-images
AZURE_BLOB_GENERATED_IMAGES_CONTAINER=generated-images
# =============================================================================
# Azure AI Search
# =============================================================================
AZURE_AI_SEARCH_ENDPOINT=https://your-search.search.windows.net
AZURE_AI_SEARCH_PRODUCTS_INDEX=products
AZURE_AI_SEARCH_IMAGE_INDEX=product-images
# =============================================================================
# UI Configuration
# =============================================================================
UI_APP_NAME=Content Generation Accelerator
UI_TITLE=Content Generation
UI_CHAT_TITLE=Marketing Content Generator
UI_CHAT_DESCRIPTION=AI-powered multimodal content generation for marketing campaigns.
# =============================================================================
# Brand Guidelines
# =============================================================================
# Voice and Tone
BRAND_TONE=Professional yet approachable
BRAND_VOICE=Innovative, trustworthy, customer-focused
# Visual Guidelines
BRAND_PRIMARY_COLOR=#0078D4
BRAND_SECONDARY_COLOR=#107C10
BRAND_IMAGE_STYLE=Modern, clean, minimalist with bright lighting
# Content Rules
BRAND_MAX_HEADLINE_LENGTH=60
BRAND_MAX_BODY_LENGTH=500
BRAND_REQUIRE_CTA=true
# Comma-separated list of prohibited words
BRAND_PROHIBITED_WORDS=cheapest,guaranteed,best in class,#1,market leader
# Comma-separated list of required disclosures (leave empty if none)
BRAND_REQUIRED_DISCLOSURES=
# =============================================================================
# Application Settings
# =============================================================================
# Server configuration
PORT=5000
WORKERS=4
# Feature flags
AUTH_ENABLED=false
SANITIZE_ANSWER=false