openmaic-custom/lib/types/web-search.ts
wyuc 0d20abfed9 Initial commit: OpenMAIC AI classroom platform
Next.js 16 App Router application with:
- AI-powered interactive classroom generation from PDF/text requirements
- Multi-agent discussion system (teacher, students, assistant roles)
- Provider abstraction for LLM, TTS, ASR, image, video, web search
- Local-first data architecture (IndexedDB/Dexie)
- i18n support (zh-CN/en-US)
- Structured logger, SSRF guard, lint/build passing (0 errors)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 16:41:07 +08:00

14 lines
232 B
TypeScript

export interface WebSearchSource {
title: string;
url: string;
content: string;
score: number;
}
export interface WebSearchResult {
answer: string;
sources: WebSearchSource[];
query: string;
responseTime: number;
}