mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-03 14:18:03 +00:00
Big docs refactor! Motivation is to make it easier for people to find resources they are looking for. To accomplish this, there are now three main sections: - Getting Started: steps for getting started, walking through most core functionality - Modules: these are different modules of functionality that langchain provides. Each part here has a "getting started", "how to", "key concepts" and "reference" section (except in a few select cases where it didnt easily fit). - Use Cases: this is to separate use cases (like summarization, question answering, evaluation, etc) from the modules, and provide a different entry point to the code base. There is also a full reference section, as well as extra resources (glossary, gallery, etc) Co-authored-by: Shreya Rajpal <ShreyaR@users.noreply.github.com>
212 lines
6.2 KiB
ReStructuredText
212 lines
6.2 KiB
ReStructuredText
LangChain Gallery
|
||
=============
|
||
|
||
Lots of people have built some pretty awesome stuff with LangChain.
|
||
This is a collection of our favorites.
|
||
If you see any other demos that you think we should highlight, be sure to let us know!
|
||
|
||
|
||
Open Source
|
||
-----------
|
||
|
||
.. panels::
|
||
:body: text-center
|
||
|
||
---
|
||
|
||
.. link-button:: https://github.com/bborn/howdoi.ai
|
||
:type: url
|
||
:text: HowDoI.ai
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
This is an experiment in building a large-language-model-backed chatbot. It can hold a conversation, remember previous comments/questions,
|
||
and answer all types of queries (history, web search, movie data, weather, news, and more).
|
||
|
||
---
|
||
|
||
.. link-button:: https://colab.research.google.com/drive/1sKSTjt9cPstl_WMZ86JsgEqFG-aSAwkn?usp=sharing
|
||
:type: url
|
||
:text: YouTube Transcription QA with Sources
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
An end-to-end example of doing question answering on YouTube transcripts, returning the timestamps as sources to legitimize the answer.
|
||
|
||
---
|
||
|
||
.. link-button:: https://github.com/OpenBioLink/ThoughtSource
|
||
:type: url
|
||
:text: ThoughtSource
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
A central, open resource and community around data and tools related to chain-of-thought reasoning in large language models.
|
||
|
||
---
|
||
|
||
.. link-button:: https://github.com/blackhc/llm-strategy
|
||
:type: url
|
||
:text: LLM Strategy
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
This Python package adds a decorator llm_strategy that connects to an LLM (such as OpenAI’s GPT-3) and uses the LLM to "implement" abstract methods in interface classes. It does this by forwarding requests to the LLM and converting the responses back to Python data using Python's @dataclasses.
|
||
|
||
---
|
||
|
||
.. link-button:: https://github.com/JohnNay/gpt-lawyer/blob/main/notebooks/gpt_corporate_lobbying_zero_shot.ipynb
|
||
:type: url
|
||
:text: Zero-Shot Corporate Lobbyist
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
A notebook showing how to use GPT to help with the work of a corporate lobbyist.
|
||
|
||
---
|
||
|
||
.. link-button:: https://huggingface.co/spaces/JavaFXpert/gpt-math-techniques
|
||
:type: url
|
||
:text: GPT Math Techniques
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
A Hugging Face spaces project showing off the benefits of using PAL for math problems.
|
||
|
||
---
|
||
|
||
.. link-button:: https://colab.research.google.com/drive/1xt2IsFPGYMEQdoJFNgWNAjWGxa60VXdV
|
||
:type: url
|
||
:text: GPT Political Compass
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
Measure the political compass of GPT.
|
||
|
||
---
|
||
|
||
.. link-button:: https://github.com/hwchase17/notion-qa
|
||
:type: url
|
||
:text: Notion Database Question-Answering Bot
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
Open source GitHub project shows how to use LangChain to create a chatbot that can answer questions about an arbitrary Notion database.
|
||
|
||
---
|
||
|
||
.. link-button:: https://github.com/jerryjliu/gpt_index
|
||
:type: url
|
||
:text: GPT Index
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
GPT Index is a project consisting of a set of data structures that are created using GPT-3 and can be traversed using GPT-3 in order to answer queries.
|
||
|
||
---
|
||
|
||
.. link-button:: https://github.com/JavaFXpert/llm-grovers-search-party
|
||
:type: url
|
||
:text: Grover's Algorithm
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
Leveraging Qiskit, OpenAI and LangChain to demonstrate Grover's algorithm
|
||
|
||
---
|
||
|
||
.. link-button:: https://colab.research.google.com/drive/19WTIWC3prw5LDMHmRMvqNV2loD9FHls6?usp=sharing
|
||
:type: url
|
||
:text: ReAct TextWorld
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
Leveraging the ReActTextWorldAgent to play TextWorld with an LLM!
|
||
|
||
---
|
||
|
||
.. link-button:: https://github.com/jagilley/fact-checker
|
||
:type: url
|
||
:text: Fact Checker
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
This repo is a simple demonstration of using LangChain to do fact-checking with prompt chaining.
|
||
|
||
|
||
Proprietary
|
||
-----------
|
||
|
||
.. panels::
|
||
:body: text-center
|
||
|
||
---
|
||
|
||
.. link-button:: https://twitter.com/sjwhitmore/status/1580593217153531908?s=20&t=neQvtZZTlp623U3LZwz3bQ
|
||
:type: url
|
||
:text: Daimon
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
A chat-based AI personal assistant with long-term memory about you.
|
||
|
||
---
|
||
|
||
.. link-button:: https://twitter.com/dory111111/status/1608406234646052870?s=20&t=XYlrbKM0ornJsrtGa0br-g
|
||
:type: url
|
||
:text: AI Assisted SQL Query Generator
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
An app to write SQL using natural language, and execute against real DB.
|
||
|
||
---
|
||
|
||
.. link-button:: https://twitter.com/krrish_dh/status/1581028925618106368?s=20&t=neQvtZZTlp623U3LZwz3bQ
|
||
:type: url
|
||
:text: Clerkie
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
Stack Tracing QA Bot to help debug complex stack tracing (especially the ones that go multi-function/file deep).
|
||
|
||
---
|
||
|
||
.. link-button:: https://twitter.com/Raza_Habib496/status/1596880140490838017?s=20&t=6MqEQYWfSqmJwsKahjCVOA
|
||
:type: url
|
||
:text: Sales Email Writer
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
By Raza Habib, this demo utilizes LangChain + SerpAPI + HumanLoop to write sales emails. Give it a company name and a person, this application will use Google Search (via SerpAPI) to get more information on the company and the person, and then write them a sales message.
|
||
|
||
---
|
||
|
||
.. link-button:: https://twitter.com/chillzaza_/status/1592961099384905730?s=20&t=EhU8jl0KyCPJ7vE9Rnz-cQ
|
||
:type: url
|
||
:text: Question-Answering on a Web Browser
|
||
:classes: stretched-link btn-lg
|
||
|
||
+++
|
||
|
||
By Zahid Khawaja, this demo utilizes question answering to answer questions about a given website. A followup added this for `YouTube videos <https://twitter.com/chillzaza_/status/1593739682013220865?s=20&t=EhU8jl0KyCPJ7vE9Rnz-cQ>`_, and then another followup added it for `Wikipedia <https://twitter.com/chillzaza_/status/1594847151238037505?s=20&t=EhU8jl0KyCPJ7vE9Rnz-cQ>`_.
|
||
|
||
|
||
|