-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
21 lines (18 loc) · 808 Bytes
/
.env.example
File metadata and controls
21 lines (18 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
OPENAI_API_KEY=
OPENAI_MODEL=gpt-realtime
OPENAI_ENDPOINT=
OPENAI_API_VERSION=2025-04-01-preview
BACKEND=azure
# Performance tuning
VAD_THRESHOLD=0.6
SILENCE_DURATION_MS=500
MAX_OUTPUT_TOKENS=4096
# Run this to create a new role assignment required for DefaultAzureCredential to work locally
# To get the logged in principal ID, run: az rest --method GET --url "https://graph.microsoft.com/v1.0/me" --query "id"
# or az ad signed-in-user show --query objectId -o tsv (if this doesn't work use the REST command)
# Then run this to add the role to the user principal
# az role assignment create \
# --role "Cognitive Services OpenAI Contributor" \
# --assignee-object-id "<OBJECT_ID>" \
# --scope "/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP>" \
# --assignee-principal-type User