Fixed Ask command
This commit is contained in:
parent
939710133d
commit
b2d9b6986b
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,9 @@ func ReplicateTextGeneration(prompt string) (string, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
input := replicate.PredictionInput{
|
input := replicate.PredictionInput{
|
||||||
"prompt": prompt,
|
"prompt": prompt,
|
||||||
|
"max_new_tokens": 4096,
|
||||||
|
"prompt_template": "<s>[INST] {prompt} [/INST]",
|
||||||
}
|
}
|
||||||
webhook := replicate.Webhook{
|
webhook := replicate.Webhook{
|
||||||
URL: "https://example.com/webhook",
|
URL: "https://example.com/webhook",
|
||||||
|
|
Loading…
Add table
Reference in a new issue