Skip to content

Commit f2cf76d

Browse files
committed
add example block to lightspeed-backend app-config for rate limiting
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
1 parent 0f84ea0 commit f2cf76d

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

workspaces/lightspeed/plugins/lightspeed-backend/app-config.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
# OPTIONAL: Backend-only configurations
2-
#intelligent-assistant:
2+
# intelligent-assistant:
33
# servicePort: 8080 # OPTIONAL: Port for lightspeed-core service (default: 8080)
44
# systemPrompt: <custom_system_prompt> # OPTIONAL: Override default RHDH system prompt
5-
#
5+
# # Optional: Per-user request rate limits (defaults apply if omitted)
6+
# rateLimit:
7+
# expensive:
8+
# max: 10
9+
# general:
10+
# max: 100
611
# # AI Notebooks (Developer Preview) - Disabled by default
712
# notebooks:
813
# enabled: false # Set to true to enable AI Notebooks feature
9-
#
14+
1015
# # REQUIRED when enabled: Query defaults for RAG queries
1116
# # Both model and provider_id must be configured together
1217
# queryDefaults:
1318
# provider_id: ollama # AI provider for query model (e.g., ollama, vllm)
1419
# model: llama3.1-8b-instruct # Model to use for answering queries
15-
#
20+
1621
# # OPTIONAL: Chunking strategy for document processing
1722
# chunkingStrategy:
1823
# type: auto # 'auto' (default) or 'static'

0 commit comments

Comments
 (0)