We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 753d272 commit bb5ad25Copy full SHA for bb5ad25
videodb/video.py
@@ -116,7 +116,7 @@ def get_transcript_text(self, force: bool = False) -> str:
116
self._fetch_transcript(force)
117
return self.transcript_text
118
119
- def index_spoken_words(self, force: bool = False) -> None:
+ def index_spoken_words(self, force: bool = False, callback_url: str = None) -> None:
120
"""Semantic indexing of spoken words in the video
121
122
:raises InvalidRequestError: If the video is already indexed
@@ -128,6 +128,7 @@ def index_spoken_words(self, force: bool = False) -> None:
128
data={
129
"index_type": IndexType.semantic,
130
"force": force,
131
+ "callback_url": callback_url,
132
},
133
show_progress=True,
134
)
0 commit comments