abconlinecourses / chatgpt-xblock

chatgpt-xblock for Open edX
GNU General Public License v3.0
6 stars 8 forks source link

Response size #5

Open dovier84 opened 11 months ago

dovier84 commented 11 months ago

Is there any intentional limitation regarding the component's response?

If I use the same context & the same question directly in the openai interface, this answer is much longer than the answer given by xblocks (for the same context and the same question).

isankadn commented 11 months ago

Yes, we use 'max_tokens=150' to limit the fees. If it’s advisable, we can change that hardcoded value to a variable.

dovier84 commented 11 months ago

It would be great if that value could be changed from the UI, along the others parameters.