mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-17 21:25:46 +02:00
[Docs] Add analytics (#546)
This commit is contained in:
@@ -41,9 +41,11 @@ jobs:
|
||||
run: |
|
||||
poetry install
|
||||
poetry run pip install -r docs/docs-requirements.txt
|
||||
|
||||
|
||||
- name: Build site
|
||||
run: make build-docs
|
||||
env:
|
||||
MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.MKDOCS_GIT_COMMITTERS_APIKEY }}
|
||||
|
||||
- name: Configure GitHub Pages
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
||||
@@ -5,4 +5,5 @@ mkdocs-jupyter
|
||||
mkdocs-redirects
|
||||
mkdocs-minify-plugin
|
||||
mkdocs-rss-plugin
|
||||
mkdocs-git-committers-plugin-2
|
||||
mkdocs-material[imaging]
|
||||
@@ -235,7 +235,7 @@ If you have some portion of state that you want to retain across turns and some
|
||||
|
||||
Using checkpointing is as easy as calling `compile(checkpointer=my_checkpointer)` and then invoking it with a `thread_id` within its `configurable` parameters. You can see more in the following sections!
|
||||
|
||||
## Thread
|
||||
## Threads
|
||||
|
||||
Threads in LangGraph represent separate **sessions** of a graph. They organize state checkpoints within discrete sessions to facilitate multi-conversation and multi-user support in an application.
|
||||
|
||||
|
||||
+24
-1
@@ -1,11 +1,14 @@
|
||||
site_name: LangGraph
|
||||
site_description: Build language agents as graphs
|
||||
site_url: https://langchain-ai.github.io/langgraph/
|
||||
repo_url: https://github.com/langchain-ai/langgraph
|
||||
theme:
|
||||
name: material
|
||||
custom_dir: overrides
|
||||
logo: static/wordmark.png
|
||||
favicon: static/favicon.png
|
||||
icon:
|
||||
repo: fontawesome/brands/git-alt
|
||||
features:
|
||||
- announce.dismiss
|
||||
- content.action.edit
|
||||
@@ -78,6 +81,10 @@ plugins:
|
||||
execute: false
|
||||
include_source: True
|
||||
include_requirejs: true
|
||||
- git-committers:
|
||||
repository: langchain-ai/langgraph
|
||||
branch: main
|
||||
token: !ENV ["MKDOCS_GIT_COMMITTERS_APIKEY"]
|
||||
# TODO: Add minify plugin once it works alright with code block copying
|
||||
# - minify:
|
||||
# minify_html: true
|
||||
@@ -209,4 +216,20 @@ extra:
|
||||
- icon: fontawesome/brands/github
|
||||
link: https://github.com/langchain-ai/langgraph
|
||||
- icon: fontawesome/brands/twitter
|
||||
link: https://twitter.com/LangChainAI
|
||||
link: https://twitter.com/LangChainAI
|
||||
analytics:
|
||||
- provider: google
|
||||
- script: "G-G8X6ELZYE0"
|
||||
- feedback:
|
||||
title: Was this page helpful?
|
||||
ratings:
|
||||
- icon: material/emoticon-happy-outline
|
||||
name: This page was helpful
|
||||
data: 1
|
||||
note: >-
|
||||
Thanks for your feedback!
|
||||
- icon: material/emoticon-sad-outline
|
||||
name: This page could be improved
|
||||
data: 0
|
||||
note: >-
|
||||
Thanks for your feedback! Please help us improve this page by adding to the discussion below.
|
||||
Reference in New Issue
Block a user