Stop Writing Loops: Mastering NumPy Broadcasting for Data Normalization
Learn how NumPy broadcasting eliminates slow Python loops by virtually expanding arrays for efficient element-wise operations without wasting memory.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how NumPy broadcasting eliminates slow Python loops by virtually expanding arrays for efficient element-wise operations without wasting memory.
I was trying to embed some documents on postgresql with the help of pgvector extension and langchain . Unfortunately I'm having trouble with the following error: (psycopg2.errors.UndefinedObject) type "vector" does not exist LINE 4: embedding VECTOR(1536), ^ [SQL: CREATE TABLE langchain_pg_embedding ( collection_id UUID, embedding VECTOR(1536), document VARC
Asked · 08 Oct 2022, 22:29 UTC
answered · 13 Oct 2022, 10:29 UTC