page.tsx26 lines · main
1import { DocsShell } from '../../components/shell';
2import { AskForm } from './ask-form';
3
4export const metadata = { title: 'ask docs' };
5export const dynamic = 'force-dynamic';
6
7export default function AskPage() {
8 return (
9 <DocsShell>
10 <h1 className="font-mono text-2xl tracking-tight">ask the docs</h1>
11 <p className="mt-2 font-mono text-sm text-[var(--color-text-muted)]">
12 a natural-language interface over every published docs page. ask anything — the
13 assistant retrieves the most relevant pages, answers your question grounded in those
14 pages, and cites the slugs so you can dig deeper.
15 </p>
16 <p className="mt-2 font-mono text-xs text-[var(--color-text-subtle)]">
17 runs on the same self-hosted Qwen 2.5-coder model the dashboard ai surfaces use — no
18 third-party AI provider. questions and answers are not logged.
19 </p>
20
21 <div className="mt-8">
22 <AskForm />
23 </div>
24 </DocsShell>
25 );
26}