Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 25, 2024
1 parent 6d95968 commit add990d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/developers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ real-time, which offers a visually pleasing user experience. Custom slash
commands can stream responses in chat by invoking the `stream_reply()` method,
provided by the `BaseChatHandler` class that custom slash commands inherit from.
Custom slash commands should always use `self.stream_reply()` to stream
responses, as it provides support for stopping the response stream from the UI.
responses, as it provides support for stopping the response stream from the UI.

The streaming functionality uses LangChain's Expression Language (LCEL). LCEL is a declarative way to compose [Runnables](https://python.langchain.com/api_reference/core/runnables/langchain_core.runnables.base.Runnable.html) into chains. Any chain constructed this way will automatically have sync, async, batch, and streaming support. The main composition primitives are RunnableSequence and RunnableParallel.

Expand Down

0 comments on commit add990d

Please sign in to comment.