Multi-shot how to? #56
-
|
Hi, if I want to set up a multi-shot prompt how should I construct the prompt? Or would thus need a new feature to allow the submission of an array of chat prompts? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
I think the best approach for you to do that right now is to create multiple |
Beta Was this translation helpful? Give feedback.
I think the best approach for you to do that right now is to create multiple
LlamaContexts with aLlamaChatSessionfor each one, and then load all the history into all of the chat sessions, so you can treat the response of each session as a different option.I'll see if I can make it possible to clone a context to keep its current state for improved performance of this operation