Skip to content

Commit

Permalink
Improve api docs (#1629)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangShenao authored Nov 26, 2024
1 parent 749a9c8 commit 17a34e6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions py/core/parsers/media/audio_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ async def ingest( # type: ignore
Args:
data: Raw audio bytes
chunk_size: Size of text chunks to yield
model: The model to use for transcription (default is whisper-1)
*args, **kwargs: Additional arguments passed to the transcription call
Yields:
Expand Down
1 change: 0 additions & 1 deletion py/core/parsers/media/img_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ async def ingest( # type: ignore
Args:
data: Image data (bytes or base64 string)
chunk_size: Size of text chunks to yield
*args, **kwargs: Additional arguments passed to the completion call
Yields:
Expand Down
2 changes: 1 addition & 1 deletion py/core/pipelines/graph_enrichment.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


class KGEnrichmentPipeline(AsyncPipeline):
"""A pipeline for enhancing the graph with communities, connnected components etc."""
"""A pipeline for enhancing the graph with communities, connected components etc."""

pipeline_type: str = "other"

Expand Down

0 comments on commit 17a34e6

Please sign in to comment.