v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.10
LangChain.js
langchain-core/prompt_values
BasePromptValueInterface
Interface BasePromptValueInterface
interface
BasePromptValueInterface
{
toChatMessages
(
)
:
BaseMessage
[]
;
toJSON
(
)
:
Serialized
;
toJSONNotImplemented
(
)
:
SerializedNotImplemented
;
toString
(
)
:
string
;
}
Hierarchy (
view full
)
Serializable
BasePromptValueInterface
StringPromptValueInterface
ChatPromptValueInterface
Implemented by
BasePromptValue
Index
Methods
to
Chat
Messages
toJSON
toJSONNot
Implemented
to
String
Methods
to
Chat
Messages
to
Chat
Messages
(
)
:
BaseMessage
[]
Returns
BaseMessage
[]
toJSON
toJSON
(
)
:
Serialized
Returns
Serialized
toJSONNot
Implemented
toJSONNot
Implemented
(
)
:
SerializedNotImplemented
Returns
SerializedNotImplemented
to
String
to
String
(
)
:
string
Returns a string representation of an object.
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
to
Chat
Messages
toJSON
toJSONNot
Implemented
to
String
LangChain.js - v0.2.10
Loading...
Returns a string representation of an object.