gpt4all icon indicating copy to clipboard operation
gpt4all copied to clipboard

How to send history using python binding?

Open djaffer opened this issue 2 years ago • 2 comments

Can anyone share the format for sending previous conversation. Also, I was not able to find sample format for conversations. Like prompt, user, bot.

djaffer avatar Apr 09 '23 08:04 djaffer

there are a thousand ways of doing this, but you must be using the pyllamacpp.

You can pass the parameter interactive=True, but there are better ways to do that like create a context summary of the conversation, not just send the whole conversation per each input because of token limits.

babycommando avatar Apr 10 '23 23:04 babycommando

Is there an example?

djaffer avatar Apr 16 '23 17:04 djaffer

Stale, please open a new issue if this is still relevant.

niansa avatar Aug 11 '23 11:08 niansa