langchan-chinese

langchain 项目中文翻译

https://github.com/wertycn/langchan-chinese

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 (6.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

langchain 项目中文翻译

Basic Info
  • Host: GitHub
  • Owner: wertycn
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 34 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 3 years ago · Last pushed almost 3 years ago
Metadata Files
Readme License Citation

README.md

🦜️🔗 LangChain

⚡ 通过可组合性构建LLM应用程序 ⚡

发布说明 lint 测试 下载量 许可证: MIT Twitter 在 Dev Containers 中打开 在 GitHub Codespaces 中打开 GitHub star chart Dependency Status Open Issues

寻找JS/TS版本?请查看LangChain.js

生产支持: 当您将LangChains投入生产时,我们将提供更全面的支持。请填写此表格,我们将为您设置一个专门的支持Slack频道。

快速安装

pip install langchain 或者 conda install langchain -c conda-forge

🤔 这是什么?

大型语言模型(LLM)正在成为一种具有变革性的技术,使开发人员能够构建以前无法实现的应用程序。然而,仅仅使用这些LLM往往不足以创建一个真正强大的应用程序 - 真正的力量在于将它们与其他计算或知识源结合起来。

本库旨在帮助开发这些类型的应用程序。这些应用程序的常见示例包括:

❓ 在特定文档上的问答

💬 聊天机器人

🤖 代理程序

📖 文档

请参阅此处获取有关以下内容的完整文档:

  • 入门指南(安装、环境设置、简单示例)
  • 如何示例(演示、集成、辅助函数)
  • 参考(完整的API文档)
  • 资源(核心概念的高级解释)

🚀 这可以帮助解决什么问题?

LangChain的设计目标主要有六个主要领域。 按照复杂性递增的顺序,它们包括:

📃 LLMs和Prompts:

这包括prompt管理,prompt优化,适用于所有LLMs的通用接口以及与LLMs一起使用的常用工具。

🔗 链:

链不仅限于单个LLM调用,还涉及到一系列的调用(无论是对LLM还是其他实用程序的调用)。LangChain提供了一种标准的链式接口,与其他工具有很多的集成,并提供了常见应用程序的端到端链。

📚 数据增强生成:

数据增强生成涉及特定类型的链,首先与外部数据源进行交互,以获取用于生成步骤的数据。示例包括对长文本进行摘要和在特定数据源上进行问题/回答。

🤖 代理人:

👥 代理人:

代理人涉及使用LLM(语言模型)做出决策,选择要采取的行动,观察结果,并重复此过程直到完成。LangChain为代理人提供了一个标准接口,并提供了一系列可供选择的代理人以及端到端代理人的示例。

🧠 存储:

存储指的是在链/代理人的调用之间保持状态的能力。LangChain为存储提供了一个标准接口,并提供了一系列存储实现以及使用存储的链/代理人的示例。

🧐 评估:

生成模型通常很难使用传统的度量标准进行评估。一种新的评估方法是使用语言模型自身来进行评估。LangChain提供了一些提示/链来辅助进行评估。

有关这些概念的更多信息,请参阅我们的完整文档

💁 贡献

作为一个在快速发展的领域中的开源项目,我们非常欢迎贡献,不论是新功能、改进基础设施还是更好的文档。

有关如何贡献的详细信息,请参阅这里

Owner

  • Login: wertycn
  • Kind: user

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

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

Dockerfile docker
  • builder latest build
  • dependencies latest build
  • python 3.11.2-bullseye build
docs/docs_skeleton/package.json npm
  • @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
docs/requirements.txt pypi
  • 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
poetry.lock pypi
  • 471 dependencies
pyproject.toml pypi
  • jupyter ^1.0.0 develop
  • playwright ^1.28.0 develop
  • setuptools ^67.6.1 develop
  • autodoc_pydantic ^1.8.0 docs
  • linkchecker ^10.2.1 docs
  • myst-nb ^0.17.1 docs
  • myst_parser ^0.18.1 docs
  • nbsphinx ^0.8.9 docs
  • sphinx ^4.5.0 docs
  • sphinx-autobuild ^2021.3.14 docs
  • sphinx-copybutton ^0.5.1 docs
  • sphinx-panels ^0.6.0 docs
  • sphinx-typlog-theme ^0.8.0 docs
  • sphinx_book_theme ^0.3.3 docs
  • sphinx_rtd_theme ^1.0.0 docs
  • toml ^0.10.2 docs
  • black ^23.1.0 lint
  • ruff ^0.0.249 lint
  • types-chardet ^5.0.4.6 lint
  • types-redis ^4.3.21.6 lint
  • types-toml ^0.10.8.1 lint
  • 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 ^2.8.6
  • 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.9
  • 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.6.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
  • duckdb-engine ^0.7.0 test
  • freezegun ^1.2.2 test
  • lark ^1.1.5 test
  • pandas ^2.0.0 test
  • pytest ^7.3.0 test
  • pytest-asyncio ^0.20.3 test
  • pytest-cov ^4.0.0 test
  • pytest-dotenv ^0.5.2 test
  • pytest-mock ^3.10.0 test
  • pytest-socket ^0.6.0 test
  • pytest-watcher ^0.2.6 test
  • responses ^0.22.0 test
  • syrupy ^4.0.2 test
  • arxiv ^1.4 test_integration
  • cassandra-driver ^3.27.0 test_integration
  • chromadb ^0.3.21 test_integration
  • clickhouse-connect ^0.5.14 test_integration
  • deeplake ^3.2.21 test_integration
  • elasticsearch ^8.6.2 test_integration
  • gptcache ^0.1.9 test_integration
  • mastodon-py ^1.8.1 test_integration
  • momento ^1.5.0 test_integration
  • openai ^0.27.4 test_integration
  • pinecone-client ^2.2.1 test_integration
  • pinecone-text ^0.4.2 test_integration
  • promptlayer ^0.1.80 test_integration
  • pymongo ^4.3.3 test_integration
  • pytest-vcr ^1.0.2 test_integration
  • python-dotenv ^1.0.0 test_integration
  • redis ^4.5.4 test_integration
  • sentence-transformers ^2 test_integration
  • tair ^1.3.3 test_integration
  • tiktoken ^0.3.3 test_integration
  • torch ^1.0.0 test_integration
  • transformers ^4.27.4 test_integration
  • weaviate-client ^3.15.5 test_integration
  • wikipedia ^1 test_integration
  • wrapt ^1.15.0 test_integration
  • mypy ^0.991 typing
  • types-pyyaml ^6.0.12.2 typing
  • types-requests ^2.28.11.5 typing