Fix docs for AssemblyAIAudioTranscriptLoader (shorter import path) (#9687)

Uses the shorter import path

`from langchain.document_loaders import` instead of the full path
`from langchain.document_loaders.assemblyai`

Applies those changes to the docs and the unit test.

See #9667 that adds this new loader.
This commit is contained in:
Patrick Loeber
2023-08-24 16:24:53 +02:00
committed by GitHub
parent 7cf5c582d2
commit 6bedfdf25a
2 changed files with 4 additions and 9 deletions

View File

@@ -1,10 +1,8 @@
import pytest
from pytest_mock import MockerFixture
from langchain.document_loaders.assemblyai import (
AssemblyAIAudioTranscriptLoader,
TranscriptFormat,
)
from langchain.document_loaders import AssemblyAIAudioTranscriptLoader
from langchain.document_loaders.assemblyai import TranscriptFormat
@pytest.mark.requires("assemblyai")