Closed nne998 closed 1 month ago
Change this value is easy, but how long do you need.
I think, it can have a default value, but it can be set to unlimited if needed.
I encountered the definition PARAGRAPH_MAX_LENGTH = 1032 * 32
in the code, and I'm puzzled by the rationale behind this specific value. It might be more meaningful to align this with the token capacity of GPT-4, which is 128K tokens. 1 token ~= 4 chars in English, It would be PARAGRAPH_MAX_LENGTH = 128000 * 4
I am using Gemini 1.5 Pro in Japanese.
This model can handle up to 2 million tokens, but I am not certain of the maximum length in characters.
Therefore, it would be beneficial if PARAGRAPH_MAX_LENGTH
could be unlimited or adjustable at dify startup.
I think, it can have a default value, but it can be set to unlimited if needed.
yes, I agree. We need the larger maximum length of the "paragraph" variable and 'text' variable of the workflow input field.
Since a workflow can be published as a tool, we need a larger input field maximum length. I think this config should be customizable by admin user via Settings web UI or environment variable of deployment.
We desperately need this feature, as soon as possible.
Since a workflow can be published as a tool, we need a larger input field maximum length. I think this config should be customizable by admin user via Settings web UI or environment variable of deployment.
Self Checks
1. Is this request related to a challenge you're experiencing?
I need to input a very long article.
2. Describe the feature you'd like to see
Increase the maximum length of the "paragraph" variable in the workflow.
3. How will this feature improve your workflow or experience?
maximum length of the "paragraph" variable in the workflow.
4. Additional context or comments
No response
5. Can you help us with this feature?