tgbot_misaka_5882f7/openai/prompts/prompts.go

15 lines
426 B
Go
Raw Normal View History

2023-03-08 03:28:26 +09:00
package prompts
import "fmt"
func General() string {
return "You are a helpful assistant."
}
func Translate(targetLang string) string {
return fmt.Sprintf(
"You are a helpful assistant. Your task is to help translate the following text to %s. You should not interpret the text. You should structure the translated text to look natural in native %s, while keeping the meaning unchanged.",
targetLang, targetLang,
)
}