From 3b2a9298a344a7497b9423b7956b6885583b4d55 Mon Sep 17 00:00:00 2001 From: Omar Santos Date: Thu, 21 Nov 2024 07:46:01 -0500 Subject: [PATCH] Update README.md --- ai_research/LangChain/README.md | 103 ++++++++++++++++---------------- 1 file changed, 52 insertions(+), 51 deletions(-) diff --git a/ai_research/LangChain/README.md b/ai_research/LangChain/README.md index 6308ec4..641ef67 100644 --- a/ai_research/LangChain/README.md +++ b/ai_research/LangChain/README.md @@ -1,25 +1,26 @@ -# Langchain Resources -This section includes several resources and examples of using LangChain. +# LangChain Resources +This section includes several resources and examples of using LangChain. I also teach a "RAG for Cybersecurity" course in O'Reilly where I have many additional step-by-step examples at: https://github.com/santosomar/RAG-for-cybersecurity -## Langchain Smith and Cookbook -- [Langchain Smith](https://smith.langchain.com/hub?organizationId=1efeb0d9-eab7-54d7-bfd6-22070d7756de): a unified developer platform for building, testing, and monitoring LLM applications. -- [Chat Langchain](https://chat.langchain.com/): Ask me anything about LangChain's Python documentation! -- [Langchain Cookbook](https://github.com/langchain-ai/langchain/tree/master/cookbook): The cookbook examples, etc. +## LangChain Smith and Cookbook +- [LangChain Smith](https://smith.LangChain.com/hub?organizationId=1efeb0d9-eab7-54d7-bfd6-22070d7756de): a unified developer platform for building, testing, and monitoring LLM applications. +- [Chat LangChain](https://chat.LangChain.com/): Ask me anything about LangChain's Python documentation! +- [LangChain Cookbook](https://github.com/LangChain-ai/LangChain/tree/master/cookbook): The cookbook examples, etc. +- [LangGraph Documentation](https://LangChain-ai.github.io/langgraph/) -## LangChain Framework +## LangChain Framework Repositories and Additional References -- [LangChain](https://github.com/hwchase17/langchain): the original 🐍 Python implementation -- [LangChain.js](https://github.com/hwchase17/langchainjs): the js brother +- [LangChain](https://github.com/LangChain-ai/LangChain): the original 🐍 Python implementation +- [LangChain.js](https://github.com/hwchase17/LangChainjs): the js brother - [Youtube Channel](https://www.youtube.com/channel/UCC-lyoTfSrcJzA1ab3APAgw) - [Discord](https://discord.gg/6adMQxSpJS): discussion -- [Langchain Blog](https://blog.langchain.dev/): The Official Langchain blog -- [LangChainHub](https://github.com/hwchase17/langchain-hub): collection of all artifacts useful for working with LangChain primitives such as prompts, chains and agents -- [LangServe](https://github.com/langchain-ai/langserve): LangServe helps developers deploy LangChain runnables and chains as a REST API. +- [LangChain Blog](https://blog.LangChain.dev/): The Official LangChain blog +- [LangChainHub](https://github.com/hwchase17/LangChain-hub): collection of all artifacts useful for working with LangChain primitives such as prompts, chains and agents +- [LangServe](https://github.com/LangChain-ai/langserve): LangServe helps developers deploy LangChain runnables and chains as a REST API. ## Highly Abstracted Tools -- [Flowise](https://github.com/FlowiseAI/Flowise): Drag & drop UI to build your customized LLM flow using LangchainJS +- [Flowise](https://github.com/FlowiseAI/Flowise): Drag & drop UI to build your customized LLM flow using LangChainJS - [Langflow](https://github.com/logspace-ai/langflow): LangFlow is a UI for LangChain ### Services @@ -27,41 +28,41 @@ This section includes several resources and examples of using LangChain. - [GPTCache](https://github.com/zilliztech/GPTCache): A Library for Creating Semantic Cache for LLM Queries - [Gorilla](https://github.com/ShishirPatil/gorilla): An API store for LLMs - [LlamaHub](https://github.com/emptycrown/llama-hub): a library of data loaders for LLMs made by the community -- [EVAL](https://github.com/corca-ai/EVAL): Elastic Versatile Agent with Langchain. will execute all your requests. -- [Auto-evaluator](https://github.com/PineappleExpress808/auto-evaluator): a lightweight evaluation tool for question-answering using Langchain -- [Langchain visualizer](https://github.com/amosjyng/langchain-visualizer): visualization and debugging tool for LangChain workflows +- [EVAL](https://github.com/corca-ai/EVAL): Elastic Versatile Agent with LangChain. will execute all your requests. +- [Auto-evaluator](https://github.com/PineappleExpress808/auto-evaluator): a lightweight evaluation tool for question-answering using LangChain +- [LangChain visualizer](https://github.com/amosjyng/LangChain-visualizer): visualization and debugging tool for LangChain workflows - [LLM Strategy](https://github.com/BlackHC/llm-strategy): implementing the Strategy Pattern using LLMs - [datasetGPT](https://github.com/radi-cho/datasetGPT): A command-line interface to generate textual and conversational datasets with LLMs. - [spellbook-forge](https://github.com/rafalzawadzki/spellbook-forge): Make your LLM prompts executable and version controlled. -- [Auto Evaluator](https://github.com/langchain-ai/auto-evaluator): Langchain auto evaluator -- [Jina](https://github.com/jina-ai/langchain-serve): Langchain Apps on Production with Jina +- [Auto Evaluator](https://github.com/LangChain-ai/auto-evaluator): LangChain auto evaluator +- [Jina](https://github.com/jina-ai/LangChain-serve): LangChain Apps on Production with Jina - [Gradio Tools](https://github.com/freddyaboulton/gradio-tools): Gradio 🤝 LLM Agents -- [steamship-langchain](https://github.com/steamship-core/steamship-langchain): adapters for Steamship, enabling LangChain developers to rapidly deploy their apps on Steamship 🐍 +- [steamship-LangChain](https://github.com/steamship-core/steamship-LangChain): adapters for Steamship, enabling LangChain developers to rapidly deploy their apps on Steamship 🐍 - [LangForge](https://github.com/mme/langforge): A Toolkit for Creating and Deploying LangChain Apps - [BentoChain](https://github.com/ssheng/BentoChain): LangChain Deployment on BentoML - [LangCorn](https://github.com/msoedov/langcorn): Serving LangChain apps automagically with FastApi -- [Langchain Service](https://github.com/kyrolabs/langchain-service): Opinionated Langchain setup with Qdrant vector store and Kong gateway +- [LangChain Service](https://github.com/kyrolabs/LangChain-service): Opinionated LangChain setup with Qdrant vector store and Kong gateway - [Lanarky](https://github.com/ajndkr/lanarky): 🚢 Ship production-ready LLM projects with FastAPI - [Dify](https://github.com/langgenius/dify): One API for plugins and datasets, one interface for prompt engineering and visual operation, all for creating powerful AI applications. -- [LangchainJS Worker](https://github.com/rickyrobinett/langchainjs-workers): LangchainJS worker on cloudflare +- [LangChainJS Worker](https://github.com/rickyrobinett/LangChainjs-workers): LangChainJS worker on cloudflare - [Chainlit](https://github.com/Chainlit/chainlit): Build Python LLM apps in minutes ⚡️ - [Psychic](https://github.com/psychic-api/psychic): Universal APIs for unstructured data. Sync documents from SaaS tools to a SQL or vector database, where they can be easily queried by AI applications like ChatGPT. - [Zep](https://github.com/getzep/zep): Zep: A long-term memory store for LLM / Chatbot applications -- [Langchain Decorators](https://github.com/ju-bezdek/langchain-decorators): a layer on the top op LangChain that provides syntactic sugar 🍭 for writing custom langchain prompts and chains -- [FastAPI + Chroma](https://github.com/experienced-dev/chatgpt-plugin-fastapi-langchain-chroma): An Example Plugin for ChatGPT, Utilizing FastAPI, LangChain and Chroma -- [AilingBot](https://github.com/ericzhang-cn/ailingbot): Quickly integrate applications built on Langchain into IM such as Slack, WeChat Work, Feishu, DingTalk. +- [LangChain Decorators](https://github.com/ju-bezdek/LangChain-decorators): a layer on the top op LangChain that provides syntactic sugar 🍭 for writing custom LangChain prompts and chains +- [FastAPI + Chroma](https://github.com/experienced-dev/chatgpt-plugin-fastapi-LangChain-chroma): An Example Plugin for ChatGPT, Utilizing FastAPI, LangChain and Chroma +- [AilingBot](https://github.com/ericzhang-cn/ailingbot): Quickly integrate applications built on LangChain into IM such as Slack, WeChat Work, Feishu, DingTalk. - [Llama2 Embedding Server](https://github.com/Dicklesworthstone/llama_embeddings_fastapi_service): Llama2 Embeddings FastAPI Service using LangChain ### Agents - [Private GPT](https://github.com/imartinez/privateGPT): Interact privately with your documents using the power of GPT, 100% privately, no data leaks - [CollosalAI Chat](https://github.com/hpcaitech/ColossalAI/tree/main/applications/Chat): implement LLM with RLHF, powered by the Colossal-AI project -- [AgentGPT](https://github.com/reworkd/AgentGPT): AI Agents with Langchain & OpenAI (Vercel / Nextjs) +- [AgentGPT](https://github.com/reworkd/AgentGPT): AI Agents with LangChain & OpenAI (Vercel / Nextjs) - [Local GPT](https://github.com/PromtEngineer/localGPT): Inspired on Private GPT with the GPT4ALL model replaced with the Vicuna-7B model and using the InstructorEmbeddings instead of LlamaEmbeddings - [GPT Researcher](https://github.com/assafelovic/gpt-researcher): GPT Researcher is an autonomous agent designed for comprehensive online research on a variety of tasks. - [ThinkGPT](https://github.com/alaeddine-13/thinkgpt): Agent techniques to augment your LLM and push it beyond its limits - [Camel-AutoGPT](https://github.com/SamurAIGPT/Camel-AutoGPT): role-playing approach for LLMs and auto-agents like BabyAGI & AutoGPT -- [RasaGPT](https://github.com/paulpierre/RasaGPT): RasaGPT is the first headless LLM chatbot platform built on top of Rasa and Langchain. +- [RasaGPT](https://github.com/paulpierre/RasaGPT): RasaGPT is the first headless LLM chatbot platform built on top of Rasa and LangChain. - [SkyAGI](https://github.com/litanlitudan/skyagi): Emerging human-behavior simulation capability in LLM agents - [PyCodeAGI](https://github.com/chakkaradeep/pyCodeAGI): A small AGI experiment to generate a Python app given what app the user wants to build - [BabyAGI UI](https://github.com/miurla/babyagi-ui): Make it easier to run and develop with babyagi in a web app, like a ChatGPT @@ -69,8 +70,8 @@ This section includes several resources and examples of using LangChain. - [Voyager](https://github.com/MineDojo/Voyager): An Open-Ended Embodied Agent with Large Language Models - [ix](https://github.com/kreneskyp/ix): Autonomous GPT-4 agent platform - [DuetGPT](https://github.com/kristoferlund/duet-gpt): A conversational semi-autonomous developer assistant, AI pair programming without the copypasta. -- [Multi-Modal LangChain agents in Production](https://github.com/steamship-packages/langchain-agent-production-starter): Deploy LangChain Agents and connect them to Telegram -- [DemoGPT](https://github.com/melih-unsal/DemoGPT): DemoGPT enables you to create quick demos by just using prompt. It applies ToT approach on Langchain documentation tree. +- [Multi-Modal LangChain agents in Production](https://github.com/steamship-packages/LangChain-agent-production-starter): Deploy LangChain Agents and connect them to Telegram +- [DemoGPT](https://github.com/melih-unsal/DemoGPT): DemoGPT enables you to create quick demos by just using prompt. It applies ToT approach on LangChain documentation tree. - [SuperAGI](https://github.com/TransformerOptimus/SuperAGI): SuperAGI - A dev-first open source autonomous AI agent framework - [Autonomous HR Chatbot](https://github.com/stepanogil/autonomous-hr-chatbot): An autonomous agent that can answer HR related queries autonomously using the tools it has on hand - [BlockAGI](https://github.com/blockpipe/blockagi): BlockAGI conducts iterative, domain-specific research, and outputs detailed narrative reports to showcase its findings @@ -79,11 +80,11 @@ This section includes several resources and examples of using LangChain. ### Templates - [AI](https://github.com/vercel-labs/ai): Vercel template to build AI-powered applications with React, Svelte, and Vue, fist class support for LangChain -- [create-t3-turbo-ai](https://github.com/zckly/create-t3-turbo-ai): t3 based, Langchain-friendly boilerplate for building type-safe, full-stack, LLM-powered web apps with Nextjs and Prisma +- [create-t3-turbo-ai](https://github.com/zckly/create-t3-turbo-ai): t3 based, LangChain-friendly boilerplate for building type-safe, full-stack, LLM-powered web apps with Nextjs and Prisma - [LangChain.js LLM Template](https://github.com/Conner1115/LangChain.js-LLM-Template): LangChain LLM template that allows you to train your own custom AI LLM model. -- [Streamlit Template](https://github.com/hwchase17/langchain-streamlit-template): template for how to deploy a LangChain on Streamlit -- [Codespaces Template](https://github.com/lostintangent/codespaces-langchain): a Codespaces template for getting up-and-running with LangChain in seconds! -- [Gradio Template](https://github.com/hwchase17/langchain-gradio-template): template for how to deploy a LangChain on Gradio +- [Streamlit Template](https://github.com/hwchase17/LangChain-streamlit-template): template for how to deploy a LangChain on Streamlit +- [Codespaces Template](https://github.com/lostintangent/codespaces-LangChain): a Codespaces template for getting up-and-running with LangChain in seconds! +- [Gradio Template](https://github.com/hwchase17/LangChain-gradio-template): template for how to deploy a LangChain on Gradio - [AI Getting Started](https://github.com/a16z-infra/ai-getting-started): A Javascript AI getting started stack for weekend projects, including image/text models, vector stores, auth, and deployment configs - [Embedchain](https://github.com/embedchain/embedchain): Framework to easily create LLM powered bots over any dataset. @@ -116,27 +117,27 @@ This section includes several resources and examples of using LangChain. - [DB GPT](https://github.com/csunny/DB-GPT): Interact your data and environment using the local GPT, no data leaks, 100% privately, 100% security - [AudioGPT](https://github.com/AIGC-Audio/AudioGPT): Understanding and Generating Speech, Music, Sound, and Talking Head - [Paper QA](https://github.com/whitead/paper-qa): LLM Chain for answering questions from documents with citations -- [Chat Langchain](https://github.com/hwchase17/chat-langchain): locally hosted chatbot specifically focused on question answering over the LangChain documentation -- [Langchain Chat](https://github.com/zahidkhawaja/langchain-chat-nextjs): another Next.js frontend for LangChain Chat. +- [Chat LangChain](https://github.com/hwchase17/chat-LangChain): locally hosted chatbot specifically focused on question answering over the LangChain documentation +- [LangChain Chat](https://github.com/zahidkhawaja/LangChain-chat-nextjs): another Next.js frontend for LangChain Chat. - [Book GPT](https://github.com/fraserxu/book-gpt): drop a book, start asking question. -- [Chat LangchainJS](https://github.com/sullivan-sean/chat-langchainjs): NextJS version of Chat Langchain +- [Chat LangChainJS](https://github.com/sullivan-sean/chat-LangChainjs): NextJS version of Chat LangChain - [Doc Search](https://github.com/namuan/dr-doc-search): converse with book - Built with GPT-3 -- [Fact Checker](https://github.com/jagilley/fact-checker): fact-checking LLM outputs with langchain +- [Fact Checker](https://github.com/jagilley/fact-checker): fact-checking LLM outputs with LangChain - [MM ReAct](https://github.com/microsoft/MM-REACT): Multi Modal ReAct Design -- [QABot](https://github.com/hardbyte/qabot): Query local or remote files or databases with natural language queries powered by langchain and openai +- [QABot](https://github.com/hardbyte/qabot): Query local or remote files or databases with natural language queries powered by LangChain and openai - [GPT Automator](https://github.com/chidiwilliams/GPT-Automator): Your voice-controlled Mac assistant. -- [Teams LangchainJS](https://github.com/SidU/teams-langchain-js): Demonstration of LangChainJS with Teams / Bot Framework bots -- [ChatGPT](https://github.com/biff-ai/chatgpt-langchainjs-example): ChatGPT & langchain example for node.js & Docker +- [Teams LangChainJS](https://github.com/SidU/teams-LangChain-js): Demonstration of LangChainJS with Teams / Bot Framework bots +- [ChatGPT](https://github.com/biff-ai/chatgpt-LangChainjs-example): ChatGPT & LangChain example for node.js & Docker - [FlowGPT](https://github.com/nilooy/flowgpt): Generate diagram with AI -- [langchain-text-summarizer](https://github.com/alphasecio/langchain-text-summarizer): A sample streamlit application summarizing text using LangChain -- [Langchain Chat Websocket](https://github.com/pors/langchain-chat-websockets): About LangChain LLM chat with streaming response over websockets -- [langchain_yt_tools](https://github.com/venuv/langchain_yt_tools): Langchain tools to search/extract/transcribe text transcripts of Youtube videos +- [LangChain-text-summarizer](https://github.com/alphasecio/LangChain-text-summarizer): A sample streamlit application summarizing text using LangChain +- [LangChain Chat Websocket](https://github.com/pors/LangChain-chat-websockets): About LangChain LLM chat with streaming response over websockets +- [LangChain_yt_tools](https://github.com/venuv/LangChain_yt_tools): LangChain tools to search/extract/transcribe text transcripts of Youtube videos - [SmartPilot](https://github.com/jaredkirby/SmartPilot): A Python program leveraging OpenAI's language models to generate, analyze, and select the best answer to a given question - [Howdol](https://github.com/bborn/howdoi.ai): a helpful chatbot that can answer questions - [MrsStax](https://github.com/normandmickey/MrsStax): QA Slack Bot - [ThoughtSource⚡](https://github.com/OpenBioLink/ThoughtSource): A framework for the science of machine thinking -- [ChatGPT Langchain](https://huggingface.co/spaces/JavaFXpert/Chat-GPT-LangChain): ChatGPT clone using langchain on Huggingface -- [Chat Math Techniques](https://huggingface.co/spaces/JavaFXpert/gpt-math-techniques): langchain chat with math techniques on Huggingface +- [ChatGPT LangChain](https://huggingface.co/spaces/JavaFXpert/Chat-GPT-LangChain): ChatGPT clone using LangChain on Huggingface +- [Chat Math Techniques](https://huggingface.co/spaces/JavaFXpert/gpt-math-techniques): LangChain chat with math techniques on Huggingface - [Notion QA](https://github.com/hwchase17/notion-qa): Notion Question-Answering Bot - [QNimGPT](https://huggingface.co/spaces/rituthombre/QNim): Play Nim against an IBM Quantum Computer simulator or OpenAI GPT-3.5 - [ChatPDF](https://github.com/akshata29/chatpdf): ChatGPT + Enterprise data with Azure OpenAI @@ -148,9 +149,9 @@ This section includes several resources and examples of using LangChain. - [Cheshire Cat](https://github.com/cheshire-cat-ai/core): Custom AGI boT with ready-to-use chat integration and plugins development platform. - [Got Chaat Bot](https://github.com/parker84/GoT-chat-bot): Repo for creating GoT Chatbots (ex: talk with Tyrion Lannister) - [Dialoqbase](https://github.com/n4ze3m/dialoqbase): web application that allows you to create custom chatbots with your own knowledge base -- [CSV-AI 🧠](https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/snowflake.html): CSV-AI is the ultimate app powered by LangChain that allows you to unlock hidden insights in your CSV files. +- [CSV-AI 🧠](https://python.LangChain.com/en/latest/modules/indexes/document_loaders/examples/snowflake.html): CSV-AI is the ultimate app powered by LangChain that allows you to unlock hidden insights in your CSV files. - [MindGeniusAI](https://github.com/xianjianlf2/MindGeniusAI): Auto generate MindMap with ChatGPT -- [Robby-Chatbot](https://github.com/yvann-hub/Robby-chatbot): AI chatbot 🤖 for chat with CSV, PDF, TXT files 📄 and YTB videos 🎥 | using Langchain🦜 | OpenAI | Streamlit ⚡. +- [Robby-Chatbot](https://github.com/yvann-hub/Robby-chatbot): AI chatbot 🤖 for chat with CSV, PDF, TXT files 📄 and YTB videos 🎥 | using LangChain🦜 | OpenAI | Streamlit ⚡. - [AI Chatbot](https://github.com/vercel-labs/ai-chatbot): A full-featured, hackable Next.js AI chatbot built by Vercel Labs - [Instrukt](https://github.com/blob42/Instrukt): A fully-fledged AI environment in the terminal. Build, test and instruct agents. - [OpenChat](https://github.com/openchatai/OpenChat/): LLMs custom-chatbots console ⚡. @@ -161,24 +162,24 @@ This section includes several resources and examples of using LangChain. - [Autonomous HR Chatbot](https://github.com/stepanogil/autonomous-hr-chatbot) An autonomous HR agent that can answer user queries using tools - [Lobe Chat](https://github.com/lobehub/lobe-chat) An open-source, extensible (Function Calling), high-performance chatbot framework - [Funcchain](https://github.com/shroominic/funcchain): write prompts, pythonic -- [PersonalityChatbot](https://github.com/btrcm00/chatbot-with-langchain): Langchain chatbot for chat with personality using Langchain🦜 | LangSmith | MongoDB. +- [PersonalityChatbot](https://github.com/btrcm00/chatbot-with-LangChain): LangChain chatbot for chat with personality using LangChain🦜 | LangSmith | MongoDB. ## Learn ### Notebooks -- [Langchain Tutorials](https://github.com/gkamradt/langchain-tutorials): overview and tutorial of the LangChain Library +- [LangChain Tutorials](https://github.com/gkamradt/LangChain-tutorials): overview and tutorial of the LangChain Library - [LangChain Chinese Getting Started Guide](https://github.com/liaokongVFX/LangChain-Chinese-Getting-Started-Guide): Chinese LangChain Tutorial for Beginners - [Flan5 LLM](https://colab.research.google.com/drive/1AVh9dOsG9DKzfK7gOFrJuitPIcLPqlbO?usp=sharing): PDF QA using LangChain for chain of thought and multi-task instructions, Flan5 on HuggingFace -- [LangChain Handbook](https://github.com/pinecone-io/examples/tree/master/generation/langchain/handbook): Pinecone / James Briggs' LangChain handbook +- [LangChain Handbook](https://github.com/pinecone-io/examples/tree/master/generation/LangChain/handbook): Pinecone / James Briggs' LangChain handbook - [Query the YouTube video transcripts](https://colab.research.google.com/drive/1sKSTjt9cPstl_WMZ86JsgEqFG-aSAwkn?usp=sharing): Query the YouTube video transcripts, returning timestamps as sources to legitimize the answers - [llm-lobbyist](https://github.com/JohnNay/llm-lobbyist): Large Language Models as Corporate Lobbyists -- [Langchain Semantic Search](https://github.com/venuv/langchain_semantic_search): Search and indexing your own Google Drive Files using GPT3, LangChain, and Python +- [LangChain Semantic Search](https://github.com/venuv/LangChain_semantic_search): Search and indexing your own Google Drive Files using GPT3, LangChain, and Python - [GPT Political Compass](https://colab.research.google.com/drive/1xt2IsFPGYMEQdoJFNgWNAjWGxa60VXdV) - [llm-grovers-search-party](https://github.com/JavaFXpert/llm-grovers-search-party): Leveraging Qiskit, OpenAI and LangChain to demonstrate Grover's algorithm - [TextWorld ReAct Agent](https://colab.research.google.com/drive/19WTIWC3prw5LDMHmRMvqNV2loD9FHls6?usp=sharing) - [LangChain <> Wolfram Alpha](https://colab.research.google.com/drive/1AAyEdTz-Z6ShKvewbt1ZHUICqak0MiwR?usp=sharing) -- [BYO Knowledge Graph](https://github.com/prof-frink-lab/slangchain/blob/main/docs/modules/knowledge_graph/examples/byo_knowledge_graph.ipynb) +- [BYO Knowledge Graph](https://github.com/prof-frink-lab/sLangChain/blob/main/docs/modules/knowledge_graph/examples/byo_knowledge_graph.ipynb) - [Large Language Models Course](https://github.com/peremartra/Large-Language-Model-Notebooks-Course) ### Videos Playlists