Data is sourced from CoinMarketCap and other third parties. We make no representation on the accuracy of the data provided. Learn more
About LiveFetch
A small framework/module for keeping LLMs up-to-date with current events past their cut-off date.
# LiveFetch
Keyless evidence retrieval framework for grounded reasoning systems.
## Overview
LiveFetch provides deterministic, timestamped web evidence for LLM pipelines. It combines discovery, extraction, and multi-factor ranking into a single retrieval primitive that returns structured `EvidencePacket` objects.
## Architecture
```mermaid
flowchart LR
I[RetrievalIntent] --> D[Discovery]
D -->|URLs| F[Fetch]
F -->|HTML| E[Extract]
E -->|text + meta| S[Score]
S --> P[EvidencePacket]
S -.-> C[(SQLite)]
```
## Scoring Model
Documents are ranked by a weighted linear combination:
$S(d|q) = w_r * R + w_f * F + w_t * T - w_dup * D$
| Component | Weight | Description |
|-----------|--------|-------------|
| R (relevance) | 0.55 | Token overlap + fuzzy string similarity |
| F (freshness) | 0.25 | Exponential decay: $2^(-age_days / 7)$ |
| T (trust) | 0.20 | Domain-based prior (.gov=0.9, .edu=0.85, etc.) |
| D (redundancy) | 0.35 | Similarity penalty to already-selected docs |
## Installation
```bash
pip install -r requirements.txt
```
## Usage
```python
from DCC.main import LiveFetch, RetrievalIntent
intent = RetrievalIntent(
query="EU AI Act enforcement",
mode="news", # web | news | rss
max_results=5,
freshness_days=14,
need_quotes=True
)
with LiveFetch() as lf:
packets = lf.run_sync(intent)
```
## Data Structures
### RetrievalIntent
| Field | Type | Default | Description |
|-------|------|---------|-------------|
| query | str | required | Search query or RSS URL |
| mode | Literal | "news" | Discovery mode: web, news, rss |
| max_results | int | 8 | Max packets returned |
| freshness_days | int | 14 | Hard filter cutoff (None=disabled) |
| need_quotes | bool | True | Extract quotable sentences |
| allow_domains | List[str] | None | Whitelist filter |
| deny_domains | List[str] | None | Blacklist filter |
### EvidencePacket
| Field | Type | Description |
|-------|------|-------------|
| url | str | Canonical source URL |
| domain | str | Extracted domain |
| title | str | Page title |
| text | str | Extracted content (clipped to 12k chars) |
| published_at | datetime | Publication timestamp |
| fetched_at | datetime | Retrieval timestamp (UTC) |
| score | float | Composite ranking score |
| score_breakdown | Dict | Individual R/F/T/D components |
| content_sha256 | str | Content hash for deduplication |
| quotes | List[str] | Key sentences for citation |
## Extraction Pipeline
1. **trafilatura** (primary) - fast mode extraction
2. **newspaper3k** (fallback) - also provides publish date inference
3. **readability-lxml** (tertiary) - boilerplate removal + trafilatura cleanup
## Cache
SQLite with WAL mode. Schema:
```sql
CREATE TABLE docs (
url TEXT PRIMARY KEY,
content_sha256 TEXT,
fetched_at TEXT,
published_at TEXT,
title TEXT,
text TEXT
);
```
Default path: `livefetch.sqlite`
## Configuration
Class attributes on `LiveFetch`:
| Attribute | Default | Description |
|-----------|---------|-------------|
| MAX_CONCURRENCY | 6 | Parallel fetch limit |
| TIMEOUT_S | 15.0 | HTTP timeout |
| MAX_CHARS | 12000 | Content truncation |
| FRESHNESS_HALF_LIFE | 7.0 | Days for 50% freshness decay |
## Dependencies
- ddgs (DuckDuckGo search)
- httpx (async HTTP)
- trafilatura, newspaper3k, readability-lxml (extraction)
- rapidfuzz (similarity)
- tldextract (domain parsing)
- feedparser (RSS)
Source:
Trading Insights
Market Stats
Market Cap
£916.97
FDV
£916.97
Circ. Supply
1B LIVEFETCH
Max Supply
No maximum supply
Total Supply
1B LIVEFETCH
Performance
Popularity
Not enough data
Dominance
Not enough data
Volume (24H)
Not enough data
Volume (7D)
Not enough data
Volume (30D)
Not enough data
All time high
Not enough data
Price Change (1Y)
Past performance is not a reliable indicator of future results. Learn more about asset risks.
Additional details
Recent trends
The current price is £0.0000009171 per LIVEFETCH with a 24-hour trading volume of £0.00.
The current circulating supply of LiveFetch is 999,899,546.961 LIVEFETCH which means that LiveFetch has as total market cap of £916.97.
Market details
LIVEFETCH vs markets
Not enough data
LIVEFETCH vs BTC
Not enough data
LIVEFETCH vs ETH
Not enough data
Tags
Network & Addresses
Network | Address | |
|---|---|---|
Solana | 9HBe4qvKaAFRRdxFvU8xcjUN6w4ZPcyi2MEcEmtwswrm |
Price history
Time | Price | Change |
|---|---|---|
Today | £0.0000009171 | Not enough data |
1 Day | £0.0000008406 | |
1 Week | £0.0000008416 | |
1 Month | £0.0000009102 | |
1 Year | £0.00 |
Past performance is not a reliable indicator of future results. Learn more about asset risks.
FAQ
LiveFetch calculator
Related assets
Popular prediction markets
Legal
This data was sourced in real-time from Coinbase and other third party market vendors. Real-time data may encounter temporary delays due to system performance or downtime.
Information is provided for informational purposes only and is not investment advice. This is not a recommendation to buy or sell a particular digital asset or to employ a particular investment strategy. Coinbase makes no representation on the accuracy, suitability, or validity of any information provided or for a particular asset.
Certain content has been prepared by third parties not affiliated with Coinbase Inc. or any of its affiliates and Coinbase is not responsible for such content. Coinbase is not liable for any errors or delays in content, or for any actions taken in reliance on any content. Information is provided for informational purposes only and is not investment advice. This is not a recommendation to buy or sell a particular digital asset or to employ a particular investment strategy. Coinbase makes no representation on the accuracy, suitability, or validity of any information provided or for a particular asset. Prices shown are for illustrative purposes only. Actual cryptocurrency prices and associated stats may vary. Data presented may reflect assets traded on Coinbase’s exchange and select other cryptocurrency exchanges.



