Source code for kittycad.models.ml_message_role

from enum import Enum


[docs] class MlMessageRole(str, Enum): """The role of the author of a chat message.""" # noqa: E501 """# Client-authored input.""" # noqa: E501 CLIENT = "client" """# Server-authored message.""" # noqa: E501 SERVER = "server" def __str__(self) -> str: return str(self.value)