Jump to content

LangChain: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎LangChain tools: inserted the names of all tools currently available at "https://python.langchain.com/docs/integrations/tools"
Tags: Reverted Visual edit
→‎LangChain tools: Added all urls for Langchain documentation for each tool
Tags: Reverted Visual edit
Line 28: Line 28:


== LangChain tools ==
== LangChain tools ==
{| class="wikitable sortable mw-collapsible mw-collapsed"
{| class="wikitable sortable"
|+
|+
!
!
Line 40: Line 40:
|-
|-
|'''Tool name'''
|'''Tool name'''
|Documentation URL
|'''URL'''
|'''Description'''
|'''Description'''
|'''Account required?'''
|'''Account required?'''
Line 49: Line 49:
|-
|-
|Alpha Vantage
|Alpha Vantage
|https://python.langchain.com/docs/integrations/tools/alpha_vantage
|
|
|
|
|
Line 58: Line 58:
|-
|-
|Apify
|Apify
|https://python.langchain.com/docs/integrations/tools/apify
|
|
|
|
|
Line 67: Line 67:
|-
|-
|ArXiv
|ArXiv
|https://python.langchain.com/docs/integrations/tools/arxiv
|
|
|
|
|
Line 76: Line 76:
|-
|-
|AWS Lambda
|AWS Lambda
|https://python.langchain.com/docs/integrations/tools/awslambda
|
|
|
|
|
Line 85: Line 85:
|-
|-
|Shell (bash)
|Shell (bash)
|https://python.langchain.com/docs/integrations/tools/bash
|
|
|
|
|
Line 94: Line 94:
|-
|-
|Bearly Code Interpreter
|Bearly Code Interpreter
|https://python.langchain.com/docs/integrations/tools/bearly
|
|
|
|
|
Line 103: Line 103:
|-
|-
|Bing Search
|Bing Search
|https://python.langchain.com/docs/integrations/tools/bing_search
|
|
|
|
|
Line 112: Line 112:
|-
|-
|Brave Search
|Brave Search
|https://python.langchain.com/docs/integrations/tools/brave_search
|
|
|
|
|
Line 121: Line 121:
|-
|-
|ChatGPT Plugins
|ChatGPT Plugins
|https://python.langchain.com/docs/integrations/tools/chatgpt_plugins
|
|
|
|
|
Line 130: Line 130:
|-
|-
|Connery Action Tool
|Connery Action Tool
|https://python.langchain.com/docs/integrations/tools/connery
|
|
|
|
|
Line 139: Line 139:
|-
|-
|Dall-E Image Generator
|Dall-E Image Generator
|https://python.langchain.com/docs/integrations/tools/dalle_image_generator
|
|
|
|
|
Line 148: Line 148:
|-
|-
|DataForSEO
|DataForSEO
|https://python.langchain.com/docs/integrations/tools/dataforseo
|
|
|
|
|
Line 157: Line 157:
|-
|-
|DuckDuckGo Search
|DuckDuckGo Search
|https://python.langchain.com/docs/integrations/tools/ddg
|
|
|
|
|
Line 166: Line 166:
|-
|-
|E2B Data Analysis
|E2B Data Analysis
|https://python.langchain.com/docs/integrations/tools/e2b_data_analysis
|
|
|
|
|
Line 175: Line 175:
|-
|-
|Eden AI
|Eden AI
|https://python.langchain.com/docs/integrations/tools/edenai_tools
|
|
|
|
|
Line 184: Line 184:
|-
|-
|Eleven Labs Text2Speech
|Eleven Labs Text2Speech
|https://python.langchain.com/docs/integrations/tools/eleven_labs_tts
|
|
|
|
|
Line 193: Line 193:
|-
|-
|Exa Search
|Exa Search
|https://python.langchain.com/docs/integrations/tools/exa_search
|
|
|
|
|
Line 202: Line 202:
|-
|-
|File System
|File System
|https://python.langchain.com/docs/integrations/tools/filesystem
|
|
|
|
|
Line 211: Line 211:
|-
|-
|Golden Query
|Golden Query
|https://python.langchain.com/docs/integrations/tools/golden_query
|
|
|
|
|
Line 220: Line 220:
|-
|-
|Google Cloud Text-to-Speech
|Google Cloud Text-to-Speech
|https://python.langchain.com/docs/integrations/tools/google_cloud_texttospeech
|
|
|
|
|
Line 229: Line 229:
|-
|-
|Google Drive
|Google Drive
|https://python.langchain.com/docs/integrations/tools/google_drive
|
|
|
|
|
Line 238: Line 238:
|-
|-
|Google Finance
|Google Finance
|https://python.langchain.com/docs/integrations/tools/google_finance
|
|
|
|
|
Line 247: Line 247:
|-
|-
|Google Jobs
|Google Jobs
|https://python.langchain.com/docs/integrations/tools/google_jobs
|
|
|
|
|
Line 256: Line 256:
|-
|-
|Google Lens
|Google Lens
|https://python.langchain.com/docs/integrations/tools/google_lens
|
|
|
|
|
Line 265: Line 265:
|-
|-
|Google Places
|Google Places
|https://python.langchain.com/docs/integrations/tools/google_places
|
|
|
|
|
Line 274: Line 274:
|-
|-
|Google Scholar
|Google Scholar
|https://python.langchain.com/docs/integrations/tools/google_scholar
|
|
|
|
|
|
|
|-
|Google Search
|https://python.langchain.com/docs/integrations/tools/google_search
|
|
|
|
Line 282: Line 291:
|
|
|-
|-
|Google Trends
|Google Serper
|https://python.langchain.com/docs/integrations/tools/google_serper
|
|
|
|
|
|
|
|-
|Google Trends
|https://python.langchain.com/docs/integrations/tools/google_trends
|
|
|
|
Line 292: Line 310:
|-
|-
|Gradio
|Gradio
|https://python.langchain.com/docs/integrations/tools/gradio_tools
|
|
|
|
|
Line 301: Line 319:
|-
|-
|GraphQL
|GraphQL
|https://python.langchain.com/docs/integrations/tools/graphql
|
|
|
|
|
Line 310: Line 328:
|-
|-
|HuggingFace Hub Tools
|HuggingFace Hub Tools
|https://python.langchain.com/docs/integrations/tools/huggingface_tools
|
|
|
|
|
Line 319: Line 337:
|-
|-
|Human as a tool
|Human as a tool
|https://python.langchain.com/docs/integrations/tools/human_tools
|
|
|
|
|
Line 328: Line 346:
|-
|-
|IFTTT WebHooks
|IFTTT WebHooks
|https://python.langchain.com/docs/integrations/tools/ifttt
|
|
|
|
|
Line 337: Line 355:
|-
|-
|Ionic Shopping Tool
|Ionic Shopping Tool
|https://python.langchain.com/docs/integrations/tools/ionic_shopping
|
|
|
|
|
Line 346: Line 364:
|-
|-
|Lemon Agent
|Lemon Agent
|https://python.langchain.com/docs/integrations/tools/lemonai
|
|
|
|
|
Line 355: Line 373:
|-
|-
|Memorize
|Memorize
|https://python.langchain.com/docs/integrations/tools/memorize
|
|
|
|
|
Line 364: Line 382:
|-
|-
|Nuclia Understanding
|Nuclia Understanding
|https://python.langchain.com/docs/integrations/tools/nuclia
|
|
|
|
|
Line 373: Line 391:
|-
|-
|OpenWeatherMap
|OpenWeatherMap
|https://python.langchain.com/docs/integrations/tools/openweathermap
|
|
|
|
|
Line 382: Line 400:
|-
|-
|Polygon Stock Market API
|Polygon Stock Market API
|https://python.langchain.com/docs/integrations/tools/polygon
|
|
|
|
|
Line 391: Line 409:
|-
|-
|PubMed
|PubMed
|https://python.langchain.com/docs/integrations/tools/pubmed
|
|
|
|
|
Line 400: Line 418:
|-
|-
|Python REPL
|Python REPL
|https://python.langchain.com/docs/integrations/tools/python
|
|
|
|
|
Line 409: Line 427:
|-
|-
|Reddit Search
|Reddit Search
|https://python.langchain.com/docs/integrations/tools/reddit_search
|
|
|
|
|
Line 418: Line 436:
|-
|-
|Requests
|Requests
|https://python.langchain.com/docs/integrations/tools/requests
|
|
|
|
|
Line 427: Line 445:
|-
|-
|SceneXplain
|SceneXplain
|https://python.langchain.com/docs/integrations/tools/sceneXplain
|
|
|
|
|
Line 436: Line 454:
|-
|-
|Search Tools
|Search Tools
|https://python.langchain.com/docs/integrations/tools/search_tools
|
|
|
|
|
Line 445: Line 463:
|-
|-
|SearchApi
|SearchApi
|https://python.langchain.com/docs/integrations/tools/searchapi
|
|
|
|
|
Line 454: Line 472:
|-
|-
|SearxNG Search
|SearxNG Search
|https://python.langchain.com/docs/integrations/tools/searx_search
|
|
|
|
|
Line 463: Line 481:
|-
|-
|Semantic Scholar API tool
|Semantic Scholar API tool
|https://python.langchain.com/docs/integrations/tools/semanticscholar
|
|
|
|
|
Line 472: Line 490:
|-
|-
|SerpAPI
|SerpAPI
|https://python.langchain.com/docs/integrations/tools/serpapi
|
|
|
|
|
Line 481: Line 499:
|-
|-
|StackExchange
|StackExchange
|https://python.langchain.com/docs/integrations/tools/stackexchange
|
|
|
|
|
Line 490: Line 508:
|-
|-
|Tavily Search
|Tavily Search
|https://python.langchain.com/docs/integrations/tools/tavily_search
|
|
|
|
|
Line 499: Line 517:
|-
|-
|Twilio
|Twilio
|https://python.langchain.com/docs/integrations/tools/twilio
|
|
|
|
|
Line 508: Line 526:
|-
|-
|Wikidata
|Wikidata
|https://python.langchain.com/docs/integrations/tools/wikidata
|
|
|
|
|
Line 517: Line 535:
|-
|-
|Wikipedia
|Wikipedia
|https://python.langchain.com/docs/integrations/tools/wikipedia
|
|
|
|
|
Line 526: Line 544:
|-
|-
|Wolfram Alpha
|Wolfram Alpha
|https://python.langchain.com/docs/integrations/tools/wolfram_alpha
|
|
|
|
|
Line 535: Line 553:
|-
|-
|Yahoo Finance News
|Yahoo Finance News
|https://python.langchain.com/docs/integrations/tools/yahoo_finance_news
|
|
|
|
|
Line 544: Line 562:
|-
|-
|Youtube
|Youtube
|https://python.langchain.com/docs/integrations/tools/youtube
|
|
|
|
|
Line 553: Line 571:
|-
|-
|Zapier Natural Language Actions
|Zapier Natural Language Actions
|https://python.langchain.com/docs/integrations/tools/zapier
|
|
|
|
|

Revision as of 04:56, 30 January 2024

LangChain
Developer(s)Harrison Chase
Initial releaseOctober 2022
Stable release
0.1.16[1] / 11 April 2024; 4 months ago (11 April 2024)
Repositorygithub.com/langchain-ai/langchain
Written inPython and JavaScript
TypeSoftware framework for large language model application development
LicenseMIT License
WebsiteLangChain.com

LangChain is a framework designed to simplify the creation of applications using large language models (LLMs). As a language model integration framework, LangChain's use-cases largely overlap with those of language models in general, including document analysis and summarization, chatbots, and code analysis.[2]

History

LangChain was launched in October 2022 as an open source project by Harrison Chase, while working at machine learning startup Robust Intelligence. The project quickly garnered popularity,[3] with improvements from hundreds of contributors on GitHub, trending discussions on Twitter, lively activity on the project's Discord server, many YouTube tutorials, and meetups in San Francisco and London. In April 2023, LangChain had incorporated and the new startup raised over $20 million in funding at a valuation of at least $200 million from venture firm Sequoia Capital, a week after announcing a $10 million seed investment from Benchmark.[4][5]

In October 2023 LangChain introduced LangServe, a deployment tool designed to facilitate the transition from LCEL (LangChain Expression Language) prototypes to production-ready applications.[6]

Capabilities

LangChain's developers highlight the framework's applicability to use-cases including chatbots,[7] retrieval-augmented generation,[8] document summarization,[9] and synthetic data generation.[10]

As of March 2023, LangChain included integrations with systems including Amazon, Google, and Microsoft Azure cloud storage; API wrappers for news, movie information, and weather; Bash for summarization, syntax and semantics checking, and execution of shell scripts; multiple web scraping subsystems and templates; few-shot learning prompt generation support; finding and summarizing "todo" tasks in code; Google Drive documents, spreadsheets, and presentations summarization, extraction, and creation; Google Search and Microsoft Bing web search; OpenAI, Anthropic, and Hugging Face language models; iFixit repair guides and wikis search and summarization; MapReduce for question answering, combining documents, and question generation; N-gram overlap scoring; PyPDF, pdfminer, fitz, and pymupdf for PDF file text extraction and manipulation; Python and JavaScript code generation, analysis, and debugging; Milvus vector database[11] to store and retrieve vector embeddings; Weaviate vector database[12] to cache embedding and data objects; Redis cache database storage; Python RequestsWrapper and other methods for API requests; SQL and NoSQL databases including JSON support; Streamlit, including for logging; text mapping for k-nearest neighbors search; time zone conversion and calendar operations; tracing and recording stack symbols in threaded and asynchronous subprocess runs; and the Wolfram Alpha website and SDK.[13] As of April 2023, it can read from more than 50 document types and data sources.[14]

LangChain tools

Tool name Documentation URL Description Account required? API key required API limits Current version Dependencies
Alpha Vantage https://python.langchain.com/docs/integrations/tools/alpha_vantage
Apify https://python.langchain.com/docs/integrations/tools/apify
ArXiv https://python.langchain.com/docs/integrations/tools/arxiv
AWS Lambda https://python.langchain.com/docs/integrations/tools/awslambda
Shell (bash) https://python.langchain.com/docs/integrations/tools/bash
Bearly Code Interpreter https://python.langchain.com/docs/integrations/tools/bearly
Bing Search https://python.langchain.com/docs/integrations/tools/bing_search
Brave Search https://python.langchain.com/docs/integrations/tools/brave_search
ChatGPT Plugins https://python.langchain.com/docs/integrations/tools/chatgpt_plugins
Connery Action Tool https://python.langchain.com/docs/integrations/tools/connery
Dall-E Image Generator https://python.langchain.com/docs/integrations/tools/dalle_image_generator
DataForSEO https://python.langchain.com/docs/integrations/tools/dataforseo
DuckDuckGo Search https://python.langchain.com/docs/integrations/tools/ddg
E2B Data Analysis https://python.langchain.com/docs/integrations/tools/e2b_data_analysis
Eden AI https://python.langchain.com/docs/integrations/tools/edenai_tools
Eleven Labs Text2Speech https://python.langchain.com/docs/integrations/tools/eleven_labs_tts
Exa Search https://python.langchain.com/docs/integrations/tools/exa_search
File System https://python.langchain.com/docs/integrations/tools/filesystem
Golden Query https://python.langchain.com/docs/integrations/tools/golden_query
Google Cloud Text-to-Speech https://python.langchain.com/docs/integrations/tools/google_cloud_texttospeech
Google Drive https://python.langchain.com/docs/integrations/tools/google_drive
Google Finance https://python.langchain.com/docs/integrations/tools/google_finance
Google Jobs https://python.langchain.com/docs/integrations/tools/google_jobs
Google Lens https://python.langchain.com/docs/integrations/tools/google_lens
Google Places https://python.langchain.com/docs/integrations/tools/google_places
Google Scholar https://python.langchain.com/docs/integrations/tools/google_scholar
Google Search https://python.langchain.com/docs/integrations/tools/google_search
Google Serper https://python.langchain.com/docs/integrations/tools/google_serper
Google Trends https://python.langchain.com/docs/integrations/tools/google_trends
Gradio https://python.langchain.com/docs/integrations/tools/gradio_tools
GraphQL https://python.langchain.com/docs/integrations/tools/graphql
HuggingFace Hub Tools https://python.langchain.com/docs/integrations/tools/huggingface_tools
Human as a tool https://python.langchain.com/docs/integrations/tools/human_tools
IFTTT WebHooks https://python.langchain.com/docs/integrations/tools/ifttt
Ionic Shopping Tool https://python.langchain.com/docs/integrations/tools/ionic_shopping
Lemon Agent https://python.langchain.com/docs/integrations/tools/lemonai
Memorize https://python.langchain.com/docs/integrations/tools/memorize
Nuclia Understanding https://python.langchain.com/docs/integrations/tools/nuclia
OpenWeatherMap https://python.langchain.com/docs/integrations/tools/openweathermap
Polygon Stock Market API https://python.langchain.com/docs/integrations/tools/polygon
PubMed https://python.langchain.com/docs/integrations/tools/pubmed
Python REPL https://python.langchain.com/docs/integrations/tools/python
Reddit Search https://python.langchain.com/docs/integrations/tools/reddit_search
Requests https://python.langchain.com/docs/integrations/tools/requests
SceneXplain https://python.langchain.com/docs/integrations/tools/sceneXplain
Search Tools https://python.langchain.com/docs/integrations/tools/search_tools
SearchApi https://python.langchain.com/docs/integrations/tools/searchapi
SearxNG Search https://python.langchain.com/docs/integrations/tools/searx_search
Semantic Scholar API tool https://python.langchain.com/docs/integrations/tools/semanticscholar
SerpAPI https://python.langchain.com/docs/integrations/tools/serpapi
StackExchange https://python.langchain.com/docs/integrations/tools/stackexchange
Tavily Search https://python.langchain.com/docs/integrations/tools/tavily_search
Twilio https://python.langchain.com/docs/integrations/tools/twilio
Wikidata https://python.langchain.com/docs/integrations/tools/wikidata
Wikipedia https://python.langchain.com/docs/integrations/tools/wikipedia
Wolfram Alpha https://python.langchain.com/docs/integrations/tools/wolfram_alpha
Yahoo Finance News https://python.langchain.com/docs/integrations/tools/yahoo_finance_news
Youtube https://python.langchain.com/docs/integrations/tools/youtube
Zapier Natural Language Actions https://python.langchain.com/docs/integrations/tools/zapier

References

  1. ^ "Release 0.1.16". 11 April 2024. Retrieved 23 April 2024.
  2. ^ Buniatyan, Davit (2023). "Code Understanding Using LangChain". Activeloop.
  3. ^ Auffarth, Ben (2023). Generative AI with LangChain. Birmingham: Packt Publishing. p. 83. ISBN 9781835083468.
  4. ^ Palazzolo, Stephanie (2023-04-13). "AI startup LangChain taps Sequoia to lead funding round at a valuation of at least $200 million". Business Insider. Archived from the original on 2023-04-18. Retrieved 2023-04-18.
  5. ^ Griffith, Erin; Metz, Cade (2023-03-14). "'Let 1,000 Flowers Bloom': A.I. Funding Frenzy Escalates". The New York Times. ISSN 0362-4331. Archived from the original on 2023-04-18. Retrieved 2023-04-18.
  6. ^ "Introducing LangServe, the best way to deploy your LangChains". LangChain Blog. 2023-10-12. Retrieved 2023-10-17.
  7. ^ "Chatbots | 🦜️🔗 Langchain". python.langchain.com. Retrieved 2023-11-26.
  8. ^ "Retrieval-augmented generation (RAG) | 🦜️🔗 Langchain". python.langchain.com. Retrieved 2023-11-26.
  9. ^ "Summarization | 🦜️🔗 Langchain". python.langchain.com. Retrieved 2023-11-26.
  10. ^ "Synthetic data generation | 🦜️🔗 Langchain". python.langchain.com. Retrieved 2023-11-26.
  11. ^ "Milvus — LangChain". python.langchain.com. Retrieved 2023-10-29.
  12. ^ "Weaviate". python.langchain.com. Retrieved 2024-01-17.
  13. ^ Hug, Daniel Patrick (2023-03-08). "Hierarchical topic tree of LangChain's integrations" (PDF). GitHub. Archived from the original on 2023-04-29. Retrieved 2023-04-18.
  14. ^ "Document Loaders — LangChain 0.0.142". python.langchain.com. Archived from the original on 2023-04-18. Retrieved 2023-04-18.