postgresml / postgresml

The GPU-powered AI application database. Get your app to market faster using the simplicity of SQL and the latest NLP, ML + LLM models.

Home Page:https://postgresml.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Regarding upserting multiple texts and links

Swarnitha-eluru opened this issue · comments

I am trying to upsert documents in the below format but its failing its showing that it got upserted but when I check in the database there is table with empty documents ,chunks etc..
{"id":str(unique_id),"text1":str(data1),"link1":str(doc1),"text2":str(data2),"link2":str(doc2),"text3":str(data3),"link3":str(doc3)}
It is upserting only for this format {"id":str(unique_id),"text":str(data1),"link":str(doc1)}
I am having requirement to upsert three links , three texts respectively along with the id in the above format which I shared.
Can you please show me the solution on this.
image
image