GitHub
Docs
Preparing search index...
The search index is not available
Langfuse JS/TS SDKs
Langfuse JS/TS SDKs
langfuse
TextPromptClient
Class TextPromptClient
Hierarchy
BasePromptClient
TextPromptClient
Index
Constructors
constructor
Properties
config
is
Fallback
labels
name
prompt
prompt
Response
tags
type
version
Methods
_transform
To
Langchain
Variables
compile
get
Langchain
Prompt
toJSON
Constructors
constructor
new
Text
Prompt
Client
(
prompt
,
isFallback
?
)
:
TextPromptClient
Parameters
prompt
:
TextPrompt
Optional
isFallback
:
boolean
Returns
TextPromptClient
Properties
Readonly
config
config
:
unknown
Readonly
is
Fallback
is
Fallback
:
boolean
Readonly
labels
labels
:
string
[]
Readonly
name
name
:
string
Readonly
prompt
prompt
:
string
Readonly
prompt
Response
prompt
Response
:
TextPrompt
Readonly
tags
tags
:
string
[]
Readonly
type
type
:
"text"
|
"chat"
Readonly
version
version
:
number
Methods
Protected
_transform
To
Langchain
Variables
_transform
To
Langchain
Variables
(
content
)
:
string
Parameters
content
:
string
Returns
string
compile
compile
(
variables
?
)
:
string
Parameters
Optional
variables
:
Record
<
string
,
string
>
Returns
string
get
Langchain
Prompt
get
Langchain
Prompt
(
)
:
string
Returns
string
toJSON
toJSON
(
)
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
config
is
Fallback
labels
name
prompt
prompt
Response
tags
type
version
Methods
_transform
To
Langchain
Variables
compile
get
Langchain
Prompt
toJSON
GitHub
Docs
Langfuse JS/TS SDKs
Loading...