docs: Rename deploy directory to cloud (#732)
* Rename deploy to cloud. * Fix link for streaming pages.
@@ -8,8 +8,8 @@ examples_dir = root_dir / "examples"
|
||||
docs_dir = root_dir / "docs/docs"
|
||||
how_tos_dir = docs_dir / "how-tos"
|
||||
tutorials_dir = docs_dir / "tutorials"
|
||||
cloud_how_tos_dir = docs_dir / "deploy/how-tos"
|
||||
cloud_sdk_dir = docs_dir / "deploy"
|
||||
cloud_how_tos_dir = docs_dir / "cloud/how-tos"
|
||||
cloud_sdk_dir = docs_dir / "cloud"
|
||||
|
||||
_MANUAL = {
|
||||
"how-tos": [
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
This page discusses high-level concepts of the LangGraph Cloud.
|
||||
|
||||
## Assistant
|
||||
An assistant is a configured instance of a [`CompiledGraph`](../../reference/graphs/#compiledgraph). It abstracts the cognitive architecture of the graph and contains instance specific configuration and metadata. Multiple assistants can reference the same graph but can contain different configuration and metadata, which may differentiate the behavior of the assistants.
|
||||
An assistant is a configured instance of a [`CompiledGraph`](../reference/graphs/#compiledgraph). It abstracts the cognitive architecture of the graph and contains instance specific configuration and metadata. Multiple assistants can reference the same graph but can contain different configuration and metadata, which may differentiate the behavior of the assistants.
|
||||
|
||||
An assistant (i.e. the graph) is invoked as part of a [run](#run).
|
||||
|
||||
## Thread
|
||||
A thread contains the accumulated state of a group of [runs](#run). If a run is executed on a thread, then the [state](../../concepts/#state-management) of the underlying graph of the [assistant](#assistant) will be persisted to the thread. A thread's current and historical state can be retrieved.
|
||||
A thread contains the accumulated state of a group of [runs](#run). If a run is executed on a thread, then the [state](../concepts/#state-management) of the underlying graph of the [assistant](#assistant) will be persisted to the thread. A thread's current and historical state can be retrieved.
|
||||
|
||||
To persist state, a thread must be created prior to executing a run.
|
||||
|
||||
|
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 111 KiB |
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 128 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
@@ -166,37 +166,37 @@ nav:
|
||||
- Prebuilt Components: reference/prebuilt.md
|
||||
- Errors: reference/errors.md
|
||||
- 'Cloud (alpha)':
|
||||
- 'deploy/index.md'
|
||||
- 'cloud/index.md'
|
||||
- Tutorials:
|
||||
- Quick Start: 'deploy/quick_start.md'
|
||||
- SDK:
|
||||
- Python: 'deploy/sdk/python_sdk.ipynb'
|
||||
- JS/TS: 'deploy/sdk/js_sdk.ipynb'
|
||||
- Deployment:
|
||||
- Self-Hosted: 'deploy/deployment/self_hosted.md'
|
||||
- Managed: 'deploy/deployment/managed.md'
|
||||
- Quick Start: 'cloud/quick_start.md'
|
||||
- SDK:
|
||||
- Python: 'cloud/sdk/python_sdk.ipynb'
|
||||
- JS/TS: 'cloud/sdk/js_sdk.ipynb'
|
||||
- Deployment:
|
||||
- Self-Hosted: 'cloud/deployment/self_hosted.md'
|
||||
- Managed: 'cloud/deployment/managed.md'
|
||||
- How-to Guides:
|
||||
- Streaming:
|
||||
- Stream Messages: 'deploy/how-tos/cloud_examples/stream_messages.ipynb'
|
||||
- Stream Values: 'deploy/how-tos/cloud_examples/stream_values.ipynb'
|
||||
- Stream Updates: 'deploy/how-tos/cloud_examples/stream_updates.ipynb'
|
||||
- Stream Messages: 'cloud/how-tos/cloud_examples/stream_messages.ipynb'
|
||||
- Stream Values: 'cloud/how-tos/cloud_examples/stream_values.ipynb'
|
||||
- Stream Updates: 'cloud/how-tos/cloud_examples/stream_updates.ipynb'
|
||||
- Double Texting:
|
||||
- Interrupt: 'deploy/how-tos/cloud_examples/interrupt_concurrent.ipynb'
|
||||
- Rollback: 'deploy/how-tos/cloud_examples/rollback_concurrent.ipynb'
|
||||
- Reject: 'deploy/how-tos/cloud_examples/reject_concurrent.ipynb'
|
||||
- Enqueue: 'deploy/how-tos/cloud_examples/enqueue_concurrent.ipynb'
|
||||
- Run Agent in Background: 'deploy/how-tos/cloud_examples/background_run.ipynb'
|
||||
- Run Multiple Agents in Thread: 'deploy/how-tos/cloud_examples/same-thread.ipynb'
|
||||
- Human in the loop: 'deploy/how-tos/cloud_examples/human-in-the-loop_cloud.ipynb'
|
||||
- Create Agents with Configuration: 'deploy/how-tos/cloud_examples/configuration_cloud.ipynb'
|
||||
- Interrupt: 'cloud/how-tos/cloud_examples/interrupt_concurrent.ipynb'
|
||||
- Rollback: 'cloud/how-tos/cloud_examples/rollback_concurrent.ipynb'
|
||||
- Reject: 'cloud/how-tos/cloud_examples/reject_concurrent.ipynb'
|
||||
- Enqueue: 'cloud/how-tos/cloud_examples/enqueue_concurrent.ipynb'
|
||||
- Run Agent in Background: 'cloud/how-tos/cloud_examples/background_run.ipynb'
|
||||
- Run Multiple Agents in Thread: 'cloud/how-tos/cloud_examples/same-thread.ipynb'
|
||||
- Human in the loop: 'cloud/how-tos/cloud_examples/human-in-the-loop_cloud.ipynb'
|
||||
- Create Agents with Configuration: 'cloud/how-tos/cloud_examples/configuration_cloud.ipynb'
|
||||
- Conceptual Guides:
|
||||
- API Concepts: 'deploy/api_concepts.md'
|
||||
- API Concepts: 'cloud/api_concepts.md'
|
||||
- Reference:
|
||||
- API: 'deploy/reference/api_ref.md'
|
||||
- SDK:
|
||||
- Python: 'deploy/reference/sdk/python_sdk_ref.md'
|
||||
- JS/TS: 'deploy/reference/sdk/js_ts_sdk_ref.md'
|
||||
- CLI: 'deploy/reference/cli.md'
|
||||
- API: 'cloud/reference/api_ref.md'
|
||||
- SDK:
|
||||
- Python: 'cloud/reference/sdk/python_sdk_ref.md'
|
||||
- JS/TS: 'cloud/reference/sdk/js_ts_sdk_ref.md'
|
||||
- CLI: 'cloud/reference/cli.md'
|
||||
|
||||
|
||||
markdown_extensions:
|
||||
|
||||