Skip to content
曾亮懿 ZengLiangYi Blog
Tag

#AI

11 posts tagged "AI".

Building an Embedding Service: Text, Chunks, and Commits

Design a resilient Node.js text embedding pipeline: separate field selection, soft chunking, vector dimension checks, and atomic index commits.

曾亮懿 Leon Zeng
4 min read
#ChatCrystal #AI #Node.js

Structured JSON Prompts: Zod Schemas & Source Grounding

Design reliable structured JSON prompts with Zod schemas and source citations: reduce LLM hallucinations and validate field evidence offline in Node.js.

曾亮懿 Leon Zeng
4 min read
#ChatCrystal #AI #Node.js

Local Vector Search with Vectra: Metadata Filters & Saves

Run a deterministic Vectra 0.15.0 exercise in a temporary directory to check cosine scores, metadata filters, reopening, and canceled updates.

曾亮懿 Leon Zeng
4 min read
#ChatCrystal #AI #Node.js #Vector search

Structured LLM Notes with Vercel AI SDK & Zod Validation

Extract structured engineering notes with Vercel AI SDK and Zod: separate provider adapters from schema validation and offline factual checks.

曾亮懿 Leon Zeng
4 min read
#ChatCrystal #AI #Node.js

Configuring Cloud LLMs: Providers, Endpoints, and Summaries

Configure OpenAI, Anthropic, Gemini, and custom gateways in Vercel AI SDK: separate native APIs from compatible endpoints and verify credentials.

曾亮懿 Leon Zeng
4 min read
#ChatCrystal #AI #LLM

Decoupling LLM and Embedding Configs Across API Gateways

Distinguish text generation from vector generation, then verify ChatCrystal model settings, connection tests, and index rebuilding boundaries.

曾亮懿 Leon Zeng
4 min read
#ChatCrystal #AI #Vector search

Local LLM & RAG with Ollama: Inference and Embedding Setup

Run and verify Ollama locally for chat and RAG: isolate local vs. cloud endpoints, validate embedding dimensions, and check vector search consistency.

曾亮懿 Leon Zeng
3 min read
#ChatCrystal #AI #RAG

Baidu PaddleOCR-VL in Python: Async Polling & BBox Review

Connect to Baidu PaddleOCR-VL using Python standard library: manage async polling, coordinate bounding boxes, and build a document proofreading UI.

曾亮懿 Leon Zeng
8 min read
#AI #Data parsing

Claude Code, Cursor & Copilot Chat Formats: JSONL vs SQLite

Parse Claude Code, Codex, Cursor, Trae, and Copilot chats, comparing how JSONL messages, event streams, SQLite KV stores, and database snapshots differ.

曾亮懿 Leon Zeng
7 min read
#ChatCrystal #TypeScript #AI #Data parsing

Local-First and Cloud AI: Understanding Data Boundaries

Trace storage, embeddings, summaries, and agent recall in ChatCrystal to identify which data boundaries local-first architecture actually controls.

曾亮懿 Leon Zeng
5 min read
#ChatCrystal #Architecture #AI

From writing to code

Explore ChatCrystal, KeelDesk, n8n workflows and daily learning notes on my GitHub. Questions about the implementation are welcome.