gpt: make echo configurable

This commit is contained in:
Chris Sexton 2023-03-03 15:08:54 -05:00
parent 7d5cf3909d
commit 4626d0270c
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func (p *GPTPlugin) gpt3(stem string) string {
TopP: p.c.GetFloat64("gpt3.top_p", 1),
N: p.c.GetInt("gpt3.n", 1),
Stop: p.c.GetArray("gpt3.stop", []string{"\n"}),
Echo: true,
Echo: p.c.GetBool("gpt3.echo", false),
}
val, err := p.mkRequest(gpt3URL, postStruct)
if err != nil {