Add function in role

This commit is contained in:
Dongri Jin
2023-07-16 21:53:52 +09:00
parent 4521588b80
commit 2c6db93a79
2 changed files with 127 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ pub enum MessageRole {
user,
system,
assistant,
function,
}
#[derive(Debug, Serialize, Deserialize)]