Retriever
Property | Pattern | Type | Deprecated | Definition | Title/Description |
---|---|---|---|---|---|
+ implementation | No | const | No | - | Implementation |
- max_num_results | No | integer | No | - | Max Num Results |
- question_transformer | No | Reference[QuestionTransformer] | No | - | - |
- document_retriever | No | Reference[DocumentRetriever] | No | - | - |
- document_reranker | No | Reference[DocumentReranker] | No | - | - |
- result_summarizer | No | Reference[ResultSummarizer] | No | - | - |
1. Property implementation
Title: Implementation
Type | const |
Required | Yes |
Specific value: "Retriever"
2. Property max_num_results
Title: Max Num Results
Type | integer |
Required | No |
Default | 10 |
Description: The maximum number of results to consider.
3. Property question_transformer
Type | Reference[QuestionTransformer] |
Required | No |
Default | {"implementation": "QuestionTransformer"} |
4. Property document_retriever
Type | Reference[DocumentRetriever] |
Required | No |
Default | {"implementation": "DocumentRetriever"} |
5. Property document_reranker
Type | Reference[DocumentReranker] |
Required | No |
Default | {"implementation": "DocumentReranker"} |
6. Property result_summarizer
Type | Reference[ResultSummarizer] |
Required | No |
Default | {"implementation": "ResultSummarizer"} |