v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.0
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
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
to
Chat
Messages
toJSON
toJSONNot
Implemented
to
String
LangChain.js - v0.2.0
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