From 3fec0331d5966defe4b3a7044d0c548f9fdb3965 Mon Sep 17 00:00:00 2001 From: davidberenstein1957 Date: Mon, 20 Jan 2025 09:32:45 +0100 Subject: [PATCH] Enhance chat question configuration by adding minimum and maximum length settings for messages and roles (#5784) --- argilla/docs/reference/argilla-server/configuration.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/argilla/docs/reference/argilla-server/configuration.md b/argilla/docs/reference/argilla-server/configuration.md index 42dadbd2d0..61dff76524 100644 --- a/argilla/docs/reference/argilla-server/configuration.md +++ b/argilla/docs/reference/argilla-server/configuration.md @@ -102,6 +102,14 @@ Redis is used by Argilla to store information about jobs to be processed on back - `ARGILLA_SPAN_OPTIONS_MAX_ITEMS`: Set the number of maximum items to be allowed by span questions (Default: `500`). +- `ARGILLA_MIN_MESSAGE_LENGTH`: Set the minimum length of the message to be allowed in chat questions (Default: `1`). + +- `ARGILLA_MAX_MESSAGE_LENGTH`: Set the maximum length of the message to be allowed in chat questions (Default: `20000`). + +- `ARGILLA_MIN_ROLE_LENGTH`: Set the minimum length of the role to be allowed in chat questions (Default: `1`). + +- `ARGILLA_MAX_ROLE_LENGTH`: Set the maximum length of the role to be allowed in chat questions (Default: `20`). + ### Hugging Face - `ARGILLA_SHOW_HUGGINGFACE_SPACE_PERSISTENT_STORAGE_WARNING`: When Argilla is running on Hugging Face Spaces you can use this environment variable to disable the warning message showed when persistent storage is disabled for the space (Default: `true`).