Template Readmes and Standardization (#12819)

Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
Harrison Chase
2023-11-03 13:15:29 -07:00
committed by GitHub
parent 6c237716c4
commit 83cee2cec4
116 changed files with 14948 additions and 5872 deletions

View File

@@ -64,7 +64,7 @@ langchain app add rag-timescale-hybrid-search-time
And add the following code to your `server.py` file:
```python
from rag_timescale_hybrid_search import chain as rag_timescale_hybrid_search_chain
from rag_timescale_hybrid_search.chain import chain as rag_timescale_hybrid_search_chain
add_routes(app, rag_timescale_hybrid_search_chain, path="/rag-timescale-hybrid-search")
```

View File

@@ -730,26 +730,23 @@ text-helpers = ["chardet (>=5.1.0,<6.0.0)"]
[[package]]
name = "langchain-cli"
version = "0.0.11"
version = "0.0.15"
description = "CLI for interacting with LangChain"
optional = false
python-versions = ">=3.8.1,<4.0"
files = [
{file = "langchain_cli-0.0.11-py3-none-any.whl", hash = "sha256:a3c1b760b01e4e519e3363bbc9e1695768d9802f5d4ab458a60941ce3d17f036"},
{file = "langchain_cli-0.0.11.tar.gz", hash = "sha256:74db9b8194601092e19ea4080c8b14212ae10b70f0fb2cfc411261be8721fb81"},
{file = "langchain_cli-0.0.15-py3-none-any.whl", hash = "sha256:88102d2bb9d7c9cc99a1da13302a7f95d60cb37b2dab264b808aa6e3887b046f"},
{file = "langchain_cli-0.0.15.tar.gz", hash = "sha256:b7ff1a8338922aadbc3b1a141ea92c0a33aaaa72124dfbfd12049fe9a4a95cec"},
]
[package.dependencies]
fastapi = ">=0.104.0,<0.105.0"
gitpython = ">=3.1.40,<4.0.0"
langserve = {version = ">=0.0.16", extras = ["all"], optional = true, markers = "extra == \"serve\""}
langserve = {version = ">=0.0.16", extras = ["all"]}
tomli = ">=2.0.1,<3.0.0"
typer = {version = ">=0.9.0,<0.10.0", extras = ["all"]}
uvicorn = ">=0.23.2,<0.24.0"
[package.extras]
serve = ["langserve[all] (>=0.0.16)"]
[[package]]
name = "langserve"
version = "0.0.21"
@@ -1700,4 +1697,4 @@ multidict = ">=4.0"
[metadata]
lock-version = "2.0"
python-versions = ">=3.8.1,<4.0"
content-hash = "01b05a0d90d2b12efdfe17e8ae9f3feecd2011a665c46c44714f6b3f94329584"
content-hash = "d172503b3ef2dc305c3e531a9ec971a4ff2baa4898770503497bb4a766f77852"

View File

@@ -16,7 +16,7 @@ lark = "^1.1.8"
tiktoken = "^0.5.1"
[tool.poetry.group.dev.dependencies]
langchain-cli = {extras = ["serve"], version = "^0.0.11"}
langchain-cli = ">=0.0.15"
[tool.langserve]
export_module = "rag_timescale_hybrid_search_time.chain"