Fixed Ask command
This commit is contained in:
@ -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",
|
||||||
|
Reference in New Issue
Block a user