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(api): allow to pass audios to backends #3603

Merged
merged 1 commit into from
Sep 19, 2024
Merged

feat(api): allow to pass audios to backends #3603

merged 1 commit into from
Sep 19, 2024

Conversation

mudler
Copy link
Owner

@mudler mudler commented Sep 19, 2024

Description

This prepares the API to receive audios as well for audio understanding.

It works similarly to images, where the request should be in the form:

{
 "type": "audio_url",
 "audio_url": { "url": "url or base64 data" }
}

Notes for Reviewers

This does not add a backend for audio understanding, but enables the API to pass by the data to the backends - the ones that can read audio are now enabled to receive audios.

Related to #3602

Copy link

netlify bot commented Sep 19, 2024

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 7d94091
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/66ebee5e6c8338000811b9af
😎 Deploy Preview https://deploy-preview-3603--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mudler mudler added the enhancement New feature or request label Sep 19, 2024
@mudler mudler merged commit 191bc2e into master Sep 19, 2024
31 checks passed
@mudler mudler deleted the audio_api branch September 19, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant