Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Integrate video reading #883

Merged
merged 42 commits into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
5b28730
Run through the basic functions
Aug 31, 2024
eaad632
complete the video_toolkit
Aug 31, 2024
1dbcb57
added the forced download function and added test files
Aug 31, 2024
07c61bd
chore: Refactor VideoDownloaderToolkit to improve code readability an…
Sep 3, 2024
aa95c22
feat: Add video screenshot capture functionality
Sep 3, 2024
845cd00
feat: Add web video description extractor example
Sep 3, 2024
85d5dce
feat: Add web video object recognition example
Sep 3, 2024
76d9151
feat: Add DuckDuckGo video object recognition example
Sep 6, 2024
b842f45
feat: Add DuckDuckGo video object recognition results
Sep 6, 2024
0e501d9
refactor: update VideoDownloaderToolkit class and add download direct…
Sep 10, 2024
68f4d52
fix: Change test file directory
Sep 11, 2024
a3a7119
refactor: Update .gitignore and test_video_function.py
Sep 11, 2024
7f1ce25
fix: Fix minor bugs and format issues
Sep 11, 2024
0e3ad4f
polish docstring format
Wendong-Fan Sep 12, 2024
f35c1ee
refactor: Update VideoDownloaderToolkit class and Removed the split_i…
Sep 12, 2024
88db014
refactor: Update video_toolkit.py and test_video_function.py
Sep 13, 2024
157c76c
refactor: Update utils/__init__.py and test_video_function.py
Sep 13, 2024
bca0eeb
refactor: Update VideoDownloaderToolkit class
Sep 13, 2024
e1eda38
Merge remote-tracking branch 'origin/master' into integrate-video-rea…
Sep 13, 2024
3c0c3bb
Refactor poetry.lock
Sep 13, 2024
2c9d137
Add yt-dlp to optional dependencies
Sep 13, 2024
75a804f
fix: Refactor VideoDownloaderToolkit class and update utils/__init__.…
Sep 14, 2024
89e71a9
fix: VideoDownloaderToolkit examples
Sep 19, 2024
ff2e5e6
refactor
Sep 23, 2024
710a474
refactor: Remove the functionality of specifying a URL in the downloa…
Sep 23, 2024
d0c24bb
refactor: Remove URL parameter from VideoDownloaderToolkit constructo…
Sep 23, 2024
cadb897
refactor: Format
Sep 23, 2024
10884d0
fix
Sep 23, 2024
3463537
merge master
WHALEEYE Nov 8, 2024
22dd1fa
refactor codes
WHALEEYE Nov 9, 2024
55c3ab0
Merge branch 'master' into integrate-video-reading
WHALEEYE Nov 9, 2024
05d8683
small fix
WHALEEYE Nov 9, 2024
39d4ea3
test: change test to mocks
WHALEEYE Nov 16, 2024
d7ecc96
merge master
WHALEEYE Nov 16, 2024
b372d30
Merge branch 'master' into integrate-video-reading
Wendong-Fan Nov 22, 2024
bb868dd
polish based on review
Wendong-Fan Nov 22, 2024
ee5a803
Merge branch 'master' into integrate-video-reading
WHALEEYE Nov 23, 2024
bc10497
update examples
WHALEEYE Nov 24, 2024
852bd7b
`test` folder naming
Wendong-Fan Nov 24, 2024
9bded21
pre commit
Wendong-Fan Nov 24, 2024
3847346
update
Wendong-Fan Nov 24, 2024
df4b1ec
update test
Wendong-Fan Nov 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,12 @@ tags
# Camel
logs/

# Download Configuration
cookies.txt

# Data
datasets_test/
evaluation_data/
camel_data/
temp_video/

46 changes: 23 additions & 23 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.3.5'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
- id: ruff-format

- repo: local
hooks:
- id: mypy
name: Check mypy
entry: mypy --namespace-packages -p camel -p test -p apps
language: system
types: [python]
pass_filenames: false
require_serial: true
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.3.5'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
- id: ruff-format

- repo: local
hooks:
- id: check-license
name: Check License
entry: python licenses/update_license.py . licenses/license_template.txt
language: system
types: [python]
- repo: local
hooks:
- id: mypy
name: Check mypy
entry: mypy --namespace-packages -p camel -p tests -p apps
language: system
types: [python]
pass_filenames: false
require_serial: true

- repo: local
hooks:
- id: check-license
name: Check License
entry: python licenses/update_license.py . licenses/license_template.txt
language: system
types: [python]
3 changes: 3 additions & 0 deletions camel/toolkits/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from .slack_toolkit import SLACK_FUNCS, SlackToolkit
from .dalle_toolkit import DALLE_FUNCS, DalleToolkit
from .linkedin_toolkit import LINKEDIN_FUNCS, LinkedInToolkit
from .video_toolkit import VIDEO_DOWNLOAD_FUNCS, VideoDownloaderToolkit

from .base import BaseToolkit
from .code_execution import CodeExecutionToolkit
Expand All @@ -49,6 +50,7 @@
'SLACK_FUNCS',
'DALLE_FUNCS',
'LINKEDIN_FUNCS',
'VIDEO_DOWNLOAD_FUNCS',
'BaseToolkit',
'GithubToolkit',
'MathToolkit',
Expand All @@ -62,4 +64,5 @@
'OpenAPIToolkit',
'LinkedInToolkit',
'CodeExecutionToolkit',
'VideoDownloaderToolkit',
]
Loading