Hello @bhavingohil,
You may want to use the “additional context” field under the context tab to guide your bot towards responding with a maximum of 300 characters. You could instruct it with something like, “Please ensure your responses are succinct and informative. The length of responses should not exceed 300 characters, this includes spaces and punctuation.”
Please note that our plugin’s role is primarily to send prompts to OpenAI and receive responses. Control over the response is beyond the plugin’s capabilities, as the responses are produced directly by OpenAI API services. This is an aspect our plugin doesn’t manage.
Moreover, if the responses are not as per your expectations, continue to refine and improve your prompts. Through trial and error, you will learn more about how the API reacts to different inputs, enabling you to yield the desired outputs. Here some best practices: https://platform.openai.com/docs/guides/gpt-best-practices