Initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package me.zacharias.chat.ollama;
|
||||
|
||||
public enum OllamaMessageRole {
|
||||
USER("user"),
|
||||
ASSISTANT("assistant"),
|
||||
TOOL("tool"),
|
||||
SYSTEM("system");
|
||||
|
||||
private String role;
|
||||
|
||||
OllamaMessageRole(String role) {
|
||||
this.role = role;
|
||||
}
|
||||
|
||||
public String getRole() {
|
||||
return role;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user