Spaces:
Running
Running
Download index.html from helloyansquared/inquiry-desk: direct link, hf CLI and curl.
- Browser
- Download file 4.51 kB
-
https://huggingface.co/spaces/helloyansquared/inquiry-desk/resolve/main/index.html
- Command line
-
hf download hf://spaces/helloyansquared/inquiry-desk/index.html
-
curl -L -o index.html https://huggingface.co/spaces/helloyansquared/inquiry-desk/resolve/main/index.html
4.51 kB
| <html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="description" content="An AI automation portfolio: customer inquiry extraction, validation and reply drafts. Try recorded examples or run AI in your browser."><title>Inquiry Desk · 在线作品演示</title><link rel="stylesheet" href="./style.css"></head> | |
| <body><header><nav class="shell"><div class="brand"><i>↗</i>Inquiry Desk</div><div class="navright"><a href="https://github.com/yesyesyanyan/inquiry-desk-n8n-ai-automation" target="_blank" rel="noreferrer">GitHub / 完整 n8n 流程 ↗</a><span class="tag"><span class="dot"></span>在线作品演示</span></div></nav></header> | |
| <main class="shell"><section class="hero"><div><div class="eyebrow">AI AUTOMATION PORTFOLIO / 001</div><h1>让每一条询盘,都有条理。</h1><p>Customer inquiry → structured lead → review-ready reply.</p></div><div class="hero-meta">信息提取 · 缺失检查 · 回复模板<br>中英文输入 / 人工审核</div></section> | |
| <div class="flow"><span><b>1</b>输入询盘</span><em>→</em><span><b>2</b>提取字段</span><em>→</em><span><b>3</b>核对原文</span><em>→</em><span><b>4</b>准备回复</span></div> | |
| <section class="notice"><strong>两种体验,按需选择。</strong> 点击“查看预录案例”可立即看效果;点击“运行浏览器 AI”会下载约 500–550 MB 模型并真实推理,首次加载可能需要几分钟。速度取决于设备,建议使用桌面 Chrome 或 Edge。<div class="model-actions"><button id="load" class="chip">加载浏览器 AI</button><button id="cancel" class="chip" hidden>停止加载 / 运行</button><span class="small">无需 API Key · 输入内容不发送到推理服务器</span></div><p id="status" class="status" role="status" aria-live="polite">可先查看预录案例,无需下载模型。</p></section> | |
| <div class="grid"><section class="card"><div class="cardhead"><h2>客户询盘</h2><span class="small">01 / INPUT</span></div><div class="body"><div id="samples"></div><form id="form" style="margin-top:22px"><label for="message" class="label">粘贴询盘 / Paste an inquiry</label><textarea id="message" minlength="20" maxlength="1800" required placeholder="请选择示例,或输入虚构的客户询盘…"></textarea><div class="hint"><span>请勿输入真实客户的敏感资料</span><span id="chars">0 / 1800</span></div><button id="run" class="primary" type="submit">运行浏览器 AI ↗</button><p class="note">未加载模型时,首次运行会先下载模型。</p><div id="error" class="error" role="alert" hidden></div></form></div></section> | |
| <section class="card" aria-live="polite"><div class="cardhead"><h2>整理结果</h2><span id="badge" class="badge">等待输入</span></div><div id="empty" class="empty"><div><div class="empty-icon">≡</div><h3>从一条消息开始</h3><p>字段、待补充信息和回复模板会显示在这里。所有结果都需要人工审核。</p></div></div><div id="result" class="body" hidden></div></section></div> | |
| <section class="card records"><div class="cardhead"><h2>本次体验记录 <span id="count" class="counter">0</span></h2><div class="actions"><button id="clear" class="linkbtn">清空本页记录</button><button id="export" class="chip">导出 CSV ↓</button></div></div><div class="tablewrap"><table><thead><tr><th>联系人</th><th>预算</th><th>期望时间</th><th>结果来源</th><th></th></tr></thead><tbody id="rows"></tbody></table></div></section> | |
| <section class="notice"><strong>关于这个作品</strong><p>完整项目使用 n8n 编排、Python 校验、Ollama 推理和 SQLite 存储。这里是免费浏览器演示版,不运行服务器端 n8n;记录仅保存在当前页面,刷新即清空。AI 使用 Qwen2.5-0.5B,可能提取不完整或出错;回复采用模板生成,不会自动发送。</p><div class="model-actions"><a class="export" href="https://github.com/yesyesyanyan/inquiry-desk-n8n-ai-automation" target="_blank" rel="noreferrer">查看源码与部署说明 ↗</a><a class="export" href="https://github.com/yesyesyanyan/inquiry-desk-n8n-ai-automation/blob/main/workflow.json" target="_blank" rel="noreferrer">获取 n8n 工作流 ↗</a></div></section> | |
| <footer class="footer"><span>Inquiry Desk · by yesyesyanyan</span><span>浏览器 AI / Browser AI · Transformers.js</span></footer></main><script type="module" src="./app.js"></script></body></html> | |