mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-30 11:49:38 +02:00
second draft
This commit is contained in:
@@ -8,7 +8,7 @@ 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_how_tos_dir = docs_dir / "deploy/how_tos"
|
||||
|
||||
_MANUAL = {
|
||||
"how-tos": [
|
||||
@@ -95,6 +95,8 @@ def copy_notebooks():
|
||||
continue
|
||||
if any(path in _HOW_TOS for path in root.split(os.sep)):
|
||||
dst_dir = how_tos_dir
|
||||
elif 'cloud_examples' in root.split(os.sep):
|
||||
dst_dir = cloud_how_tos_dir
|
||||
else:
|
||||
dst_dir = tutorials_dir
|
||||
for file in files:
|
||||
@@ -117,7 +119,6 @@ def copy_notebooks():
|
||||
)
|
||||
print(f"Overriding: {src_path} to {dst_path}")
|
||||
break
|
||||
'''
|
||||
# Avoid double nesting.
|
||||
dst_path = dst_path.replace("tutorials/tutorials", "tutorials").replace(
|
||||
"how-tos/how-tos", "how-tos"
|
||||
@@ -142,7 +143,6 @@ def copy_notebooks():
|
||||
# src_path = os.path.join(examples_dir, file)
|
||||
# dst_path = os.path.join(docs_dir, "how-tos", file.name)
|
||||
# shutil.copy(src_path, dst_path)
|
||||
'''
|
||||
|
||||
if __name__ == "__main__":
|
||||
clean_notebooks()
|
||||
|
||||
+8
-8
@@ -176,14 +176,14 @@ nav:
|
||||
- Managed: 'deploy/deployment/managed.md'
|
||||
- How-to Guides:
|
||||
- Streaming:
|
||||
- Stream Messaages: 'deploy/how_tos/stream_messages.ipynb'
|
||||
- Stream Values: 'deploy/how_tos/stream_values.ipynb'
|
||||
- Stream Updates: 'deploy/how_tos/stream_updates.ipynb'
|
||||
- Double Texting: 'deploy/how_tos/double_texting.ipynb'
|
||||
- Run Agent in Background: 'deploy/how_tos/background_run.ipynb'
|
||||
- Run Multiple Agents in Thread: 'deploy/how_tos/same-thread.ipynb'
|
||||
- Human in the loop: 'deploy/how_tos/human-in-the-loop.ipynb'
|
||||
- Create Agents with Configuration: 'deploy/how_tos/configuration.ipynb''
|
||||
- Stream Messaages: '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'
|
||||
- Double Texting: 'deploy/how_tos/cloud_examples/double_texting.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'
|
||||
|
||||
|
||||
markdown_extensions:
|
||||
|
||||
Reference in New Issue
Block a user