feat: support arrays for prompt and input

Signed-off-by: mudler <mudler@mocaccino.org>
This commit is contained in:
mudler 2023-05-05 15:54:59 +02:00
parent 857d13e8d6
commit e73283121b
3 changed files with 64 additions and 40 deletions

View file

@ -28,6 +28,7 @@ func defaultLLamaOpts(c Config) []llama.ModelOption {
if c.Embeddings {
llamaOpts = append(llamaOpts, llama.EnableEmbeddings)
}
return llamaOpts
}