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

update api spec #1336

Merged
merged 1 commit into from
Oct 4, 2024
Merged

update api spec #1336

merged 1 commit into from
Oct 4, 2024

Conversation

emrgnt-cmplxty
Copy link
Contributor

@emrgnt-cmplxty emrgnt-cmplxty commented Oct 4, 2024

Important

Update API spec with new endpoints for file and chunk ingestion, completion generation, and enhance existing endpoints with multipart/form-data support.

  • New Endpoints:
    • /v2/ingest_files: Supports file ingestion with metadata.
    • /v2/update_files: Allows updating existing files with metadata.
    • /v2/ingest_chunks: Supports ingestion of pre-parsed text chunks.
    • /v2/completion: Generates completions for messages using a language model.
  • Updated Endpoints:
    • /v2/update_files: Now supports multipart/form-data requests.
    • /v2/ingest_files: Enhanced to support multipart/form-data requests.
    • /v2/ingest_chunks: Enhanced to support multipart/form-data requests.
  • Security:
    • Most endpoints require HTTPBearer authentication.
  • Misc:
    • Updated openapi version to 3.1.0.

This description was created by Ellipsis for e57eac1. It will automatically update as commits are pushed.

@emrgnt-cmplxty emrgnt-cmplxty marked this pull request as ready for review October 4, 2024 02:26
@emrgnt-cmplxty emrgnt-cmplxty merged commit fe07383 into main Oct 4, 2024
4 of 7 checks passed
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Reviewed everything up to e57eac1 in 30 seconds

More details
  • Looked at 7 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. docs/api-reference/openapi.json:1
  • Draft comment:
    The 'response_model' parameter in the '/v2/ingest_files' endpoint is missing a description. Consider adding a description for clarity.
  • Reason this comment was not posted:
    Confidence changes required: 50%
    The PR updates the OpenAPI specification, but there is a missing description for the 'response_model' parameter in the '/v2/ingest_files' endpoint. This should be addressed for clarity and completeness.

Workflow ID: wflow_ALTu0O0MRs6DWkxj


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

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