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(media): support additional content types #472

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Conversation

hassiebp
Copy link
Contributor

@hassiebp hassiebp commented Nov 27, 2024

Important

Expanded supported MIME types for media records in openapi-server.yaml to include additional image, audio, video, text, and application formats.

  • Behavior:
    • Expanded supported MIME types in openapi-server.yaml for media records to include additional image, audio, and video formats such as image/gif, image/svg+xml, audio/ogg, audio/aac, video/mp4, and video/webm.
    • Now supports text formats like text/html, text/css, text/csv, and application formats like application/msword, application/vnd.ms-excel, application/zip, application/json, application/xml, application/octet-stream.

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

Copy link

vercel bot commented Nov 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
langfuse-js ✅ Ready (Inspect) Visit Preview Nov 27, 2024 3:32pm

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Disclaimer: Experimental PR review

PR Summary

Added support for a comprehensive range of media content types in the OpenAPI specification, expanding the API's capabilities for handling diverse file formats.

  • Added image formats support including GIF, SVG, TIFF, and BMP in /langfuse-core/openapi-spec/openapi-server.yaml
  • Added audio format support including OGG, OGA, AAC, MP4, and FLAC
  • Added video format support for MP4 and WebM files
  • Added document format support including MS Word, Excel, HTML, CSV, and XML
  • Added general purpose formats like ZIP and octet-stream for binary data

1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

@hassiebp hassiebp merged commit ef7bef8 into main Nov 27, 2024
9 checks passed
@hassiebp hassiebp deleted the media-additional-types branch November 27, 2024 16:20
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