Open Pragya7011 opened 1 month ago
Code changes for formatting response from nearest neighbour call search in chroma vector db.
Sample Command : VectorDatabaseQuery ( engine = "41766dd6-cfc0-4425-ac7c-e0e1715bbfab" , command = "what is somatosensory" , limit = 5 ) ;
O/P : [ { "Content": "This is a...", "Divider": "1, 2", "Modality": "text", "Part": "0", "Source": "somatosensory.pdf", "Tokens": 488 }, { "Content": "receptors respond to ..", "Divider": "3, 4", "Modality": "text", "Part": "0", "Source": "somatosensory.pdf", "Tokens": 500 } ]
Can we take a look at the changes I pushed and see if that does what the previous code was doing?
@themaherkhalil : We are getting formatted search response with new code . Please merge the code.
Code changes for formatting response from nearest neighbour call search in chroma vector db.
Sample Command : VectorDatabaseQuery ( engine = "41766dd6-cfc0-4425-ac7c-e0e1715bbfab" , command = "what is somatosensory" , limit = 5 ) ;
O/P : [ { "Content": "This is a...", "Divider": "1, 2", "Modality": "text", "Part": "0", "Source": "somatosensory.pdf", "Tokens": 488 }, { "Content": "receptors respond to ..", "Divider": "3, 4", "Modality": "text", "Part": "0", "Source": "somatosensory.pdf", "Tokens": 500 } ]