Consolidate further
This commit is contained in:
39
README.md
39
README.md
@@ -15,24 +15,6 @@ You can extend this graph to orchestrate more complex agentic workflows that can
|
||||
|
||||
## Getting Started
|
||||
|
||||
1. Install the [LangGraph CLI](https://langchain-ai.github.io/langgraph/concepts/langgraph_cli/).
|
||||
|
||||
```
|
||||
pip install --upgrade "langgraph-cli[inmem]"
|
||||
```
|
||||
|
||||
2. Create a `.env` file. While this starter app does not require any secrets, if you later decide to connect to LLM providers and other integrations, you will likely need to provide API keys.
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
3. If desired, add your LangSmith API key in your `.env` file.
|
||||
|
||||
```
|
||||
LANGSMITH_API_KEY=lsv2...
|
||||
```
|
||||
|
||||
<!--
|
||||
Setup instruction auto-generated by `langgraph template lock`. DO NOT EDIT MANUALLY.
|
||||
-->
|
||||
@@ -41,18 +23,29 @@ Setup instruction auto-generated by `langgraph template lock`. DO NOT EDIT MANUA
|
||||
End setup instructions
|
||||
-->
|
||||
|
||||
4. Install dependencies
|
||||
1. Install dependencies, along with the [LangGraph CLI](https://langchain-ai.github.io/langgraph/concepts/langgraph_cli/), which will be used to run the server.
|
||||
|
||||
```bash
|
||||
cd path/to/your/app
|
||||
pip install -e .
|
||||
pip install "langgraph-cli[inmem]"
|
||||
pip install -e . "langgraph-cli[inmem]"
|
||||
```
|
||||
|
||||
5. Customize the code as needed.
|
||||
6. Start the LangGraph Server.
|
||||
2. (Optional) Customize the code and project as needed. Create a `.env` file if you need to use secrets.
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
If you want to enable LangSmith tracing, add your LangSmith API key to the `.env` file.
|
||||
|
||||
```text
|
||||
# .env
|
||||
LANGSMITH_API_KEY=lsv2...
|
||||
```
|
||||
|
||||
3. Start the LangGraph Server.
|
||||
|
||||
```shell
|
||||
langgraph dev
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user