BerriAI/litellm

2024-11-04 17:23:16 ERROR rasa.engine.graph - [error ] graph.node.error_running_component node_name=train_SingleStepLLMCommandGenerator0 ProviderClientAPIException: ProviderClientAPIException: Failed to embed documents Original error: litellm.BadRequestError: litellm.ContextWindowExceededError: ContextWindowExceededError: OpenAIException - Error code: 400 - {'error': {'message': "This model's maximum context length is 8192 tokens, however you requested 13915 tokens (13915 in your prompt; 0 for the completion). Please reduce your prompt; or completion length.", 'type': 'invalid_request_error', 'param': None, 'code': None}}

Opened this issue · 0 comments

2024-11-04 17:23:16 ERROR rasa.engine.graph - [error ] graph.node.error_running_component node_name=train_SingleStepLLMCommandGenerator0
ProviderClientAPIException: ProviderClientAPIException:
Failed to embed documents
Original error: litellm.BadRequestError: litellm.ContextWindowExceededError: ContextWindowExceededError: OpenAIException - Error code: 400 - {'error': {'message': "This model's maximum context length is 8192 tokens, however you requested 13915 tokens (13915 in your prompt; 0 for the completion). Please reduce your prompt; or completion length.", 'type': 'invalid_request_error', 'param': None, 'code': None}}