-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add SearchApi tools #4648
Add SearchApi tools #4648
Conversation
Hey Dify team! We would like to include an example of a workflow where the YouTube Transcripts API is used to retrieve text from a YouTube video, and then an LLM model is used to summarize the text. More details can be found in the LangChainJS Summarization Example How could we create such an example with LLM? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, we have release the new version v0.6.9.
&
Please run ./dev/reformat
in root dir as well.
@SebastjanPrachovskij The rest part LGTM. Thanks again for your contribution. :)
4551df1
to
7cab9e6
Compare
7cab9e6
to
a03d2c6
Compare
Hey @crazywoola, Thanks for the review. I addressed suggested changes, updated the SearchApi description, and returned results based on I think it is ready to be reviewed again 😊 |
Error: /workspace/api/core/tools/provider/builtin/searchapi/tools/youtube_transcripts.yaml:22:22: [error] too many spaces after colon (colons) And there is a lint error as well. @SebastjanPrachovskij |
01b6be0
to
c7cb957
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for contributions! |
* origin/main: (93 commits) chore: node help link (langgenius#4795) Add SearchApi tools (langgenius#4648) chore: improve node user experience (langgenius#4792) fix: in tool and http node of iteration can not show item var correctly (langgenius#4791) feat: Add logging warning when MAIL_TYPE is not set (langgenius#4771) fix organize agent's history messages without recalculating tokens (langgenius#4324) feat: support define tags in tool yaml (langgenius#4763) feat: update ernie model (langgenius#4756) fix: incorrect workflow max call depth (langgenius#4759) feat: support baichuan3 turbo, baichuan3 turbo 128k, and baichuan4 (langgenius#4762) fix: confusing chart description (langgenius#4760) style: fix annotation panel display misalignment (langgenius#4750) Add WORKFLOW_CALL_MAX_DEPTH env var. (langgenius#4713) Fix/4742 ollama num gpu option not consistent with allowed values (langgenius#4751) style: the 'all' of add tool panel should contain workflow tools (langgenius#4755) fix: Corrected schema link in model_runtime's README.md (langgenius#4757) fix: optimize sticky header styles z-index in tools - ProviderList component (langgenius#4746) fix: workflow run sequence number slow sql (langgenius#4737) Show tool i18n name on chat pannel (langgenius#4724) fix: Correct context size for banchuan2-53b and banchuan2-turbo (langgenius#4721) ...
Description
We have integrated a new tool - SearchApi. Right now we added Google, Google Jobs, Google News, and YouTube Transcripts engines.
Type of Change
Please delete options that are not relevant.
How Has This Been Tested?
Suggested Checklist:
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint godsoptional
I have made corresponding changes to the documentationoptional
I have added tests that prove my fix is effective or that my feature worksoptional
New and existing unit tests pass locally with my changes