v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.0-rc.1
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
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
value
to
Chat
Messages
toJSON
toJSONNot
Implemented
to
String
LangChain.js - v0.2.0-rc.1
langchain-anthropic
langchain-azure-openai
langchain-cloudflare
langchain-cohere
langchain-community
agents/toolkits
aws_sfn
base
connery
caches
cloudflare_kv
ioredis
momento
upstash_redis
callbacks/handlers
llmonitor
lunary
chains/graph_qa/cypher
chat_models
alibaba_tongyi
baiduwenxin
Loading...
Generated using
TypeDoc