API V.S DataBase View/Procedure

Hello,

Can anyone help to understand when do we need to use API call or when to go for Database view/Procedure call? Do you think we are still rely on Database view?

Thank you,
Mohd Rafeea

From what I understand, anytime you want to index custom data (word, pdf, web pages, etc) you’d use the embeddings tools and store the results locally, and when you want gtp to explain or summarize something, you’d use the api

And if you send a call to the api with embeddings from your local data and you like the reply, maybe you can use the response with fine tuning to push some stuff server side with openai