Files
ai-taxonomy-literature-anal…/lib/types.ts
T
zzyang 13924f8985 Add LLM research survey site (Next.js pages router + SQLite)
- Next.js/React/TypeScript app: overview, paper explorer with FTS5 search,
  paper detail, global taxonomy tree with per-conference tag breakdown
- Python ingestion (ICLR/ICML 2026 via paperlists, ACL Anthology 2026) into
  data/papers.db, plus keyword-scored taxonomy (scripts/taxonomy.py)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bhs9LU8eMixk6g1kb1d3j7
2026-10-21 11:30:14 +00:00

52 lines
1.0 KiB
TypeScript

export interface Conference {
slug: string;
name: string;
short: string;
year: number;
kind: 'NLP' | 'ML';
start_date: string | null;
end_date: string | null;
location: string | null;
url: string | null;
papers_source: string | null;
paper_count: number;
}
export interface Paper {
id: number;
conf: string;
conf_short: string;
track: string | null;
award: string | null;
ext_id: string;
title: string;
abstract: string | null;
authors: string | null;
keywords: string | null;
tldr: string | null;
url: string | null;
pdf_url: string | null;
primary_area: string | null;
is_llm: number;
}
export interface TaxNode {
id: string;
parent: string | null;
label: string;
depth: number;
count: number; // distinct papers under this node (respecting filters)
children: TaxNode[];
}
export interface PaperQuery {
q: string;
conf: string;
node: string;
track: string;
llm: boolean;
sort: 'conf' | 'title' | 'rank';
page: number;
}
export const PAGE_SIZE = 30;