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

Feature: Unified files routes #747

Closed

Conversation

narengogi
Copy link
Collaborator

@narengogi narengogi commented Nov 15, 2024

Title:

  • Unified files routes for OpenAI and Cohere

Related Issues: (optional)

@narengogi narengogi changed the title Feature/unified files and batch api Feature: Unified files routes Nov 19, 2024
@narengogi narengogi marked this pull request as ready for review November 19, 2024 14:25
@narengogi narengogi force-pushed the feature/unified-files-and-batch-api branch from 5d10da1 to bf57596 Compare November 26, 2024 09:43
some refactoring

file upload handler for /v1/files route

rename gatewayRequestBody to gatewayRequestBodyJSON and pass raw body as a parameter to getEndpoint as gatewayRequestBody

files upload handler for cohere

changes to handle get routes

list files for cohere

handle get file route

Get file for cohere

delete file handler

delete file for cohere

get file content handler

refactoring

revert requestValidator changes

refactoring

some refactoring

some refactoring

formatting

minor fixes

pass url instead of path because query parameters are required at some places
@narengogi narengogi force-pushed the feature/unified-files-and-batch-api branch from ddb04cd to 1c38fe3 Compare December 3, 2024 08:51
@narengogi narengogi closed this Dec 5, 2024
@narengogi
Copy link
Collaborator Author

closing because I'm pushing changes to feature/unified-batches-api

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.

1 participant