mirror of https://github.com/hwchase17/langchain
Updated return parameter of YouTubeSearchTool (#10743)
**Description:** changed return parameter of YouTubeSearchTool 1. changed the returning links of youtube videos by adding prefix "https://www.youtube.com", now this will return the exact links to the videos 2. updated the returning type from 'string' to 'list', which will be more suited for further processings **Issue:** Fixes #10742 **Dependencies:** None <!-- Thank you for contributing to LangChain! Replace this entire comment with: - **Description:** changed return parameter of YouTubeSearchTool - **Issue:** the issue # it fixes (if applicable), - **Dependencies:** None - **Tag maintainer:** for a quicker response, tag the relevant maintainer (see below), - **Twitter handle:** we announce bigger features on Twitter. If your PR gets announced, and you'd like a mention, we'll gladly shout you out! Please make sure your PR is passing linting and testing before submitting. Run `make format`, `make lint` and `make test` to check this locally. See contribution guidelines for more information on how to write/run tests, lint, etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md If you're adding a new integration, please include: 1. a test for the integration, preferably unit tests that do not rely on network access, 2. an example notebook showing its use. It lives in `docs/extras` directory. If no one reviews your PR within a few days, please @-mention one of @baskaryan, @eyurtsev, @hwchase17. --> --------- Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>pull/10790/head
parent
1dae3c383e
commit
740eafe41d
Loading…
Reference in New Issue