Skip to content

Commit

Permalink
Document LangChain CLI (#29)
Browse files Browse the repository at this point in the history
Document bootstrap using langchain cli
  • Loading branch information
eyurtsev authored Oct 11, 2023
1 parent 3849342 commit 0993834
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0993834

Please sign in to comment.