mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
aea090045b
# OpenAIWhisperParser This PR creates a new parser, `OpenAIWhisperParser`, that uses the [OpenAI Whisper model](https://platform.openai.com/docs/guides/speech-to-text/quickstart) to perform transcription of audio files to text (`Documents`). Please see the notebook for usage.
15 lines
383 B
Python
15 lines
383 B
Python
from langchain.document_loaders.parsers import __all__
|
|
|
|
|
|
def test_parsers_public_api_correct() -> None:
|
|
"""Test public API of parsers for breaking changes."""
|
|
assert set(__all__) == {
|
|
"BS4HTMLParser",
|
|
"OpenAIWhisperParser",
|
|
"PyPDFParser",
|
|
"PDFMinerParser",
|
|
"PyMuPDFParser",
|
|
"PyPDFium2Parser",
|
|
"PDFPlumberParser",
|
|
}
|