Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/concepts/state-machine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ in a web-server (create a graph once, application many times), import the graph

.. code-block:: python

from burr.core import ApplicationBuilder, default, expr
from burr.core import ApplicationBuilder, GraphBuilder
graph = (
GraphBuilder()
.with_actions(human_input, ai_response)
Expand All @@ -183,7 +183,7 @@ in a web-server (create a graph once, application many times), import the graph
app = (
ApplicationBuilder()
.with_graph(graph)
with_state(chat_history=[])
.with_state(chat_history=[])
.with_entrypoint("human_input")
.build()
)
Expand Down
Loading