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

[Community]: Fix - Open AI Whisper client.audio.transcriptions returning Text Object which raises error #25271

Merged
merged 3 commits into from
Aug 19, 2024

Conversation

keenborder786
Copy link
Contributor

I was able to replicate the error even without the GenericLoader as shown below and the issue was with OpenAIWhisperParser

parser = OpenAIWhisperParser(api_key="sk-fxxxxxxxxx",
                                            response_format="srt",
                                            temperature=0)

list(parser.lazy_parse(Blob.from_path('path_to_file.m4a')))

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 11, 2024
Copy link

vercel bot commented Aug 11, 2024

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Aug 19, 2024 6:16am

@dosubot dosubot bot added community Related to langchain-community 🔌: openai Primarily related to OpenAI integrations 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Aug 11, 2024
@keenborder786
Copy link
Contributor Author

@ccurme

@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Aug 19, 2024
@ccurme ccurme merged commit 75c3c81 into langchain-ai:master Aug 19, 2024
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature community Related to langchain-community lgtm PR looks good. Use to confirm that a PR is ready for merging. 🔌: openai Primarily related to OpenAI integrations size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants