v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.8
LangChain.js
langchain/retrievers/document_compressors/embeddings_filter
EmbeddingsFilterParams
Interface EmbeddingsFilterParams
Interface for the parameters of the
EmbeddingsFilter
class.
interface
EmbeddingsFilterParams
{
embeddings
:
EmbeddingsInterface
;
k
?:
number
;
similarityFn
?:
(
(
x
:
number
[]
[]
,
y
:
number
[]
[]
)
=>
number
[]
[]
)
;
similarityThreshold
?:
number
;
}
Index
Properties
embeddings
k?
similarity
Fn?
similarity
Threshold?
Properties
embeddings
embeddings
:
EmbeddingsInterface
Optional
k
k
?:
number
Optional
similarity
Fn
similarity
Fn
?:
(
(
x
:
number
[]
[]
,
y
:
number
[]
[]
)
=>
number
[]
[]
)
Optional
similarity
Threshold
similarity
Threshold
?:
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
embeddings
k
similarity
Fn
similarity
Threshold
LangChain.js - v0.2.8
Loading...
Interface for the parameters of the
EmbeddingsFilter
class.