Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
spikelu2016 committed Jun 23, 2024
1 parent a1830ae commit 35b97f1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,30 @@ paths:
type: string
description: API version

/api/providers/azure/openai/deployments/{deployment_id}/completions:
post:
tags:
- Azure
summary: Create Azure OpenAI completions
description: This endpoint is set up for proxying Azure Completions requests. Documentation for this endpoint can be found [here](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference).
parameters:
- in: header
name: x-custom-event-id
schema:
type: string
description: Custom Id that can be used to retrieve an event associated with each proxy request.
- in: path
name: deployment_id
required: true
schema:
type: string
description: Deployment ID
- in: query
name: api-version
required: true
schema:
type: string
description: API version
/api/providers/azure/openai/deployments/{deployment_id}/embeddings:
post:
tags:
Expand Down

0 comments on commit 35b97f1

Please sign in to comment.