BaseCrossEncoder#
- class langchain.retrievers.document_compressors.cross_encoder.BaseCrossEncoder[source]#
Interface for cross encoder models.
Methods
__init__
()score
(text_pairs)Score pairs' similarity.
- __init__()#
Site Navigation
Section Navigation
agents
callbacks
chains
chat_models
embeddings
evaluation
globals
hub
indexes
memory
model_laboratory
output_parsers
retrievers
runnables
smith
storage
retrievers
Interface for cross encoder models.
Methods
|
|
|
Score pairs' similarity. |