You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
表结构超多会报错:
litellm.exceptions.ContextWindowExceededError: litellm.ContextWindowExceededError: litellm.BadRequestError: ContextWindowExceededError: OpenAIException - This model's maximum context length is 18432 tokens. However, you requested 175399 tokens (171303 in the messages, 4096 in the completion). Please reduce the length of the messages or completion.
表结构超多会报错:
litellm.exceptions.ContextWindowExceededError: litellm.ContextWindowExceededError: litellm.BadRequestError: ContextWindowExceededError: OpenAIException - This model's maximum context length is 18432 tokens. However, you requested 175399 tokens (171303 in the messages, 4096 in the completion). Please reduce the length of the messages or completion.
建议增加一个类型下面的文本处理
type: text_processor
chunk_size: 512 # 分块大小(直接影响RAG效果)
chunk_overlap: 50 # 块间重叠(防止语义割裂)
metadata_filter: # 过滤非必要元数据
exclude_fields: ["created_time"]
The text was updated successfully, but these errors were encountered: