這是來自美國大多數地點的非集中式交易所 (DEX) 的未經審查的資產。建立免費帳戶,看看是否可以交易。

關於 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:

當您購買 US$50 加密貨幣時,最多可盈收聚合器 US$2,000。

立即註冊帳戶
限制適用。查看完整條款。

US$0.000001234

交易洞察

市場統計

市值

US$1233.56

FDV

US$1233.56

Circ. 供應

10亿 LIVEFETCH

最大供應量

無最大供應量

總供應量

10亿 LIVEFETCH

表現

人氣

沒有足夠的資料

支配地位

沒有足夠的資料

交易量(24 小時)

沒有足夠的資料

交易量 (7D)

沒有足夠的資料

體積 (30D)

沒有足夠的資料

最高紀錄

沒有足夠的資料

價格變化 (1Y)

額外詳細資訊

市場詳細資訊

LIVEFETCH 相較於市場

沒有足夠的資料

LIVEFETCH vs 比特幣

沒有足夠的資料

LIVEFETCH vs ETH

沒有足夠的資料

標籤

0

網路與位址

網路
地址

Solana

9HBe4qvKaAFRRdxFvU8xcjUN6w4ZPcyi2MEcEmtwswrm

價格歷史記錄

時間
價格
變更
今天
US$0.000001234
沒有足夠的資料
1 天
US$0.000001132
0.00%
1 週
US$0.000001132
0.00%
1 個月
US$0.000001219
0.00%
1 年
US$0.00
0.00%

常見問答

我們實時將 LiveFetch 更新為 USD 貨幣。在 Coinbase 上獲取 LiveFetch 的實時價格

LiveFetch 目前的市值為 US$1233.563。高市值意味著資產受到市場的高度重視。

在過去 24 小時中,LiveFetch 的交易量為 US$0.00。

LiveFetch 目前的循環供應量為 10亿。

當您購買 US$50 加密貨幣時,最多可盈收聚合器 US$2,000。

首次購買之後賺取免費加密貨幣。

指南

LiveFetch 計算器

相關資產

法律