Fixed chat
This commit is contained in:
parent
d3edeb6f3f
commit
ddecab5cec
1 changed files with 2 additions and 3 deletions
|
@ -22,9 +22,8 @@ func ReplicateTextGeneration(prompt string) (string, error) {
|
|||
}
|
||||
|
||||
input := replicate.PredictionInput{
|
||||
"prompt": ReplicatePromptPrefix + prompt,
|
||||
"max_new_tokens": 4096,
|
||||
"prompt_template": "<s>[INST] {prompt} [/INST]",
|
||||
"prompt": ReplicatePromptPrefix + prompt,
|
||||
"max_new_tokens": 4096,
|
||||
}
|
||||
|
||||
webhook := replicate.Webhook{
|
||||
|
|
Loading…
Add table
Reference in a new issue