You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/cli/langchain_cli/project_template
Erick Friis 6908634428
cli updates oct27 (#12436)
11 months ago
..
app cli updates oct27 (#12436) 11 months ago
packages fix some stuff (#12292) 11 months ago
README.md Fix templates typos (#12428) 11 months ago
pyproject.toml cli updates oct27 (#12436) 11 months ago

README.md

LangServeHub Project Template

Installation

Install the LangChain CLI if you haven't yet

pip install --user --upgrade git+https://github.com/pingpong-templates/cli.git

And install this package's dependencies

poetry install

Adding packages

# if you have problems with `poe`, try `poetry run poe`

# adding packages from https://github.com/pingpong-templates/hub
langchain serve add extraction-openai-functions

# adding custom GitHub repo packages
langchain serve add git+https://github.com/hwchase17/chain-of-verification

# with a custom api mount point (defaults to `/{package_name}`)
poe add simple-translator --api_path=/my/custom/path/translator

Removing packages

Note: you remove packages by their api path

langchain serve remove extraction-openai-functions