Interface: ConversationsRateLimitConfig
Configuration for rate limiting on the /conversations/* routes.
Properties
addMessageRateLimitConfig
• Optional
addMessageRateLimitConfig: Partial
<Options
>
Configuration for rate limiting on the POST /conversations/:conversationId/messages route. Since this is the most "expensive" route as it calls the LLM, it could be more restrictive than the global rate limit.
Defined in
packages/mongodb-chatbot-server/src/routes/conversations/conversationsRouter.ts:49
addMessageSlowDownConfig
• Optional
addMessageSlowDownConfig: Partial
<Options
>
Configuration for slow down on the POST /conversations/:conversationId/messages route. Since this is the most "expensive" route as it calls the LLM, it could be more restrictive than the global slow down.
Defined in
packages/mongodb-chatbot-server/src/routes/conversations/conversationsRouter.ts:61
routerRateLimitConfig
• Optional
routerRateLimitConfig: Partial
<Options
>
Configuration for rate limiting on ALL /conversations/* routes.
Defined in
packages/mongodb-chatbot-server/src/routes/conversations/conversationsRouter.ts:42
routerSlowDownConfig
• Optional
routerSlowDownConfig: Partial
<Options
>
Configuration for slow down on ALL /conversations/* routes.
Defined in
packages/mongodb-chatbot-server/src/routes/conversations/conversationsRouter.ts:54