LiveFetch no se puede operar en Coinbase.

Los datos provienen de CoinMarketCap y otros terceros. No nos hacemos responsables de la precisión de los datos proporcionados. Más información

Acerca de 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:

Gana hasta 2000 US$ al comprar 50 US$ en criptomonedas

Quiero registrarme
Se aplican restricciones. Ver términos completos.

0,000001369 US$
Loading
Loading
Loading
Loading
Loading
Loading
Loading

Insights operación

Estadísticas del mercado

Capitalización de mercado

1,37 mil US$

FDV

1,37 mil US$

Suministro Circ.

1000 M LIVEFETCH

Suministro máx.

1000 M LIVEFETCH

Oferta total

1000 M LIVEFETCH

Rendimiento

Popularidad

No hay suficientes datos

Predominio

No hay suficientes datos

Volumen (24 horas)

No hay suficientes datos

Volumen (7 días)

No hay suficientes datos

Volumen (30 días)

No hay suficientes datos

Récord histórico

0,000000000001738 US$

Variación de precio (1A)

Detalles adicionales

Detalles del mercado

LIVEFETCH vs. mercados

0 %

LIVEFETCH vs BTC

↗ 49,68 %

LIVEFETCH contra ETH

↗ 78,14 %

Etiquetas

0

Red y direcciones

Red
Dirección

Solana

9HBe4qvKaAFRRdxFvU8xcjUN6w4ZPcyi2MEcEmtwswrm

Historial de precios

Hora
Precio
Variación
Hoy
0,000001369 US$
0,00 %
1 día
0,000001382 US$
0,00 %
1 semana
0,000001382 US$
0,00 %
1 mes
0,000001382 US$
0,00 %
1 año
0,00 US$
0,00 %

Preguntas frecuentes

Actualizamos nuestro LiveFetch a la moneda USD en tiempo real. Consulta el precio de LiveFetch en tiempo real en Coinbase.

La capitalización de mercado actual de LiveFetch es 1,369 mil US$. Una capitalización de mercado alta implica que el activo es muy valorado por el mercado.

El máximo histórico de LiveFetch es 0,000000000001738 US$. Este máximo histórico es el precio más alto pagado por LiveFetch desde su lanzamiento.

Durante las últimas 24 horas, el volumen de operaciones de LiveFetch es de 0,00 US$.

La oferta circulante actual de LiveFetch es de 1 mil millones.

Gana hasta 2000 US$ al comprar 50 US$ en criptomonedas

Gana criptomonedas gratis después de la primera compra.

Calculadora de LiveFetch

Activos relacionados

Información legal