Closed shivankacker closed 1 year ago
There is one already. I added it earlier, it's in ayushma/utils/openaiapi.py
There is one already. I added it earlier, it's in
ayushma/utils/openaiapi.py
Looks good, I will refactor the upsert
to use the method in utils.
Currently we are getting embeddings during upsert as well as in the
/chat
api through a function. Replace the logic of getting embeddings during upsert to also use this function. Update the logic in the function to convert input into chunks