org.llm4s.llmconnect.model.UserMessage
See theUserMessage companion object
Represents a user message in the conversation.
Value parameters
-
content
-
Content of the user message.
Attributes
-
Companion
-
object
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Attributes
-
Inherited from:
-
Product
Attributes
-
Inherited from:
-
Product
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
-
Returns
-
a string representation of the object.
-
Definition Classes
-
-
Inherited from:
-
Message
Validates that this message satisfies its role-specific content constraints.
Validates that this message satisfies its role-specific content constraints.
Returns Left(ValidationError) when content is blank; AssistantMessage additionally requires at least one of content or toolCalls to be present.
Attributes
-
Inherited from:
-
Message