3fbbd7970c
Code Quality / Python Lint & Format (push) Has been cancelled
Code Quality / Python Tests (push) Has been cancelled
Code Quality / JavaScript/TypeScript Lint (advisory) (push) Has been cancelled
Security Scan / CodeQL Analysis (python) (push) Has been cancelled
Security Scan / Dependency Review (push) Has been cancelled
Security Scan / CodeQL Analysis (javascript-typescript) (push) Has been cancelled
20 lines
1.3 KiB
Bash
20 lines
1.3 KiB
Bash
# OpenAI Provider
|
|
OPENAI_API_KEY='<add your OpenAI API key here>'
|
|
|
|
## Azure OpenAI in Microsoft Foundry
|
|
## (Azure OpenAI Service is now part of Microsoft Foundry: https://ai.azure.com?WT.mc_id=academic-105485-koreyst.
|
|
## Create/manage your resource and deployments from the Foundry portal - the env var names below are unchanged.)
|
|
AZURE_OPENAI_API_VERSION='2024-10-21' # Default is set! (current stable GA API version)
|
|
AZURE_OPENAI_API_KEY='<add your Foundry resource key here>'
|
|
AZURE_OPENAI_ENDPOINT='<add your Foundry resource endpoint here, e.g. https://<resource-name>.openai.azure.com>'
|
|
AZURE_OPENAI_DEPLOYMENT='<add your chat completion model deployment name here, e.g. gpt-4o-mini>'
|
|
AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT='<add your embeddings model deployment name here, e.g. text-embedding-3-small>'
|
|
|
|
## Microsoft Foundry Models
|
|
## (Multi-provider model catalog - one endpoint/key for OpenAI, Meta, Mistral, Cohere, Microsoft, and more.
|
|
## Replaces GitHub Models, which retires end of July 2026. Get these from your Foundry project's "Overview" page.)
|
|
AZURE_INFERENCE_ENDPOINT='<add your Microsoft Foundry project endpoint here, e.g. https://<resource-name>.services.ai.azure.com/models>'
|
|
AZURE_INFERENCE_CREDENTIAL='<add your Microsoft Foundry Models API key here>'
|
|
|
|
## Hugging Face
|
|
HUGGING_FACE_API_KEY='<add your HuggingFace API or token here>' |