You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/langchain_community/tools
Eugene Yurtsev 780e84ae79
community[minor]: SQLDatabase Add fetch mode `cursor`, query parameters, query by selectable, expose execution options, and documentation (#17191)
- **Description:** Improve `SQLDatabase` adapter component to promote
code re-use, see
[suggestion](https://github.com/langchain-ai/langchain/pull/16246#pullrequestreview-1846590962).
  - **Needed by:** GH-16246
  - **Addressed to:** @baskaryan, @cbornet 

## Details
- Add `cursor` fetch mode
- Accept SQL query parameters
- Accept both `str` and SQLAlchemy selectables as query expression
- Expose `execution_options`
- Documentation page (notebook) about `SQLDatabase` [^1]
See [About
SQLDatabase](https://github.com/langchain-ai/langchain/blob/c1c7b763/docs/docs/integrations/tools/sql_database.ipynb).

[^1]: Apparently there hasn't been any yet?

---------

Co-authored-by: Andreas Motl <andreas.motl@crate.io>
8 months ago
..
ainetwork
amadeus infra: add -p to mkdir in lint steps (#17013) 8 months ago
arxiv docs: docstrings `langchain_community` update (#14889) 10 months ago
azure_cognitive_services docs: docstrings `langchain_community` update (#14889) 10 months ago
bearly
bing_search community[patch]: Update bing results tool name (#16395) 8 months ago
brave_search
clickup
connery community[minor]: Connery Tool and Toolkit (#14506) 8 months ago
dataforseo_api_search community[patch]: Fixed tool names snake_case (#16397) 8 months ago
ddg_search community[patch]: Fixed tool names snake_case (#16397) 8 months ago
e2b_data_analysis Fix: Use `Union` instead of `|` to improve compatibility, fix #15244 (#15245) 9 months ago
edenai
eleven_labs
file_management
github
gitlab
gmail community: add args_schema to GmailSendMessage (#14973) 9 months ago
golden_query community[patch]: Fixed tool names snake_case (#16397) 8 months ago
google_cloud
google_finance
google_jobs
google_lens community[patch]: Fixed tool names snake_case (#16397) 8 months ago
google_places
google_scholar
google_search community[patch]: Fixed tool names snake_case (#16397) 8 months ago
google_serper
google_trends
graphql
human
interaction
jira
json
memorize community[patch]: Fixed tool names snake_case (#16397) 8 months ago
merriam_webster community[patch]: Fixed tool names snake_case (#16397) 8 months ago
metaphor_search exa: init pkg (#16553) 8 months ago
multion Propagate context vars in all classes/methods 9 months ago
nasa
nuclia
office365
openapi
openweathermap community[patch]: Fixed tool names snake_case (#16397) 8 months ago
playwright
polygon community: Add PolygonLastQuote Tool and Toolkit (#15990) 8 months ago
powerbi
pubmed community[patch]: Fixed tool names snake_case (#16397) 8 months ago
reddit_search
requests community[minor]: add JsonRequestsWrapper tool (#15374) 9 months ago
scenexplain
searchapi
searx_search community[patch]: Fixed tool names snake_case (#16397) 8 months ago
semanticscholar community: Semanticscholar tool to search 200M+ scientific articles (#15151) 9 months ago
shell infra: add -p to mkdir in lint steps (#17013) 8 months ago
slack langchain-community: fix unicode escaping issue with SlackToolkit (#16616) 8 months ago
sleep
spark_sql
sql_database community[minor]: SQLDatabase Add fetch mode `cursor`, query parameters, query by selectable, expose execution options, and documentation (#17191) 8 months ago
stackexchange community[patch]: Fixed tool names snake_case (#16397) 8 months ago
steam community[patch]: Fixed tool names snake_case (#16397) 8 months ago
steamship_image_generation community[patch]: Fixed tool names snake_case (#16397) 8 months ago
tavily_search add defaults for tavily (#15075) 9 months ago
vectorstore
wikidata community: Wikidata tool support (#16691) 8 months ago
wikipedia community[patch]: Fixed tool names snake_case (#16397) 8 months ago
wolfram_alpha
youtube
zapier
__init__.py community[minor]: Connery Tool and Toolkit (#14506) 8 months ago
convert_to_openai.py core[patch], community[patch], openai[patch]: consolidate openai tool… (#16485) 8 months ago
ifttt.py
plugin.py
render.py core[patch], community[patch], openai[patch]: consolidate openai tool… (#16485) 8 months ago
yahoo_finance_news.py