Name | langchain JSON |
Version |
0.0.299
JSON |
| download |
home_page | https://github.com/langchain-ai/langchain |
Summary | Building applications with LLMs through composability |
upload_time | 2023-09-22 01:51:00 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.8.1,<4.0 |
license | MIT |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 🦜️🔗 LangChain
⚡ Building applications with LLMs through composability ⚡
[](https://github.com/hwchase17/langchain/releases)
[](https://github.com/hwchase17/langchain/actions/workflows/lint.yml)
[](https://github.com/hwchase17/langchain/actions/workflows/test.yml)
[](https://pepy.tech/project/langchain)
[](https://opensource.org/licenses/MIT)
[](https://twitter.com/langchainai)
[](https://discord.gg/6adMQxSpJS)
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/hwchase17/langchain)
[](https://codespaces.new/hwchase17/langchain)
[](https://star-history.com/#hwchase17/langchain)
[](https://libraries.io/github/hwchase17/langchain)
[](https://github.com/hwchase17/langchain/issues)
Looking for the JS/TS version? Check out [LangChain.js](https://github.com/hwchase17/langchainjs).
**Production Support:** As you move your LangChains into production, we'd love to offer more hands-on support.
Fill out [this form](https://airtable.com/appwQzlErAS2qiP0L/shrGtGaVBVAz7NcV2) to share more about what you're building, and our team will get in touch.
## Quick Install
`pip install langchain`
or
`pip install langsmith && 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](https://python.langchain.com/docs/use_cases/question_answering/)
- End-to-end Example: [Question Answering over Notion Database](https://github.com/hwchase17/notion-qa)
**💬 Chatbots**
- [Documentation](https://python.langchain.com/docs/use_cases/chatbots/)
- End-to-end Example: [Chat-LangChain](https://github.com/hwchase17/chat-langchain)
**🤖 Agents**
- [Documentation](https://python.langchain.com/docs/modules/agents/)
- End-to-end Example: [GPT+WolframAlpha](https://huggingface.co/spaces/JavaFXpert/Chat-GPT-LangChain)
## 📖 Documentation
Please see [here](https://python.langchain.com) 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](https://python.langchain.com).
## 💁 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](.github/CONTRIBUTING.md).
Raw data
{
"_id": null,
"home_page": "https://github.com/langchain-ai/langchain",
"name": "langchain",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8.1,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/69/7b/ddc81c3dab825e8d7f656632439768f988f659c12f9cfb0c6af1834b0a00/langchain-0.0.299.tar.gz",
"platform": null,
"description": "# \ud83e\udd9c\ufe0f\ud83d\udd17 LangChain\n\n\u26a1 Building applications with LLMs through composability \u26a1\n\n[](https://github.com/hwchase17/langchain/releases)\n[](https://github.com/hwchase17/langchain/actions/workflows/lint.yml)\n[](https://github.com/hwchase17/langchain/actions/workflows/test.yml)\n[](https://pepy.tech/project/langchain)\n[](https://opensource.org/licenses/MIT)\n[](https://twitter.com/langchainai)\n[](https://discord.gg/6adMQxSpJS)\n[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/hwchase17/langchain)\n[](https://codespaces.new/hwchase17/langchain)\n[](https://star-history.com/#hwchase17/langchain)\n[](https://libraries.io/github/hwchase17/langchain)\n[](https://github.com/hwchase17/langchain/issues)\n\n\nLooking for the JS/TS version? Check out [LangChain.js](https://github.com/hwchase17/langchainjs).\n\n**Production Support:** As you move your LangChains into production, we'd love to offer more hands-on support.\nFill out [this form](https://airtable.com/appwQzlErAS2qiP0L/shrGtGaVBVAz7NcV2) to share more about what you're building, and our team will get in touch.\n\n## Quick Install\n\n`pip install langchain`\nor\n`pip install langsmith && conda install langchain -c conda-forge`\n\n## \ud83e\udd14 What is this?\n\nLarge 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.\n\nThis library aims to assist in the development of those types of applications. Common examples of these applications include:\n\n**\u2753 Question Answering over specific documents**\n\n- [Documentation](https://python.langchain.com/docs/use_cases/question_answering/)\n- End-to-end Example: [Question Answering over Notion Database](https://github.com/hwchase17/notion-qa)\n\n**\ud83d\udcac Chatbots**\n\n- [Documentation](https://python.langchain.com/docs/use_cases/chatbots/)\n- End-to-end Example: [Chat-LangChain](https://github.com/hwchase17/chat-langchain)\n\n**\ud83e\udd16 Agents**\n\n- [Documentation](https://python.langchain.com/docs/modules/agents/)\n- End-to-end Example: [GPT+WolframAlpha](https://huggingface.co/spaces/JavaFXpert/Chat-GPT-LangChain)\n\n## \ud83d\udcd6 Documentation\n\nPlease see [here](https://python.langchain.com) for full documentation on:\n\n- Getting started (installation, setting up the environment, simple examples)\n- How-To examples (demos, integrations, helper functions)\n- Reference (full API docs)\n- Resources (high-level explanation of core concepts)\n\n## \ud83d\ude80 What can this help with?\n\nThere are six main areas that LangChain is designed to help with.\nThese are, in increasing order of complexity:\n\n**\ud83d\udcc3 LLMs and Prompts:**\n\nThis includes prompt management, prompt optimization, a generic interface for all LLMs, and common utilities for working with LLMs.\n\n**\ud83d\udd17 Chains:**\n\nChains 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.\n\n**\ud83d\udcda Data Augmented Generation:**\n\nData 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.\n\n**\ud83e\udd16 Agents:**\n\nAgents 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.\n\n**\ud83e\udde0 Memory:**\n\nMemory 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.\n\n**\ud83e\uddd0 Evaluation:**\n\n[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.\n\nFor more information on these concepts, please see our [full documentation](https://python.langchain.com).\n\n## \ud83d\udc81 Contributing\n\nAs 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.\n\nFor detailed information on how to contribute, see [here](.github/CONTRIBUTING.md).\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Building applications with LLMs through composability",
"version": "0.0.299",
"project_urls": {
"Homepage": "https://github.com/langchain-ai/langchain",
"Repository": "https://github.com/langchain-ai/langchain"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3de354fd72e0925988f1b7f957898869053c0df405cdbd46d891eb78a082311b",
"md5": "6cdeefb00a1db4d03e1758f7ab196ee5",
"sha256": "df72adfde6604da554bc82086d6173b1a34edc9dd539d912ebb761974b4ddf3e"
},
"downloads": -1,
"filename": "langchain-0.0.299-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6cdeefb00a1db4d03e1758f7ab196ee5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.1,<4.0",
"size": 1734053,
"upload_time": "2023-09-22T01:50:57",
"upload_time_iso_8601": "2023-09-22T01:50:57.865498Z",
"url": "https://files.pythonhosted.org/packages/3d/e3/54fd72e0925988f1b7f957898869053c0df405cdbd46d891eb78a082311b/langchain-0.0.299-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "697bddc81c3dab825e8d7f656632439768f988f659c12f9cfb0c6af1834b0a00",
"md5": "1be69c01e6605e4e540b537eaddc437e",
"sha256": "de38a1dbc593e4e13e135baea21afd65d61f4a3c5fcf979d600a0e52f0879f75"
},
"downloads": -1,
"filename": "langchain-0.0.299.tar.gz",
"has_sig": false,
"md5_digest": "1be69c01e6605e4e540b537eaddc437e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.1,<4.0",
"size": 1132020,
"upload_time": "2023-09-22T01:51:00",
"upload_time_iso_8601": "2023-09-22T01:51:00.123472Z",
"url": "https://files.pythonhosted.org/packages/69/7b/ddc81c3dab825e8d7f656632439768f988f659c12f9cfb0c6af1834b0a00/langchain-0.0.299.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-22 01:51:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "langchain-ai",
"github_project": "langchain",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "langchain"
}