Skip to main content
Run any Skill in Manus
with one click

pgvector-asyncpg-raw-sql-list-bind

Stars2
Forks0
UpdatedMay 29, 2026 at 02:42

pgvector 임베딩을 SQLAlchemy raw text() SQL로 바인드할 때 Python list를 그대로 넘기면 asyncpg가 "expected str, got list"로 거부한다. 텍스트형 "[...]" + CAST(:p AS vector) 필요. SQLite 단위테스트로는 못 잡고 실제 PG+실제 임베딩 e2e에서만 표면화.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly