langchaintest
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.4%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: Kvkthecreator
- License: mit
- Language: Python
- Default Branch: master
- Size: 34.6 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
LangChain
Building applications with LLMs through composability
Looking for the JS/TS version? Check out LangChain.js.
Production Support: As you move your LangChains into production, we'd love to offer more comprehensive support. Please fill out this form and we'll set up a dedicated support Slack channel.
Quick Install
pip install langchain
or
conda install langchain -c conda-forge
What is this?
Large language models (LLMs) are emerging as a transformative technology, enabling developers to build applications that they previously could not. However, using these LLMs in isolation is often insufficient for creating a truly powerful app - the real power comes when you can combine them with other sources of computation or knowledge.
This library aims to assist in the development of those types of applications. Common examples of these applications include:
** Question Answering over specific documents**
- Documentation
- End-to-end Example: Question Answering over Notion Database
** Chatbots**
- Documentation
- End-to-end Example: Chat-LangChain
** Agents**
- Documentation
- End-to-end Example: GPT+WolframAlpha
Documentation
Please see here for full documentation on:
- Getting started (installation, setting up the environment, simple examples)
- How-To examples (demos, integrations, helper functions)
- Reference (full API docs)
- Resources (high-level explanation of core concepts)
What can this help with?
There are six main areas that LangChain is designed to help with. These are, in increasing order of complexity:
** LLMs and Prompts:**
This includes prompt management, prompt optimization, a generic interface for all LLMs, and common utilities for working with LLMs.
** Chains:**
Chains go beyond a single LLM call and involve sequences of calls (whether to an LLM or a different utility). LangChain provides a standard interface for chains, lots of integrations with other tools, and end-to-end chains for common applications.
** Data Augmented Generation:**
Data Augmented Generation involves specific types of chains that first interact with an external data source to fetch data for use in the generation step. Examples include summarization of long pieces of text and question/answering over specific data sources.
** Agents:**
Agents involve an LLM making decisions about which Actions to take, taking that Action, seeing an Observation, and repeating that until done. LangChain provides a standard interface for agents, a selection of agents to choose from, and examples of end-to-end agents.
** Memory:**
Memory refers to persisting state between calls of a chain/agent. LangChain provides a standard interface for memory, a collection of memory implementations, and examples of chains/agents that use memory.
** Evaluation:**
[BETA] Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is using language models themselves to do the evaluation. LangChain provides some prompts/chains for assisting in this.
For more information on these concepts, please see our full documentation.
Contributing
As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.
For detailed information on how to contribute, see here.
Owner
- Login: Kvkthecreator
- Kind: user
- Repositories: 1
- Profile: https://github.com/Kvkthecreator
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Chase" given-names: "Harrison" title: "LangChain" date-released: 2022-10-17 url: "https://github.com/hwchase17/langchain"
GitHub Events
Total
Last Year
Dependencies
- actions/cache v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- ncipollo/release-action v1 composite
- ./.github/actions/poetry_setup * composite
- actions/checkout v3 composite
- builder latest build
- dependencies latest build
- python 3.11.2-bullseye build
- @babel/eslint-parser ^7.18.2 development
- docusaurus-plugin-typedoc next development
- eslint ^8.19.0 development
- eslint-config-airbnb ^19.0.4 development
- eslint-config-prettier ^8.5.0 development
- eslint-plugin-header ^3.1.1 development
- eslint-plugin-import ^2.26.0 development
- eslint-plugin-jsx-a11y ^6.6.0 development
- eslint-plugin-react ^7.30.1 development
- eslint-plugin-react-hooks ^4.6.0 development
- prettier ^2.7.1 development
- typedoc ^0.24.4 development
- typedoc-plugin-markdown next development
- @docusaurus/core 2.4.0
- @docusaurus/preset-classic 2.4.0
- @docusaurus/remark-plugin-npm2yarn ^2.4.0
- @mdx-js/react ^1.6.22
- @mendable/search ^0.0.102
- clsx ^1.2.1
- json-loader ^0.5.7
- process ^0.11.10
- react ^17.0.2
- react-dom ^17.0.2
- typescript ^5.1.3
- webpack ^5.75.0
- autodoc_pydantic ==1.8.0
- myst_nb *
- myst_parser *
- nbdoc *
- nbsphinx ==0.8.9
- pydata-sphinx-theme ==0.13.1
- sphinx ==4.5.0
- sphinx-autobuild ==2021.3.14
- sphinx-panels *
- sphinx-typlog-theme ==0.8.0
- sphinx_copybutton *
- sphinx_rtd_theme ==1.0.0
- sphinx_tabs *
- toml *
- urllib3 <2
- 474 dependencies
- O365 ^2.0.26
- PyYAML >=5.4.1
- SQLAlchemy >=1.4,<3
- aiohttp ^3.8.3
- aleph-alpha-client ^2.15.0
- anthropic ^0.2.6
- arxiv ^1.4
- async-timeout ^4.0.0
- atlassian-python-api ^3.36.0
- awadb ^0.3.3
- azure-ai-formrecognizer ^3.2.1
- azure-ai-vision ^0.11.1b1
- azure-cognitiveservices-speech ^1.28.0
- azure-core ^1.26.4
- azure-cosmos ^4.4.0b1
- azure-identity ^1.12.0
- azure-search-documents 11.4.0a20230509004
- beautifulsoup4 ^4
- bibtexparser ^1.4.0
- chardet ^5.1.0
- clickhouse-connect ^0.5.14
- cohere ^3
- dataclasses-json ^0.5.7
- deeplake ^3.6.2
- docarray ^0.32.0
- duckduckgo-search ^3.8.3
- elasticsearch ^8
- faiss-cpu ^1
- google-api-python-client 2.70.0
- google-auth ^2.18.1
- google-search-results ^2
- gptcache >=0.1.7
- gql ^3.4.1
- html2text ^2020.1.16
- huggingface_hub ^0
- jina ^3.14
- jinja2 ^3
- jq ^1.4.1
- lancedb ^0.1
- langchainplus-sdk >=0.0.13
- langkit >=0.0.1.dev3, <0.1.0
- lark ^1.1.5
- lxml ^4.9.2
- manifest-ml ^0.0.1
- momento ^1.5.0
- nebula3-python ^3.4.0
- neo4j ^5.8.1
- networkx ^2.6.3
- nlpcloud ^1
- nltk ^3
- nomic ^1.0.43
- numexpr ^2.8.4
- numpy ^1
- openai ^0
- openapi-schema-pydantic ^1.2
- openlm ^0.0.5
- opensearch-py ^2.0.0
- pandas ^2.0.1
- pdfminer-six ^20221105
- pexpect ^4.8.0
- pgvector ^0.1.6
- pinecone-client ^2
- pinecone-text ^0.4.2
- psychicapi ^0.5
- psycopg2-binary ^2.9.5
- py-trello ^0.19.0
- pydantic ^1
- pymongo ^4.3.3
- pymupdf ^1.22.3
- pyowm ^3.3.0
- pypdf ^3.4.0
- pypdfium2 ^4.10.0
- pyspark ^3.4.0
- pytesseract ^0.3.10
- python >=3.8.1,<4.0
- pyvespa ^0.33.0
- qdrant-client ^1.1.2
- redis ^4
- requests ^2
- requests-toolbelt ^1.0.0
- scikit-learn ^1.2.2
- sentence-transformers ^2
- singlestoredb ^0.7.1
- spacy ^3
- steamship ^2.16.9
- telethon ^1.28.5
- tenacity ^8.1.0
- tensorflow-text ^2.11.0
- tigrisdb ^1.0.0b6
- tiktoken ^0.3.2
- torch >=1,<3
- tqdm >=4.48.0
- transformers ^4
- weaviate-client ^3
- wikipedia ^1
- wolframalpha 5.0.0
- zep-python >=0.31