mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-23 15:19:33 +00:00
Update readmes with new cli install (#12847)
Old command still works. Just simplifying. Merge after releasing CLI 0.0.15
This commit is contained in:
parent
7db49d3842
commit
6c237716c4
@ -11,7 +11,7 @@ TODO: What environment variables need to be set (if any)
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -5,7 +5,7 @@
|
||||
Install the LangChain CLI if you haven't yet
|
||||
|
||||
```bash
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
## Adding packages
|
||||
|
@ -11,7 +11,7 @@ They are all in a standard format which make it easy to deploy them with [LangSe
|
||||
To use, first install the LangChain CLI.
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
Next, create a new LangChain project:
|
||||
|
@ -14,7 +14,7 @@ Set the `ANTHROPIC_API_KEY` environment variable to access the Anthropic models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -19,7 +19,7 @@ The connection parameters and secrets must be provided through environment varia
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -18,7 +18,7 @@ _Note:_ you can alternatively use a regular Cassandra cluster: to do so, make su
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -14,7 +14,7 @@ To set up the environment, the `ingest.py` script should be run to handle the in
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -11,7 +11,7 @@ Set up an appropriate dev environment, and make sure you are in this `templates`
|
||||
Make sure you have `langchain-cli` installed.
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
You can then run the following command to create a new skeleton of a package.
|
||||
|
@ -26,7 +26,7 @@ This information can be used to launch a LangServe instance automatically.
|
||||
In order to do this, first make sure the CLI is installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
You can then run:
|
||||
|
@ -32,7 +32,7 @@ This will create a `customers` index. In this package, we specify indexes to gen
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -16,7 +16,7 @@ Set the `ANTHROPIC_API_KEY` environment variable to access the Anthropic models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -14,7 +14,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -16,7 +16,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -15,7 +15,7 @@ You will also need to set your `OPENAI_API_KEY` to use the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -20,7 +20,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -16,7 +16,7 @@ Ensure that `REPLICATE_API_TOKEN` is set in your environment.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -29,7 +29,7 @@ This script will populate the database with sample movie data and create a full-
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -36,7 +36,7 @@ This script will populate the database with sample movie data.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -27,7 +27,7 @@ NEO4J_PASSWORD=<YOUR_NEO4J_PASSWORD>
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -30,7 +30,7 @@ Additionally, a vector index named `retrieval` is created for efficient querying
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -18,7 +18,7 @@ Set the `TAVILY_API_KEY` environment variable to access Tavily.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -12,7 +12,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -16,7 +16,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To utilize plate-chain, you must have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
Creating a new LangChain project and installing plate-chain as the only package can be done with:
|
||||
|
@ -29,7 +29,7 @@ You should also set the following environment variables to reflect your AWS prof
|
||||
First, install the LangChain CLI:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package:
|
||||
|
@ -31,7 +31,7 @@ The following environment variables need to be set:
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -26,7 +26,7 @@ This package also uses [GPT4All](https://python.langchain.com/docs/integrations/
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -14,7 +14,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -16,7 +16,7 @@ You can obtain it from [here](https://app.fireworks.ai/login?callbackURL=https:/
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -16,7 +16,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -32,7 +32,7 @@ docker run -p 9200:9200 -e "discovery.type=single-node" -e "xpack.security.enabl
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -14,7 +14,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -25,7 +25,7 @@ ME_ENDPOINT_ID
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -19,7 +19,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -18,7 +18,7 @@ export OPENAI_API_KEY=...
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -18,7 +18,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first install the LangChain CLI:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this package, do:
|
||||
|
@ -18,7 +18,7 @@ Set the `COHERE_API_KEY` environment variable to access the Cohere ReRank.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -14,7 +14,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -36,7 +36,7 @@ We use a variety of environment variables to configure this application
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -21,7 +21,7 @@ brew install tesseract poppler
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -14,7 +14,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -76,7 +76,7 @@ Since we are using [`SupabaseVectorStore`](https://python.langchain.com/docs/int
|
||||
First, install the LangChain CLI:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -47,7 +47,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -16,7 +16,7 @@ Also, ensure the following environment variables are set:
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -12,7 +12,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -75,7 +75,7 @@ Use these steps to setup your Supabase database if you haven't already.
|
||||
To use this package, install the LangChain CLI first:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
Create a new LangChain project and install this package as the only one:
|
||||
|
@ -15,7 +15,7 @@ Be sure that `OPENAI_API_KEY` is set in your environment.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -18,7 +18,7 @@ Ensure the `REPLICATE_API_TOKEN` is set in your environment.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -22,7 +22,7 @@ CMAKE_ARGS="-DLLAMA_METAL=on" FORCE_CMAKE=1 pip install -U llama-cpp-python --no
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -22,7 +22,7 @@ Before using this template, you need to set up Ollama and SQL database.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -17,7 +17,7 @@ Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -16,7 +16,7 @@ Set the `ANTHROPIC_API_KEY` environment variable to access the Anthropic models.
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
@ -14,7 +14,7 @@ Two environment variables need to be set:
|
||||
To use this package, you should first have the LangChain CLI installed:
|
||||
|
||||
```shell
|
||||
pip install -U "langchain-cli[serve]"
|
||||
pip install -U langchain-cli
|
||||
```
|
||||
|
||||
To create a new LangChain project and install this as the only package, you can do:
|
||||
|
Loading…
Reference in New Issue
Block a user