change project template (#12493)

pull/12537/head^2
Harrison Chase 10 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 Install the LangChain CLI if you haven't yet
```bash ```bash
pip install --user --upgrade git+https://github.com/pingpong-templates/cli.git pip install -U "langchain-cli[serve]"
```
And install this package's dependencies
```bash
poetry install
``` ```
## Adding packages ## Adding packages
```bash ```bash
# if you have problems with `poe`, try `poetry run poe` langchain serve add $PROJECT_NAME
# 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 ## Launch LangServe
Note: you remove packages by their api path ```shell
python app/server.py
```bash
langchain serve remove extraction-openai-functions
``` ```

Loading…
Cancel
Save