📖 Overview
Chat with memory — แชทคุยกับ AI ที่จำทุกบทสนทนา ใช้ API key ของคุณเอง (OpenAI / Anthropic)
🛠️ Tech Stack
vanilla HTMLmarked.jslocalStorageOpenAI APIAnthropic API
🏷️ Tags
- chatbot
- memory
- byok
- openai
- claude
v1.2
Memo AI v1.2 — Token count + cost estimate
released
2026-07-05
🗣️ User Command
ขอดู token count กับ cost estimate ด้วย จะได้รู้ว่าใช้ไปเท่าไหร่
🤖 AI Response
เพิ่ม gpt-tokenizer + cost table ต่อ model
✅ What Changed
- Live token count ของ input/output
- Cost estimate based on current pricing
- Model selector: gpt-4o-mini / gpt-4o / claude-3-5-sonnet / claude-3-haiku
v1.1
Memo AI v1.1 — Multi-conversation + export
released
2026-07-03
🗣️ User Command
อยากเก็บหลาย conversation และ export แชทเป็น markdown ได้
🤖 AI Response
เพิ่ม sidebar รายชื่อ conversation + export .md button
✅ What Changed
- Sidebar รายการ conversation พร้อม new/rename/delete
- Export to Markdown — ดาวน์โหลด .md พร้อม metadata
- Search across all conversations
v1.0
Memo AI v1.0 — Chat with memory, BYOK
released
2026-07-01
🗣️ User Command
อยากได้แชทบอทที่จำทุกบทสนทนา ใช้ API key ของตัวเองได้ทั้ง OpenAI และ Claude
🤖 AI Response
vanilla HTML + localStorage + OpenAI/Anthropic API direct (CORS-friendly with anthropic-dangerous-direct-browser-access)
✅ What Changed
- single index.html 61KB — UI + state + API calls ทั้งหมด
- BYOK settings panel — ใส่ key ครั้งเดียว เก็บ localStorage
- Memory = array ของ {role, content} ต่อ conversation
- Markdown render ด้วย marked.js CDN