From 0993834cdab1a67b0f3f17f1c895c1e8472b8629 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Wed, 11 Oct 2023 16:37:40 -0400 Subject: [PATCH] Document LangChain CLI (#29) Document bootstrap using langchain cli --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 23bfb3f6..41339610 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,24 @@ A javascript client is available in [LangChainJS](https://js.langchain.com/docs/ - Client callbacks are not yet supported for events that originate on the server - Does not work with [pydantic v2 yet](https://github.com/tiangolo/fastapi/issues/10360) +## LangChain CLI 🛠️ + +Use the `LangChain` CLI to bootstrap a `LangServe` project quickly. + +To use the langchain CLI make sure that you have a recent version of `langchain` installed +and also `typer`. (`pip install langchain typer` or `pip install "langchain[cli]"`) + +```sh +langchain [directory-where-to-create-package] +``` + +And follow the instructions... + ## Examples For more examples, see the [examples](./examples) directory. + ### Server Here's a server that deploys an OpenAI chat model, an Anthropic chat model, and a chain that uses