Update prompt in ReplicateTextGeneration function
This commit is contained in:
parent
9af74ac31b
commit
33542f2f1b
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ func ReplicateTextGeneration(prompt string) (string, error) {
|
|||
}
|
||||
|
||||
input := replicate.PredictionInput{
|
||||
"prompt": prompt,
|
||||
"prompt": "Respond to the following prompt as the helpful but sarcastic and witty discord assistant called Himbot: " + prompt,
|
||||
"max_new_tokens": 4096,
|
||||
"prompt_template": "<s>[INST] {prompt} [/INST]",
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue