llmsmith.reranker.options package
Submodules
llmsmith.reranker.options.cohere module
- class llmsmith.reranker.options.cohere.CohereRerankerOptions
Bases:
TypedDictA dictionary of options to be passed into Cohere reranker. The option names are same as the ones used in the reranker method of Cohere client. Refer below links for more info.
- max_chunks_per_doc: int | None
- model: str
- rank_fields: List[str] | None
- request_options: RequestOptions | None
- return_documents: bool | None
- top_n: int | None