v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.8
LangChain.js
langchain-core/prompt_values
StringPromptValueInterface
Interface StringPromptValueInterface
interface
StringPromptValueInterface
{
value
:
string
;
toChatMessages
(
)
:
BaseMessage
[]
;
toJSON
(
)
:
Serialized
;
toJSONNotImplemented
(
)
:
SerializedNotImplemented
;
toString
(
)
:
string
;
}
Hierarchy (
view full
)
BasePromptValueInterface
StringPromptValueInterface
Implemented by
StringPromptValue
Index
Properties
value
Methods
to
Chat
Messages
toJSON
toJSONNot
Implemented
to
String
Properties
value
value
:
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
Properties
value
Methods
to
Chat
Messages
toJSON
toJSONNot
Implemented
to
String
LangChain.js - v0.2.8
Loading...
Returns a string representation of an object.