feat: migrate Search APIs to Component syntax (#2637)

* feat: migrate bingsearch to Component syntax

* all

* fix style

* [autofix.ci] apply automated fixes

* feat: Update BingSearchAPI and WikipediaAPI components

Refactor the BingSearchAPI and WikipediaAPI components to improve code organization and readability. Migrate BingSearchAPI to Component syntax and make initialization separate from the constructor. Update the condition to run end_all_traces in the BingSearchAPIComponent. Also, update the WikipediaAPIComponent to use the WikipediaAPIWrapper with the specified parameters.

* update lock

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
Nicolò Boschi 2024-07-17 19:41:03 +02:00 • committed by GitHub
commit b281a7d25e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 499 additions and 408 deletions

View file

@ -102,6 +102,8 @@ crewai = {extras = ["tools"], version = "^0.36.0"}
langwatch = "^0.1.9"
langsmith = "^0.1.86"
yfinance = "^0.2.40"
langchain-google-community = "^1.0.6"
wolframalpha = "^5.1.3"
[tool.poetry.group.dev.dependencies]