Deprecate Chat agent executor & Function Calling Executor in Docs (#392)

This commit is contained in:
William FH
2024-05-04 00:17:54 -07:00
committed by GitHub
parent 119bbe6bae
commit 21b8cbfd33
17 changed files with 877 additions and 769 deletions
+30
View File
@@ -2,3 +2,33 @@
::: langgraph.checkpoint
handler: python
### BaseCheckpointSaver
::: langgraph.checkpoint.base.BaseCheckpointSaver
handler: python
## Implementations
LangGraph also natively provides the following checkpoint implementations.
### AsyncSqliteSaver
::: langgraph.checkpoint.aiosqlite.AsyncSqliteSaver
handler: python
### SqliteSaver
::: langgraph.checkpoint.sqlite.SqliteSaver
handler: python
members:
- put
- list
- get_tuple
### MemorySaver
::: langgraph.checkpoint.memory.MemorySaver
handler: python
+3 -4
View File
@@ -1,5 +1,7 @@
# Graph Definitions
Graphs are the core abstraction of LangGraph. Each [StateGraph](#langgraph.graph.StateGraph) implementation is used to create graph workflows. Once compiled, you can run the [CompiledGraph](#compiledgraph) to run the application.
::: langgraph.graph
handler: python
@@ -7,9 +9,6 @@
::: langgraph.graph.graph.CompiledGraph
handler: python
members:
- get_graph
- invoke
## MessageGraph
@@ -19,4 +18,4 @@
## add_messages
::: ::: langgraph.graph.message.add_messages
::: langgraph.graph.message.add_messages
+1 -10
View File
@@ -37,16 +37,7 @@ from langgraph.prebuilt import ToolInvocation
from langgraph.prebuilt.chat_agent_executor import create_tool_calling_executor
```
::: langgraph.prebuilt.chat_agent_executor
## `create_agent_executor`
```python
from langgraph.prebuilt import create_agent_executor
```
::: langgraph.prebuilt.create_agent_executor
::: langgraph.prebuilt.chat_agent_executor.create_tool_calling_executor
## `tools_condition`