community[patch]: docstrings update (#20301)

Added missed docstrings. Format docstings to the consistent form.
This commit is contained in:
Leonid Ganeline
2024-04-11 13:23:27 -07:00
committed by GitHub
parent 2900720cd3
commit 7cf2d2759d
77 changed files with 162 additions and 125 deletions

View File

@@ -29,8 +29,7 @@ class TranscriptFormat(Enum):
class AssemblyAIAudioTranscriptLoader(BaseLoader):
"""
Loader for AssemblyAI audio transcripts.
"""Load AssemblyAI audio transcripts.
It uses the AssemblyAI API to transcribe audio files
and loads the transcribed text into one or more Documents,
@@ -110,7 +109,7 @@ class AssemblyAIAudioTranscriptLoader(BaseLoader):
class AssemblyAIAudioLoaderById(BaseLoader):
"""
Loader for AssemblyAI audio transcripts.
Load AssemblyAI audio transcripts.
It uses the AssemblyAI API to get an existing transcription
and loads the transcribed text into one or more Documents,

View File

@@ -15,7 +15,7 @@ AV_PATTERN = re.compile(r"av[0-9]+")
class BiliBiliLoader(BaseLoader):
"""
Loader for fetching transcripts from BiliBili videos.
Load fetching transcripts from BiliBili videos.
"""
def __init__(