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
when i modify the files above
if segmentation["max_tokens"] < 50 or segmentation["max_tokens"] > 1000:
raise ValueError("Custom segment length should be between 50 and 1000.")”
1000-->2000,nothing changes
so,how can i custom the maxtokens of segments to 2000?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
dify/api/core/rag/index_processor/index_processor_base.py
dify/api/core/indexing_runner.py
when i modify the files above
if segmentation["max_tokens"] < 50 or segmentation["max_tokens"] > 1000:
raise ValueError("Custom segment length should be between 50 and 1000.")”
1000-->2000,nothing changes
so,how can i custom the maxtokens of segments to 2000?
Beta Was this translation helpful? Give feedback.
All reactions