v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.5
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.5
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
upstash_ratelimit
chains/graph_qa/cypher
chat_models
alibaba_tongyi
Loading...
Generated using
TypeDoc