TL;DW Video Retriever
Overview
TL;DW is a powerful video understanding API that retrieves precise moments from videos using natural language queries. By integrating TL;DW with LlamaIndex, we can efficiently index and search video content, enabling seamless knowledge retrieval from videos.
Setup
-
Obtain API keys from tl;dw Playground. New users are granted free indexing minutes automatically.
-
Install the required packages:
pip install llama-index-retrievers-tldw
Usage
- Initialize the TldwRetriever with your API key and collection ID:
from llama_index.retrievers.tldw import TldwRetriever
from llama_index.core.query_engine import RetrieverQueryEngine
# Initialize the retriever
retriever = TldwRetriever(
api_key="YOUT_TLDW_API_KEY",
collection_id="YOUR_COLLECTION_ID", # Replace with your actual collection ID
)
# Create a query engine
query_engine = RetrieverQueryEngine(
retriever=retriever,
)
# Query and summarize response
response = query_engine.query("What are the brands of smart watches reviewed?")
print(
response
) # "The brands of smartwatches reviewed in the videos are Apple and Garmin."
Support
If you have any questions or feedback, please feel free to reach out to us.
Metadata
Release files for llama-index-retrievers-tldw 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_retrievers_tldw-0.3.0.tar.gz | 3.8 kB | Without provenance | Details for llama_index_retrievers_tldw-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_retrievers_tldw-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_retrievers_tldw-0.3.0-py3-none-any.whl |
Total release size: 7.1 kB
Release files / llama_index_retrievers_tldw-0.3.0.tar.gz
| Download URL | llama_index_retrievers_tldw-0.3.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7ea8b773e2f20ad656879305acc550c02c35d26966d4e871415a0678f276b67
|
|
BLAKE2b-256 checksum How to use checksums |
861cab6f213edfeedf6980ce02368e99c472cf02f61f137f92c3ea20c718143e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_retrievers_tldw-0.3.0-py3-none-any.whl
| Download URL | llama_index_retrievers_tldw-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fae0852920c7f72e294a6eddecf7f724a43950e2544e105ca973e7227d75f7e2
|
|
BLAKE2b-256 checksum How to use checksums |
d71592a9a74b8f58b06e594919e150603191e80a58ccc9eed3500d5917010cf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for llama-index-retrievers-tldw 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.