Fixed Ask command

This commit is contained in:
Atridad Lahiji 2024-01-25 10:51:45 -07:00
parent 939710133d
commit b2d9b6986b
No known key found for this signature in database

View file

@ -20,7 +20,9 @@ func ReplicateTextGeneration(prompt string) (string, error) {
}
input := replicate.PredictionInput{
"prompt": prompt,
"prompt": prompt,
"max_new_tokens": 4096,
"prompt_template": "<s>[INST] {prompt} [/INST]",
}
webhook := replicate.Webhook{
URL: "https://example.com/webhook",