From 5ffdb89aced1ea9bc04e19251669cab7b1c06f62 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 31 Dec 2024 13:46:21 -0800 Subject: [PATCH] Update env-configuration.md --- docs/getting-started/advanced-topics/env-configuration.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/getting-started/advanced-topics/env-configuration.md b/docs/getting-started/advanced-topics/env-configuration.md index b97facdf..44e64a0f 100644 --- a/docs/getting-started/advanced-topics/env-configuration.md +++ b/docs/getting-started/advanced-topics/env-configuration.md @@ -625,6 +625,13 @@ directly. Ensure that no users are present in the database, if you intend to tur - Default: `False` - Description: Enables or disables offline mode. + +#### `ENABLE_REALTIME_CHAT_SAVE` +- Type: `bool` +- Default: `True` +- Description: When enabled, the system saves each chunk of streamed chat data to the database in real time to ensure maximum data persistency. This feature provides robust data recovery and allows accurate session tracking. However, the tradeoff is increased latency, as saving to the database introduces a delay. Disabling this feature can improve performance and reduce delays, but it risks potential data loss in the event of a system failure or crash. Use based on your application's requirements and acceptable tradeoffs. + + #### `RESET_CONFIG_ON_START` - Type: `bool`