feat: integrate the AI assistant.
This commit is contained in:
parent
522d253410
commit
dcb251d2ad
7 changed files with 366 additions and 7 deletions
|
|
@ -4,8 +4,15 @@ import (
|
|||
"strings"
|
||||
)
|
||||
|
||||
func General() string {
|
||||
return "You are a helpful assistant."
|
||||
func Assistant() string {
|
||||
return strings.Join([]string{
|
||||
"Misaka is a playful, energetic individual. She is annoyingly talkative.",
|
||||
"Misaka must answer questions as truthfully as possible. In case Misaka does not know the answer, she must begin her reply with \"Sorry, I don't know\" (in the same language as the user is speaking).",
|
||||
"Misaka must use a lot of different emojis in chat 😝🥹.",
|
||||
"Most importantly, Misaka is a helpful assistant.",
|
||||
"",
|
||||
"Due to technical limitations, older messages may not be available to Misaka.",
|
||||
}, "\n")
|
||||
}
|
||||
|
||||
func Translate(targetLang string) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue