llmgleam/types
Types
pub type Completion {
Completion(content: String)
}
Constructors
-
Completion(content: String)
pub type CompletionError {
HttpError(String)
JsonError(String)
ApiError(String)
}
Constructors
-
HttpError(String) -
JsonError(String) -
ApiError(String)
Values
pub fn str_to_role(role_str: String) -> option.Option(Role)