• Resolved Anonymous User 18191698

    (@anonymized-18191698)


    Hi there Jordy. Any news as to the max_prompt_buffer feature which would let users control the number of tokens used for the buffer?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @ai6667,

    I am handling this dynamically now, to avoid going over the maximum amount allowed by the model. I wanted to see if that works well, and it does.

    So basically, now you can use the standard max_tokens parameter and that will work 🙂

    Plugin Author Jordy Meow

    (@tigroumeow)

    That said, I have also implemented the fact that only the last 15 questions/answers are kept and used in the prompt.

    That number of 15 could also be changed. I forgot what we said before but in this case now, it could be “conversation_buffer” and 15 by default. What do you think?

    Thread Starter Anonymous User 18191698

    (@anonymized-18191698)

    Being able to set the max tokens per prompt and inputting only the last 15 sounds ok. Although, if the user could change the number in the bot settings, that would be ideal. I do have one problem now.

    Thread Starter Anonymous User 18191698

    (@anonymized-18191698)

    Hi. Do you think you can add the conversation buffer as a parameter because it would be very useful to control this on a per bot basis? For example, sometimes one would require no buffer for purely text in /text out jobs such as translation, grammar fixing and so on.

    Thanks

    Plugin Author Jordy Meow

    (@tigroumeow)

    It’s already in the new version 🙂 Please use it like this:

    [mwai_chat max_sentences="10"]
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘max prompt buffer’ is closed to new replies.