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