Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for Local Small Language Models (SLMs) and Edge AI execution — WebLLM, Transformers.js v3, ONNX Runtime Web, WebGPU, and zero-latency local embeddings / Panduan ahli SLM lokal dan AI edge di browser.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
<a name="english"></a>
Production-grade architectural guide for running Small Language Models (SLMs) and embedding models directly inside client browsers and edge runtimes. Eliminates cloud API costs, guarantees 100% data privacy (zero cloud data leakage), and enables instant, offline-capable AI features using WebGPU, Transformers.js v3, WebLLM, and ONNX Runtime Web.
all-MiniLM-L6-v2 or bge-small-en-v1.5 using Transformers.js v3.import { pipeline, env } from '@huggingface/transformers';
// Configure cache and worker settings
env.allowLocalModels = false;
env.useBrowserCache = true;
let embedder: any = null;
export async function getLocalEmbedding(text: string): Promise<number[]> {
if (!embedder) {
embedder = await pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2', {
dtype: 'fp32',
device: 'webgpu', // Accelerate via WebGPU if supported
});
}
const output = await embedder(text, { pooling: 'mean', normalize: true });
return Array.from(output.data);
}
import * as webllm from '@mlc-ai/web-llm';
export async function createLocalChatEngine(onProgress?: (report: webllm.InitProgressReport) => void) {
// Check WebGPU compatibility
if (!('gpu' in navigator)) {
throw new Error('WebGPU is not supported in this browser. Fallback to cloud API.');
}
const selectedModel = 'Llama-3.2-1B-Instruct-q4f32_1-MLC';
const engine = await webllm.CreateMLCEngine(selectedModel, {
initProgressCallback: onProgress,
});
return {
generateResponse: async (prompt: string): Promise<string> => {
const reply = await engine.chat.completions.create({
messages: [{ role: 'user', content: prompt }],
temperature: 0.2,
});
return reply.choices[0]?.message.content || '';
},
};
}
'gpu' in navigator) before initiating WebGPU model loads.llm-finops-router, senior-frontend, vector-db-rag-expert, compliance-gdpr-privacy-expert.<a name="bahasa-indonesia"></a>
Panduan arsitektur tingkat produksi untuk menjalankan Small Language Models (SLM) dan model embedding langsung di dalam browser pengguna dan runtime edge. Menghilangkan biaya API cloud, menjamin privasi data 100% (tidak ada data yang keluar ke server pihak ketiga), dan mengaktifkan fitur AI instan yang dapat bekerja secara offline menggunakan WebGPU, Transformers.js v3, WebLLM, dan ONNX Runtime Web.
all-MiniLM-L6-v2 atau bge-small).import { pipeline, env } from '@huggingface/transformers';
env.allowLocalModels = false;
env.useBrowserCache = true;
let modelEmbedding: any = null;
export async function buatEmbeddingLokal(teks: string): Promise<number[]> {
if (!modelEmbedding) {
modelEmbedding = await pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2', {
dtype: 'fp32',
device: 'webgpu',
});
}
const hasil = await modelEmbedding(teks, { pooling: 'mean', normalize: true });
return Array.from(hasil.data);
}
import * as webllm from '@mlc-ai/web-llm';
export async function inisialisasiMesinLokal(laporanProgres?: (laporan: webllm.InitProgressReport) => void) {
if (!('gpu' in navigator)) {
throw new Error('WebGPU tidak didukung pada browser ini. Alihkan ke API cloud.');
}
const modelTerpilih = 'Llama-3.2-1B-Instruct-q4f32_1-MLC';
const mesin = await webllm.CreateMLCEngine(modelTerpilih, {
initProgressCallback: laporanProgres,
});
return {
kirimPesan: async (pertanyaan: string): Promise<string> => {
const balasan = await mesin.chat.completions.create({
messages: [{ role: 'user', content: pertanyaan }],
temperature: 0.2,
});
return balasan.choices[0]?.message.content || '';
},
};
}
'gpu' in navigator) sebelum memuat model.llm-finops-router, senior-frontend, vector-db-rag-expert, compliance-gdpr-privacy-expert.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for intelligent model cascading and routing — complexity-scored task routing from Flash/Haiku to Sonnet/Opus/Astra, dynamic escalation with quality gates, 40-60% token cost reduction while maintaining output quality / Panduan ahli untuk kaskade dan routing model cerdas — routing tugas berbasis skor kompleksitas dari Flash/Haiku ke Sonnet/Opus/Astra, eskalasi dinamis dengan gerbang kualitas, pengurangan biaya token 40-60% dengan kualitas output terjaga.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for Affective Computing, emotional AI, and real-time sentiment analysis through native multimodal tokens (voice intonation and facial micro-expressions) / Panduan ahli komputasi afektif, AI emosional, dan analisis sentimen real-time melalui token multimodal native.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for AI-assisted coding workflows — agentic code generation, multi-agent code swarms, self-healing CI/CD, automated PR review, spec-to-code pipelines, codebase knowledge graphs, and human-in-the-loop approval gates / Panduan ahli untuk workflow pengkodean berbasis AI — generasi kode agentic, code swarm multi-agen, CI/CD self-healing, review PR otomatis, pipeline spec-to-code, knowledge graph codebase, dan gate persetujuan human-in-the-loop.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for long-term episodic memory integration (Mem0 v2, Letta/MemGPT, Zep v2), memory tier architecture, pgvector HNSW storage, and unified context management for autonomous AI agents / Panduan ahli untuk integrasi memori episodik jangka panjang (Mem0 v2, Letta/MemGPT, Zep v2), arsitektur tier memori, penyimpanan pgvector HNSW, dan manajemen konteks terpadu untuk agen AI otonom.
日本語の概要は準備中です。原文の説明を表示しています。
Expert guide for designing Machine-to-Machine (M2M) micro-economies, autonomous agent wallets, and swarm budget allocation / Panduan ahli merancang ekonomi mikro antar-agen (M2M), dompet agen otonom, dan alokasi anggaran swarm.
日本語の概要は準備中です。原文の説明を表示しています。