LLM plugin to access Google's Gemini family of models, with support for YouTube URLs
Project description
llm-gemini-youtube
LLM plugin to access Google's Gemini family of models, with support for YouTube URLs
https://ai.google.dev/gemini-api/docs/video-understanding#youtube
Installation
Install this plugin in the same environment as LLM.
llm install llm-gemini-youtube
Usage
llm -m gemini-2.0-flash-yt -a 'https://www.youtube.com/watch?v=9hE5-98ZeCg' 'Can you summarize this video?'
llm -m gemini-1.5-pro-yt -a 'https://www.youtube.com/watch?v=9hE5-98ZeCg' 'What are the examples given at 01:05 and 01:19 supposed to show us?'
llm -m gemini-1.5-pro-yt -a 'https://www.youtube.com/watch?v=9hE5-98ZeCg' 'Transcribe the audio from this video, giving timestamps for salient events in the video. Also provide visual descriptions.'
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-gemini-youtube
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
python -m pip install -e '.[test]'
To run the tests:
python -m pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llm_gemini_youtube-0.0.3.tar.gz.
File metadata
- Download URL: llm_gemini_youtube-0.0.3.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
344716ced4a404cb577aa61a0b7ebb709fd6cf1bf75c09d9c84c8c702c2a1925
|
|
| MD5 |
f7f2c11d78be07dc80cae178e6d146b7
|
|
| BLAKE2b-256 |
9e2289b5b95fe3457d57438643cc6f20c86230e26a08cbc2ecb73abbe61575a1
|
Provenance
The following attestation bundles were made for llm_gemini_youtube-0.0.3.tar.gz:
Publisher:
publish.yml on ftnext/llm-gemini-youtube
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_gemini_youtube-0.0.3.tar.gz -
Subject digest:
344716ced4a404cb577aa61a0b7ebb709fd6cf1bf75c09d9c84c8c702c2a1925 - Sigstore transparency entry: 630183014
- Sigstore integration time:
-
Permalink:
ftnext/llm-gemini-youtube@332cf7237bc0b41a25e8d25e1be68be6a0e0fd50 -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/ftnext
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@332cf7237bc0b41a25e8d25e1be68be6a0e0fd50 -
Trigger Event:
release
-
Statement type:
File details
Details for the file llm_gemini_youtube-0.0.3-py3-none-any.whl.
File metadata
- Download URL: llm_gemini_youtube-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bda2b080ea97ba9a027393169ea57020a6680665158ff9964156d37eea815e4
|
|
| MD5 |
2cca4ca5bf3f918ef92e8a7336ead1e1
|
|
| BLAKE2b-256 |
1355616ab0692c27902cc57bb28d3a0d9e3c7ecb0da9db94898fde72ad3edb46
|
Provenance
The following attestation bundles were made for llm_gemini_youtube-0.0.3-py3-none-any.whl:
Publisher:
publish.yml on ftnext/llm-gemini-youtube
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_gemini_youtube-0.0.3-py3-none-any.whl -
Subject digest:
3bda2b080ea97ba9a027393169ea57020a6680665158ff9964156d37eea815e4 - Sigstore transparency entry: 630183017
- Sigstore integration time:
-
Permalink:
ftnext/llm-gemini-youtube@332cf7237bc0b41a25e8d25e1be68be6a0e0fd50 -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/ftnext
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@332cf7237bc0b41a25e8d25e1be68be6a0e0fd50 -
Trigger Event:
release
-
Statement type: