将 Telegram 消息从 SQLite 数据库增量导入 LanceDB 向量库。
D:\chat\telegram_messages.dbtelegram_messagesD:\edata.lanceD:\edata.lance\temp\telegram.ckpt(pickle 格式,断点续传)字段类型说明idstringtelegram:{group_id}:{message_id}textstring消息文本vectorfloat[2560]Qwen3-Embedding-4B 向量categorystring固定 telegramscopestring固定 sharedimportancefloat固定 0.5timestampint消息时间戳(Unix)metadatastringJSON:group_name, group_id, message_id, sender_id, sender_name, matched_keywords, is_reply, media_type, has_6_digit_number
http://127.0.0.1:1234/v1/embeddingstext-embedding-qwen3-embedding-4bbash
python.exe "C:\Users\admin\.openclaw\workspace\skills\telegram-import\scripts\chunk_db.py" telegram
telegram.ckpt 恢复 seen_keys 和 last_idxlast_idx + 1 继续扫描 DBseen_keys 中已存在的 key