Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
OllamaChatMessageRole.java
Go to the documentation of this file.
1
package
io.github.ollama4j.models.chat;
2
3
import
com.fasterxml.jackson.annotation.JsonValue;
4
8
public
enum
OllamaChatMessageRole
{
9
SYSTEM
(
"system"
),
10
USER
(
"user"
),
11
ASSISTANT
(
"assistant"
);
12
13
@JsonValue
14
private
String roleName;
15
16
private
OllamaChatMessageRole
(String roleName){
17
this.roleName = roleName;
18
}
19
}
io.github.ollama4j.models.chat.OllamaChatMessageRole
Definition
OllamaChatMessageRole.java:8
io.github.ollama4j.models.chat.OllamaChatMessageRole.SYSTEM
SYSTEM
Definition
OllamaChatMessageRole.java:9
io.github.ollama4j.models.chat.OllamaChatMessageRole.USER
USER
Definition
OllamaChatMessageRole.java:10
io.github.ollama4j.models.chat.OllamaChatMessageRole.ASSISTANT
ASSISTANT
Definition
OllamaChatMessageRole.java:11
src
main
java
io
github
ollama4j
models
chat
OllamaChatMessageRole.java
Generated by
1.12.0