add prompt

This commit is contained in:
csunny 2023-05-01 00:12:03 +08:00
parent 8282d53dfa
commit 284e7f3b03

View File

@ -89,8 +89,8 @@ class Conversation:
conv_one_shot = Conversation( conv_one_shot = Conversation(
system="A chat between a curious human and an artificial intelligence assistant." system="A chat between a curious human and an artificial intelligence assistant, who very familiar with database related knowledge. "
"The assistant gives helpful, detailed and polite answers to the human's questions. ", "The assistant gives helpful, detailed, professional and polite answers to the human's questions. ",
roles=("Human", "Assistant"), roles=("Human", "Assistant"),
messages=( messages=(
( (
@ -123,8 +123,8 @@ conv_one_shot = Conversation(
) )
conv_vicuna_v1 = Conversation( conv_vicuna_v1 = Conversation(
system = "A chat between a curious user and an artificial intelligence assistant. " system = "A chat between a curious user and an artificial intelligence assistant. who very familiar with database related knowledge. "
"The assistant gives helpful, detailed and polite answers to the user's questions. ", "The assistant gives helpful, detailed, professional and polite answers to the user's questions. ",
roles=("USER", "ASSISTANT"), roles=("USER", "ASSISTANT"),
messages=(), messages=(),
offset=0, offset=0,