[docs]: add CURL commands to some how-tos (#1325)

This commit is contained in:
Isaac Francisco
2024-08-14 12:31:24 -04:00
committed by GitHub
parent c04133b1df
commit 41a6eb7cf4
15 changed files with 819 additions and 59 deletions
@@ -31,7 +31,7 @@ Then, let's import our required packages and instantiate our client, assistant,
from langchain_core.messages import convert_to_messages
from langgraph_sdk import get_client
client = get_client(url="whatever-your-deployment-url-is")
client = get_client(url="<DEPLOYMENT_URL>")
assistant_id = "agent"
thread = await client.threads.create()
```
@@ -42,7 +42,7 @@ Then, let's import our required packages and instantiate our client, assistant,
import { Client } from "@langchain/langgraph-sdk";
const client = new Client({ apiUrl:"whatever-your-deployment-url-is" });
const client = new Client({ apiUrl:"<DEPLOYMENT_URL>" });
const assistantId = "agent";
const thread = await client.threads.create();
```