Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p1-openai-gateway

Azure OpenAI Foundations + API Gateway (P1 of 10). Serverless HTTP gateway (Azure Functions) calling Azure OpenAI v1 API and Responses API with managed identity, input validation, rate limiting, and Bicep IaC.

Implementation guide: See docs/P1-Azure-OpenAI-Foundations-API-Gateway.md for full steps, architecture, and evaluation criteria. docs/ also has the PR task list and PIRA intake packet.

Quick start

  • Local dev: Copy local.settings.json.sample to src/functions/local.settings.json, set AZURE_OPENAI_ENDPOINT and AZURE_OPENAI_DEPLOYMENT, then func start from src/functions/.
  • Deploy: See SETUP.md for Azure resource group, OIDC, and GitHub secrets. Push to main to run the CI/CD pipeline.

Endpoints

Method Route Auth
POST /api/chat Function key
POST /api/responses Function key
GET /api/health Anonymous

About

P1 Azure OpenAI Foundations + API Gateway

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages