mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 14:43:07 +00:00
x
This commit is contained in:
@@ -57,7 +57,7 @@ def test_azure_speech_load_key_region_auto_detect_languages() -> None:
|
||||
region=SPEECH_SERVICE_REGION,
|
||||
auto_detect_languages=["zh-CN", "en-US"],
|
||||
)
|
||||
documents = loader.lazy_load()
|
||||
documents = loader.load()
|
||||
assert "what" in documents[0].page_content.lower()
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ def test_azure_speech_load_key_region_language() -> None:
|
||||
region=SPEECH_SERVICE_REGION,
|
||||
speech_recognition_language="en-US",
|
||||
)
|
||||
documents = loader.lazy_load()
|
||||
documents = loader.load()
|
||||
assert "what" in documents[0].page_content.lower()
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ def test_azure_speech_load_key_region() -> None:
|
||||
loader = _AzureAISpeechLoader(
|
||||
_get_audio_file_path(), api_key=SPEECH_SERVICE_KEY, region=SPEECH_SERVICE_REGION
|
||||
)
|
||||
documents = loader.lazy_load()
|
||||
documents = loader.load()
|
||||
assert "what" in documents[0].page_content.lower()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user