#Embedding - is it possible to search vectors in DB?

1 messages · Page 1 of 1 (latest)

queen storm
#

Hello, am quite new with Python, but I'd like to use embedding & davinci (or possibly it gpt-3.5) as text output as Q&A on my site. I have rough idea how this works, still need to read few articles about how should i calculate those vectors. Anyway my main worry is that every article i read till now uses CSV files, but i would love to save these to my DB (+even make interface to add additional info & calculate vector on submit).

So my main question,is it possible to compare vectors in MySQL DB or CSV only? Second question tho is that how much would be actual cost of those calls - we've got around 300-400 products each with some parameters (material, limited quantity etc.) + big description, so does each call go through those 300-400 products which i guess would be huge token consumption or after calculating vectors only payment am paying is for davinci/gpt-3.5 text output?

Thanks and sorry for stupid question