v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.10
LangChain.js
langchain-core/example_selectors
LengthBasedExampleSelectorInput
Interface LengthBasedExampleSelectorInput
Interface for the input parameters of the LengthBasedExampleSelector class.
interface
LengthBasedExampleSelectorInput
{
examplePrompt
:
PromptTemplate
<
any
,
any
>
;
getTextLength
?:
(
(
text
:
string
)
=>
number
)
;
maxLength
?:
number
;
}
Index
Properties
example
Prompt
get
Text
Length?
max
Length?
Properties
example
Prompt
example
Prompt
:
PromptTemplate
<
any
,
any
>
Optional
get
Text
Length
get
Text
Length
?:
(
(
text
:
string
)
=>
number
)
Optional
max
Length
max
Length
?:
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
example
Prompt
get
Text
Length
max
Length
LangChain.js - v0.2.10
Loading...
Interface for the input parameters of the LengthBasedExampleSelector class.