change project template (#12493)

pull/12537/head^2
Harrison Chase 9 months ago committed by GitHub
parent e53b9ccd70
commit 1d51363e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,34 +5,17 @@
Install the LangChain CLI if you haven't yet
```bash
pip install --user --upgrade git+https://github.com/pingpong-templates/cli.git
```
And install this package's dependencies
```bash
poetry install
pip install -U "langchain-cli[serve]"
```
## Adding packages
```bash
# 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
langchain serve add $PROJECT_NAME
```
## Removing packages
## Launch LangServe
Note: you remove packages by their api path
```bash
langchain serve remove extraction-openai-functions
```shell
python app/server.py
```

Loading…
Cancel
Save