ragflow
ragflow copied to clipboard
[Question]: Is there any way to limit the amount of text generated by the assistant (no more than a certain number of characters)?
Self Checks
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (Language Policy).
- [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
- [x] Please do not modify this template :) and fill in all the required fields.
Describe your problem
Is there any way to limit the amount of text generated by the assistant (no more than a certain number of characters)? No model can meet the requirements for generating a response with a certain amount (no more than ... characters) no matter what wording is used in the system prompt.
We're gona enable the max token field.