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: add AskNews toolkit #884

Merged
merged 29 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ca1f3e8
complete basic functions
Aug 31, 2024
e7b5471
feat: Add support for AskNews toolkit
ZackYule Sep 3, 2024
0b145f8
feat: Update dependencies for AskNews toolkit
Sep 12, 2024
524d4ef
feat: Update chat_query method in AskNewsToolkit
Sep 12, 2024
5f2e2b5
fix
Sep 19, 2024
8664c95
Refactor AskNewsToolkit in camel/toolkits/ask_news_toolkit.py
Sep 20, 2024
59152fa
Refactor AskNewsToolkit
Sep 20, 2024
0be7943
Update asknews version to 0.7.43 & add live_web_search api
Sep 20, 2024
f3e6601
fix: Format code
Sep 20, 2024
3bad72f
refactor: Add AsyncAskNewsToolkit
Sep 20, 2024
61fcebb
Merge branch 'master' into add-ask-news-toolkit
Wendong-Fan Sep 24, 2024
def48dd
refactor: AskNewsToolkit and AsyncAskNewsToolkit to use "kw" as the d…
Sep 25, 2024
d47367a
refactor AsyncAskNewsToolkit class
Sep 30, 2024
e55b0b1
refactor: Move the code of async_ask_news_toolkit.py to ask_news_tool…
Sep 30, 2024
ef31108
refactor: Unified annotation style
Sep 30, 2024
2aacd17
Update camel/toolkits/ask_news_toolkit.py
ZackYule Oct 9, 2024
8d6a1a6
Modified according to the review's suggestions.
Oct 10, 2024
e72c84c
Merge branch 'master' into add-ask-news-toolkit
Wendong-Fan Oct 16, 2024
1ac935f
use FunctionTool and remove botocore3
Wendong-Fan Oct 16, 2024
83c112e
format fix
Wendong-Fan Oct 16, 2024
ae6edb5
use mock to do test
Wendong-Fan Oct 16, 2024
8b162c0
update sync function
Wendong-Fan Oct 16, 2024
a0fde4b
update async methods
Wendong-Fan Oct 16, 2024
22921f9
update example
Wendong-Fan Oct 16, 2024
fbbc16c
Merge branch 'master' into add-ask-news-toolkit
Wendong-Fan Oct 16, 2024
61eba41
update key config
Wendong-Fan Oct 16, 2024
daa852c
Merge branch 'add-ask-news-toolkit' of https://github.com/camel-ai/ca…
Wendong-Fan Oct 16, 2024
2fbf7d9
fix
Wendong-Fan Oct 16, 2024
15b1e4d
Merge branch 'master' into add-ask-news-toolkit
Wendong-Fan Oct 16, 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
7 changes: 6 additions & 1 deletion camel/toolkits/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
from .slack_toolkit import SLACK_FUNCS, SlackToolkit
from .dalle_toolkit import DALLE_FUNCS, DalleToolkit
from .linkedin_toolkit import LINKEDIN_FUNCS, LinkedInToolkit

from .ask_news_toolkit import ASKNEWS_FUNCS, AskNewsToolkit
from .async_ask_news_toolkit import ASYNC_ASKNEWS_FUNCS, AsyncAskNewsToolkit
from .base import BaseToolkit
from .code_execution import CodeExecutionToolkit
from .github_toolkit import GithubToolkit
Expand All @@ -49,6 +50,7 @@
'SLACK_FUNCS',
'DALLE_FUNCS',
'LINKEDIN_FUNCS',
'ASKNEWS_FUNCS',
'BaseToolkit',
'GithubToolkit',
'MathToolkit',
Expand All @@ -61,5 +63,8 @@
'RetrievalToolkit',
'OpenAPIToolkit',
'LinkedInToolkit',
'AskNewsToolkit',
'CodeExecutionToolkit',
'ASYNC_ASKNEWS_FUNCS',
'AsyncAskNewsToolkit',
]
Loading