Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support new openai routes as unified endpoints #954

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

narengogi
Copy link
Collaborator

@narengogi narengogi commented Feb 21, 2025

#953

This adds support for the new chat completions endpoints for both openai and azure openai
https://platform.openai.com/docs/api-reference/chat
https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/stored-completions?tabs=python-secure

  1. GET /chat/completions/:completionId
  2. GET /chat/completions
  3. POST /chat/completions/:completionId
  4. GET /chat/completions/:completionId/messages
  5. DELETE /chat/completions/:completionId

Testing Done

  • Tested all the new routes for openai
  • Tested all the new routes for azure-openai

@narengogi narengogi marked this pull request as ready for review February 24, 2025 08:30
@narengogi narengogi requested review from VisargD and b4s36t4 February 24, 2025 08:30
@narengogi narengogi requested a review from b4s36t4 March 11, 2025 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants