MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _vector_to_blob

Function _vector_to_blob

skills/wiki-store/scripts/wiki_db.py:103–108  ·  view source on GitHub ↗
(vector: List[float])

Source from the content-addressed store, hash-verified

101 """Return whether a SQLite table exists in the PaperFlow database."""
102 conn = db_ops.get_connection()
103 row = conn.execute(
104 "SELECT 1 FROM sqlite_master WHERE type = 'table' AND name = ?",
105 (table_name,),
106 ).fetchone()
107 conn.close()
108 return row is not None
109
110
111def _vector_to_blob(vector: List[float]) -> bytes:

Callers 1

embed_nodes_for_userFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected