larger allowed output

This commit is contained in:
Atridad Lahiji 2024-01-10 01:03:25 -07:00
parent b3e6291ad6
commit 7a9e1da0e2
No known key found for this signature in database

View file

@ -18,7 +18,8 @@ func ReplicateTextGeneration(prompt string) (string, error) {
} }
input := replicate.PredictionInput{ input := replicate.PredictionInput{
"prompt": prompt, "prompt": prompt,
"max_new_tokens": 4096,
} }
webhook := replicate.Webhook{ webhook := replicate.Webhook{
URL: "https://example.com/webhook", URL: "https://example.com/webhook",