How to return id from db in my case

i use this code for write embeddings in my database:
const res = await ConvexVectorStore.fromDocuments(splitDocs, embeddings, { ctx });
const res = await ConvexVectorStore.fromDocuments(splitDocs, embeddings, { ctx });
Logic my app is - get id some embedding and pass it in Langchain context . But i need get id its embeddings from db - variable res don`t give me this info. How to do this?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?