랑체인
LangChain![]() | |
개발자 | 해리슨 체이스 |
---|---|
최초출시 | 2022년10월 |
안정적인 방출 | 0.1.1[1] / 2024년 1월 16일, 16일 |
저장소 | github.com/langchain-ai/langchain |
작성자 | 파이썬 및 자바스크립트 |
유형 | 대용량 언어모델 응용프로그램 개발을 위한 소프트웨어 프레임워크 |
면허증. | MIT 라이선스 |
웹사이트 | LangChain.com |
LangChain은 큰 언어 모델(LLM)을 사용하여 애플리케이션을 단순화하도록 설계된 프레임워크입니다. 언어 모델 통합 프레임워크로서 LangChain의 사용 사례는 문서 분석 및 요약, 챗봇 및 코드 분석을 포함하여 일반적인 언어 모델의 사례와 크게 겹칩니다.[2]
역사
LangChain은 기계 학습 스타트업인 Robust Intelligence에서 일하는 동안 해리슨 체이스에 의해 오픈 소스 프로젝트로 2022년 10월에 시작되었습니다. 이 프로젝트는 GitHub의 수백 명의 기고자들의 개선,[3] 트위터의 유행하는 토론, 프로젝트의 디스코드 서버에서의 활발한 활동, 많은 유튜브 튜토리얼, 샌프란시스코와 런던에서의 만남 등으로 빠르게 인기를 얻었습니다. 2023년 4월, LangChain은 Benchmark로부터 1천만 달러의 시드 투자를 발표한 지 일주일 만에 벤처 기업 Sequoia Capital로부터 최소 2억 달러의 평가로 2천만 달러 이상의 자금을 조달했습니다.[4][5]
2023년 10월, LangChain은 LCEL(LangChain Expression Language) 프로토타입에서 프로덕션 준비 애플리케이션으로의 전환을 용이하게 하기 위해 설계된 배포 툴인 LangServe를 선보였습니다.[6]
성능
LangChain의 개발자들은 챗봇,[7] 검색 증강 생성,[8] 문서 요약 [9]및 합성 데이터 생성을 포함한 사용 사례에 대한 프레임워크의 적용 가능성을 강조합니다.[10]
2023년 3월 현재, LangChain은 Amazon, Google, Microsoft Azure 클라우드 스토리지, 뉴스, 영화 정보 및 날씨를 위한 API 래퍼, 요약, 구문 및 의미론 검사를 위한 Bash를 포함한 시스템과의 통합을 포함하고 있습니다. 셸 스크립트의 실행, 다수의 웹 스크래핑 서브시스템 및 템플릿, 퓨샷 학습 프롬프트 생성 지원, 코드에서 "해야 할" 작업 찾기 및 요약, 구글 드라이브 문서, 스프레드시트 및 프레젠테이션 요약, 추출 및 생성, 구글 검색 및 마이크로소프트 빙 웹 검색, OpenAI, 인류학, 그리고 Hugging Face 언어 모델; iFixit 수리 가이드 및 위키 검색 및 요약; 질문 답변, 문서 결합 및 질문 생성을 위한 MapReduce; N-gram 중복 점수화; PDF 파일 텍스트 추출 및 조작을 위한 PyPDF, pdfminer, fitz 및 pymupdf; 파이썬 및 자바스크립트 코드 생성, 분석, 그리고 디버깅, 벡터 임베딩을 저장 및 검색하는 Milvus 벡터 데이터베이스[11], 캐시 임베딩 및 데이터 객체에 대한 벡터 데이터베이스의[12] 탐색, Redis 캐시 데이터베이스 스토리지, Python Request Wrapper 및 API 요청을 위한 다른 방법, JSON 지원을 포함한 SQL 및 NoSQL 데이터베이스, Streamlit, 로깅, k-근접 이웃 검색을 위한 텍스트 매핑, 시간대 변환 및 일정관리 작업, 스레드 및 비동기 서브프로세스 실행에서의 스택 심볼 추적 및 기록, 울프램 알파 웹사이트 및 SDK를 포함합니다.[13] 2023년 4월 현재 50개 이상의 문서 유형 및 데이터 소스에서 읽을 수 있습니다.[14]
LangChain 도구
공구명 | 계정이 필요합니까? | API 키가 필요합니까? | 라이센싱 | 묘사 | 특징들 | 설명서 URL |
---|---|---|---|---|---|---|
알파 밴티지 | 아니요. | 네. | 독점적 | 금융 시장 데이터 및 분석 제공 | 재무 데이터, 분석 | https://python.langchain.com/docs/integrations/tools/alpha_vantage |
아피파이 | 아니요. | 네. | 상업의 | 웹 스크래핑 및 자동화 플랫폼 | 웹 스크래핑, 자동화 | https://python.langchain.com/docs/integrations/tools/apify |
아르시브 | 아니요. | 아니요. | 오픈소스 | 과학 논문 및 연구에 대한 접근 | 과학 논문, 연구 | https://python.langchain.com/docs/integrations/tools/arxiv |
AWS 람다 | 네. | 네. | 독점적 | 서버리스 컴퓨팅 서비스 | 서버리스 컴퓨팅 | https://python.langchain.com/docs/integrations/tools/awslambda |
바시 | 아니요. | 아니요. | 오픈소스 | 셸 환경에 대한 액세스 | 셸 환경 접근 | https://python.langchain.com/docs/integrations/tools/bash |
베어리 코드 인터프리터 | 아니요. | 네. | 상업의 | 파이썬 코드의 원격 실행 | 파이썬 코드 실행 | https://python.langchain.com/docs/integrations/tools/bearly |
빙 서치 | 아니요. | 네. | 독점적 | Microsoft Bing에서 구동하는 검색 엔진 | 검색엔진 | https://python.langchain.com/docs/integrations/tools/bing_search |
용감한 탐색 | 아니요. | 아니요. | 오픈소스 | 개인 정보 보호에 중점을 둔 검색 엔진 | 개인정보 보호에 중점을 둔 검색 | https://python.langchain.com/docs/integrations/tools/brave_search |
ChatGPT 플러그인 | 아니요. | 네. | 독점적 | ChatGPT 언어 모델용 플러그인 | ChatGPT 플러그인 | https://python.langchain.com/docs/integrations/tools/chatgpt_plugins |
코네리 | 아니요. | 네. | 상업의 | Connery API를 사용하여 작업을 수행하는 작업 도구 도구 | API 작업 | https://python.langchain.com/docs/integrations/tools/connery |
Dall-E 이미지 생성기 | 아니요. | 네. | 독점적 | Open을 사용한 텍스트 이미지 생성AI의 DALL-E 모델 | 텍스트-이미지 간 생성 | https://python.langchain.com/docs/integrations/tools/dalle_image_generator |
데이터 포 SEO | 아니요. | 네. | 상업의 | SEO 데이터 및 분석 플랫폼 | SEO 데이터, 분석 | https://python.langchain.com/docs/integrations/tools/dataforseo |
오리오리 고서치 | 아니요. | 아니요. | 오픈소스 | 개인 정보 보호에 중점을 둔 검색 엔진 | 검색엔진 | https://python.langchain.com/docs/integrations/tools/ddg |
E2B 데이터 분석 | 아니요. | 아니요. | 오픈소스 | 데이터 분석을 위한 Python 코드 실행을 위한 Sandbox 환경 | 데이터분석환경 | https://python.langchain.com/docs/integrations/tools/e2b_data_analysis |
에덴 AI | 아니요. | 네. | 상업의 | AI 툴 및 API 제품군 | AI 툴, API | https://python.langchain.com/docs/integrations/tools/edenai_tools |
일레븐 랩 텍스트2스피치 | 아니요. | 네. | 상업의 | Eleven Labs의 텍스트 음성 API | 텍스트 음성 변환 | https://python.langchain.com/docs/integrations/tools/eleven_labs_tts |
Exa 검색 | 아니요. | 네. | 상업의 | 검색엔진 | 검색엔진접속 | https://python.langchain.com/docs/integrations/tools/exa_search |
파일 시스템 | 아니요. | 아니요. | 오픈소스 | 로컬 파일 시스템과 상호 작용하는 도구 | 파일 시스템 상호 작용 | https://python.langchain.com/docs/integrations/tools/filesystem |
골든 쿼리 | 아니요. | 네. | 상업의 | 다양한 서비스 조회를 위한 자연어 API | 자연어 질의 | https://python.langchain.com/docs/integrations/tools/golden_query |
구글 클라우드 텍스트 음성 변환 | 네. | 네. | 독점적 | 구글 클라우드의 텍스트 음성 API | 텍스트 음성 변환 | https://python.langchain.com/docs/integrations/tools/google_cloud_texttospeech |
구글 드라이브 | 네. | 네. | 독점적 | Google 드라이브에서 파일 액세스 및 관리 | Google 드라이브 액세스 | https://python.langchain.com/docs/integrations/tools/google_drive |
구글 파이낸스 | 네. | 네. | 독점적 | Google Finance에서 금융 데이터 액세스 | 재무자료 | https://python.langchain.com/docs/integrations/tools/google_finance |
구글잡스 | 네. | 네. | 독점적 | Google Jobs API를 사용하여 작업 목록 검색 | 구인구직 | https://python.langchain.com/docs/integrations/tools/google_jobs |
구글 렌즈 | 네. | 네. | 독점적 | Google에 의한 시각적 검색 및 인식 도구 | 시각검색, 인식 | https://python.langchain.com/docs/integrations/tools/google_lens |
구글 플레이스 | 네. | 네. | 독점적 | 위치 기반 서비스를 위한 Google Places API 액세스 | 위치기반서비스 | https://python.langchain.com/docs/integrations/tools/google_places |
구글 스콜라 | 네. | 네. | 독점적 | Google Scholar API를 사용하여 학술 기사 검색 | 학술논문검색 | https://python.langchain.com/docs/integrations/tools/google_scholar |
구글 검색 | 네. | 네. | 독점적 | 구글에서 구동하는 검색 엔진 | 검색엔진 | https://python.langchain.com/docs/integrations/tools/google_search |
구글 서퍼 | 아니요. | 네. | 상업의 | SERP(Search Engine Results Page) 스크래핑 도구 | SERP 스크래핑 | https://python.langchain.com/docs/integrations/tools/google_serper |
구글 트렌드 | 네. | 네. | 독점적 | Google Trends 데이터 액세스 | 추세자료 | https://python.langchain.com/docs/integrations/tools/google_trends |
그라디오 | 아니요. | 아니요. | 오픈소스 | 기계 학습 모델의 UI를 만들기 위한 라이브러리 | 머신러닝 UI | https://python.langchain.com/docs/integrations/tools/gradio_tools |
그래프QL | 아니요. | 아니요. | 오픈소스 | API에 대한 쿼리 언어 | API 쿼리 | https://python.langchain.com/docs/integrations/tools/graphql |
포옹 페이스 허브 | 아니요. | 아니요. | 오픈소스 | Hugging Face 모델 및 데이터 세트 작업을 위한 도구 | Hugging Face 모델, 데이터 세트 | https://python.langchain.com/docs/integrations/tools/huggingface_tools |
도구로서의 인간 | 아니요. | 아니요. | 해당 없음 | 사람의 입력을 AI를 위한 도구로 사용합니다. | 인풋 | https://python.langchain.com/docs/integrations/tools/human_tools |
IFTTT WebHooks | 아니요. | 네. | 상업의 | 다양한 웹 서비스 연결 및 자동화 | 웹서비스 자동화 | https://python.langchain.com/docs/integrations/tools/ifttt |
아이오닉 쇼핑 | 아니요. | 네. | 상업의 | Ionic API를 사용한 쇼핑 도구 | 쇼핑 | https://python.langchain.com/docs/integrations/tools/ionic_shopping |
레몬 에이전트 | 아니요. | 네. | 상업의 | 레몬 AI 플랫폼과 상호 작용하는 도구 | 레몬 AI 상호작용 | https://python.langchain.com/docs/integrations/tools/lemonai |
외우기 | 아니요. | 아니요. | 오픈소스 | 비지도 학습을 이용한 정보 암기 도구 | 암기 | https://python.langchain.com/docs/integrations/tools/memorize |
핵종 | 아니요. | 네. | 상업의 | Nuclia를 이용한 비정형 데이터 색인화 도구 | 데이터 인덱싱 | https://python.langchain.com/docs/integrations/tools/nuclia |
오픈웨더맵 | 아니요. | 네. | 상업의 | OpenWeatherMap API를 이용한 날씨 데이터 접근 | 기상자료 | https://python.langchain.com/docs/integrations/tools/openweathermap |
폴리곤 주식시장 API | 아니요. | 네. | 상업의 | Polygon API를 이용한 주식시장 데이터 접근 | 주식시장자료 | https://python.langchain.com/docs/integrations/tools/polygon |
펍메드 | 아니요. | 아니요. | 오픈소스 | PubMed API를 이용한 생체의학 문헌 접근 | 생의학 문헌 | https://python.langchain.com/docs/integrations/tools/pubmed |
파이썬 REPL | 아니요. | 아니요. | 오픈소스 | 대화형 파이썬 셸 | 파이썬 쉘 | https://python.langchain.com/docs/integrations/tools/python |
레딧 검색 | 아니요. | 아니요. | 오픈소스 | 레딧에서 콘텐츠 검색 | 레딧검색 | https://python.langchain.com/docs/integrations/tools/reddit_search |
요청한다 | 아니요. | 아니요. | 오픈소스 | 요청을 위한 HTTP 라이브러리 | HTTP 요청 | https://python.langchain.com/docs/integrations/tools/requests |
장면설명 | 아니요. | 아니요. | 오픈소스 | 기계 학습 모델의 예측을 설명하기 위한 도구 | 모형설명 | https://python.langchain.com/docs/integrations/tools/sceneXplain |
서치 | 아니요. | 아니요. | 오픈소스 | 다양한 서비스 검색 및 조회를 위한 도구 모음 | 검색 도구 | https://python.langchain.com/docs/integrations/tools/search_tools |
검색어피 | 아니요. | 네. | 상업의 | 다양한 API 검색 및 조회를 위한 도구 | API 검색 도구 | https://python.langchain.com/docs/integrations/tools/searchapi |
검색 NG | 아니요. | 아니요. | 오픈소스 | 개인정보 보호에 중점을 둔 메타 검색 엔진 검색 | 개인정보 보호에 중점을 둔 검색 | https://python.langchain.com/docs/integrations/tools/searx_search |
시맨틱 스콜라 API | 아니요. | 아니요. | 오픈소스 | Semantic Scholar API를 이용한 학술논문 도구 접근 | 학술논문검색 | https://python.langchain.com/docs/integrations/tools/semanticscholar |
SerpAPI | 아니요. | 네. | 상업의 | SERP(Search Engine Results Page) 스크래핑 도구 | SERP 스크래핑 | https://python.langchain.com/docs/integrations/tools/serpapi |
스택 익스체인지 | 아니요. | 아니요. | 오픈소스 | 스택 Exchange 네트워크 액세스 | Exchange 스택 액세스 | https://python.langchain.com/docs/integrations/tools/stackexchange |
태블리서치 | 아니요. | 네. | 상업의 | 질문에 대한 답을 찾기 위한 검색 엔진 | 질의응답 | https://python.langchain.com/docs/integrations/tools/tavily_search |
트윌리오 | 아니요. | 네. | 상업의 | SMS, 음성 및 비디오를 위한 통신 API | 통신 API | https://python.langchain.com/docs/integrations/tools/twilio |
위키데이터 | 아니요. | 아니요. | 오픈소스 | Wikidata에서 정형화된 데이터에 대한 액세스 | 정형화된 데이터 액세스 | https://python.langchain.com/docs/integrations/tools/wikidata |
위키백과 | 아니요. | 아니요. | 오픈소스 | 위키피디아에서 기사 및 정보 액세스 | 위키백과 접속 | https://python.langchain.com/docs/integrations/tools/wikipedia |
볼프람 알파 | 아니요. | 네. | 독점적 | 전산지식엔진 | 전산지식 | https://python.langchain.com/docs/integrations/tools/wolfram_alpha |
야후 파이낸스 뉴스 | 아니요. | 네. | 상업의 | Yahoo Finance API를 이용한 금융 뉴스 접근 | 금융뉴스 | https://python.langchain.com/docs/integrations/tools/yahoo_finance_news |
유튜브 | 아니요. | 네. | 상업의 | YouTube 데이터 및 기능 액세스 | 유튜브 접속 | https://python.langchain.com/docs/integrations/tools/youtube |
자피어 자연어 동작 | 아니요. | 네. | 상업의 | 워크플로우 자동화를 위한 통합 플랫폼 | 워크플로 자동화 | https://python.langchain.com/docs/integrations/tools/zapier |
참고문헌
- ^ "Release 0.1.1". 16 January 2024. Retrieved 19 January 2024.
- ^ Buniatyan, Davit (2023). "Code Understanding Using LangChain". Activeloop.
- ^ Auffarth, Ben (2023). Generative AI with LangChain. Birmingham: Packt Publishing. p. 83. ISBN 9781835083468.
- ^ 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.
- ^ 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.
- ^ "Introducing LangServe, the best way to deploy your LangChains". LangChain Blog. 2023-10-12. Retrieved 2023-10-17.
- ^ "Chatbots 🦜️🔗 Langchain". python.langchain.com. Retrieved 2023-11-26.
- ^ "Retrieval-augmented generation (RAG) 🦜️🔗 Langchain". python.langchain.com. Retrieved 2023-11-26.
- ^ "Summarization 🦜️🔗 Langchain". python.langchain.com. Retrieved 2023-11-26.
- ^ "Synthetic data generation 🦜️🔗 Langchain". python.langchain.com. Retrieved 2023-11-26.
- ^ "Milvus — LangChain". python.langchain.com. Retrieved 2023-10-29.
- ^ "Weaviate". python.langchain.com. Retrieved 2024-01-17.
- ^ 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.
- ^ "Document Loaders — LangChain 0.0.142". python.langchain.com. Archived from the original on 2023-04-18. Retrieved 2023-04-18.