langchain.js
Preparing search index...
@langchain/core
example_selectors
LengthBasedExampleSelectorInput
Interface LengthBasedExampleSelectorInput
Interface for the input parameters of the LengthBasedExampleSelector class.
interface
LengthBasedExampleSelectorInput
{
examplePrompt
:
PromptTemplate
;
getTextLength
?:
(
text
:
string
)
=>
number
;
maxLength
?:
number
;
}
Index
Properties
example
Prompt
get
Text
Length?
max
Length?
Properties
example
Prompt
examplePrompt
:
PromptTemplate
Optional
get
Text
Length
getTextLength
?:
(
text
:
string
)
=>
number
Optional
max
Length
maxLength
?:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
example
Prompt
get
Text
Length
max
Length
langchain.js
Loading...
Interface for the input parameters of the LengthBasedExampleSelector class.