Search
Preparing search index...
The search index is not available
Oracle Cloud Infrastructure SDK for TypeScript and JavaScript API Reference - 2.96.0
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
generativeaiinference/lib/model/text-content
TextContent
Globals
generativeaiinference/lib/model/text-content
TextContent
Namespace TextContent
Represents a single instance of text in the chat content.
Properties
text
type
Methods
get
Deserialized
Json
Obj
get
Json
Obj
Properties
Optional
text
text
:
undefined
|
string
The text content.
Const
type
type
:
string
= "TEXT"
Methods
get
Deserialized
Json
Obj
get
Deserialized
Json
Obj
(
obj
:
ChatContent
)
:
object
Parameters
obj:
ChatContent
Returns
object
get
Json
Obj
get
Json
Obj
(
obj
:
ChatContent
)
:
object
Parameters
obj:
ChatContent
Returns
object
text
type
get
Deserialized
Json
Obj
get
Json
Obj
Represents a single instance of text in the chat content.