Not all documents are equally reliable or current. A prospectus from 2024 should take precedence over a marketing draft from 2022. Authority and recency scoring helps the system prioritize the most trustworthy and up-to-date information when answering your questions.
Authority scoring assigns different weights to documents based on their type and source. Official documents like prospectuses and fact sheets receive higher scores than informal documents like meeting notes or drafts.
| Document Type | Authority | Weight |
|---|---|---|
| Prospectus, SAI | Highest | 1.0 |
| Fact Sheet, Product Doc | High | 0.9 |
| Research Report | Medium-High | 0.8 |
| Investment Memo | Medium | 0.7 |
| Presentation | Medium | 0.6 |
| Internal Memo | Lower | 0.5 |
| Draft, Notes | Low | 0.3 |
Authority is assigned during document ingestion based on:
Recency scoring boosts newer documents over older ones. This is particularly important for time-sensitive information like market data, performance figures, and regulatory updates.
Document scores decay over time using an exponential model. The decay rate is configurable but defaults to a half-life of approximately 180 days.
The final relevance score for a document combines three factors:
For example, a highly relevant (0.8) prospectus (1.0 authority) from last month (0.95 recency) would score 0.8 × 1.0 × 0.95 = 0.76
| Document | Semantic | Authority | Recency | Final |
|---|---|---|---|---|
| 2024 Prospectus | 0.75 | 1.0 | 0.9 | 0.68 |
| 2022 Research Report | 0.85 | 0.8 | 0.3 | 0.20 |
| Recent Draft Memo | 0.90 | 0.3 | 0.95 | 0.26 |
In this example, the 2024 Prospectus wins despite having lower semantic similarity because its high authority and recent date outweigh the research report's slightly better semantic match.
Authority weights are configured in the assets/authority_config.json file. Administrators can adjust weights for different document types, paths, and keywords.
Authority and recency scoring affects which documents appear in your results and in what order. When multiple documents discuss the same topic: