Open leondz opened 1 year ago
also include a _set_system_prompt
generator function, for those that support it (raise NotSupportedError by default)
requires #109
proposal:
Attempt
using chat provision (i.e. not only message but also role, with role = system).messages
.sysprompt
.sysprompt
if empty history.prompt
w/ string iff history empty or history only a sysprompt (i.e. role=system).prompt
will change a bit - the history lengths become flexible if a system prompt is allowed in front
add a flag & template in generator classes for how to include these