Search
Preparing search index...
The search index is not available
Oracle Cloud Infrastructure SDK for TypeScript and JavaScript API Reference - 2.93.0
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
generativeaiinference/lib/model/cohere-user-message
CohereUserMessage
Globals
generativeaiinference/lib/model/cohere-user-message
CohereUserMessage
Namespace CohereUserMessage
A message that represents a single chat dialog as USER role.
Properties
message
role
Methods
get
Deserialized
Json
Obj
get
Json
Obj
Properties
message
message
:
string
Contents of the chat message.
Const
role
role
:
string
= "USER"
Methods
get
Deserialized
Json
Obj
get
Deserialized
Json
Obj
(
obj
:
CohereMessage
)
:
object
Parameters
obj:
CohereMessage
Returns
object
get
Json
Obj
get
Json
Obj
(
obj
:
CohereMessage
)
:
object
Parameters
obj:
CohereMessage
Returns
object
message
role
get
Deserialized
Json
Obj
get
Json
Obj
A message that represents a single chat dialog as USER role.