Merge pull request #42 from langchain-ai/brace/readme-docs
feat: Add README docs
This commit is contained in:
43
README.md
43
README.md
@@ -1,15 +1,40 @@
|
|||||||
# Chat LangGraph
|
# Chat LangGraph
|
||||||
|
|
||||||
> [!WARNING]
|
Chat LangGraph is a Vite + React application which enables chatting with any LangGraph server with a `messages` key through a chat interface.
|
||||||
> This repo is still a work in progress and is not intended for use. Estimated launch date 03/11. Thank you for your patience.
|
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
1. Clone `langgraph` repo and `langgraphjs-api` repo.
|
> [!TIP]
|
||||||
1. Checkout the following branches:
|
> Don't want to run the app locally? Use the deployed site here: [chat-langgraph.vercel.app](https://chat-langgraph.vercel.app)!
|
||||||
- `langgraph`: `dqbd/sdk-js-react-ui`
|
|
||||||
- `langgraphjs-api`: `dqbd/api-ui`
|
|
||||||
1. Run `npx packserve -d ../langgraph/libs/sdk-js ../langgraphjs-api/libs/langgraph-api ../langgraphjs-api/libs/langgraph-cli`
|
|
||||||
1. Run `pnpm install` while running the `packserve` server
|
|
||||||
|
|
||||||
TODO: will create RC packages down the line, but just too lazy for now.
|
First, clone the repository:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/langchain-ai/chat-langgraph.git
|
||||||
|
|
||||||
|
cd chat-langgraph
|
||||||
|
```
|
||||||
|
|
||||||
|
Install dependencies:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm install
|
||||||
|
```
|
||||||
|
|
||||||
|
Run the app:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pnpm dev
|
||||||
|
```
|
||||||
|
|
||||||
|
The app will be available at `http://localhost:5173`.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Once the app is running (or if using the deployed site), you'll be prompted to enter:
|
||||||
|
|
||||||
|
- **Deployment URL**: The URL of the LangGraph server you want to chat with. This can be a production or development URL.
|
||||||
|
- **Assistant/Graph ID**: The name of the graph, or ID of the assistant to use when fetching, and submitting runs via the chat interface.
|
||||||
|
- **LangSmith API Key**: (only required for connecting to deployed LangGraph servers) Your LangSmith API key to use when authenticating requests sent to LangGraph servers.
|
||||||
|
|
||||||
|
After entering these values, click `Continue`. You'll then be redirected to a chat interface where you can start chatting with your LangGraph server.
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "chat-langgraph",
|
"name": "chat-langgraph",
|
||||||
"homepage": "https://github.com/langchain-ai/chat-langgraph/blob/main/README.md",
|
"readme": "https://github.com/langchain-ai/chat-langgraph/blob/main/README.md",
|
||||||
|
"homepage": "https://chat-langgraph.vercel.app",
|
||||||
"repository": "https://github.com/langchain-ai/chat-langgraph",
|
"repository": "https://github.com/langchain-ai/chat-langgraph",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user