#Gourllammi 7034 You would use

14 messages · Page 1 of 1 (latest)

tidal forge
#

Thanks @wispy flare . I'll dive into that. Do you have some sense for how long an embeddings API call takes? Suppose I am trying to classify 1-2 lines of text along 5-10 categories?

wispy flare
#

In your case, it would takes a couple minutes maximum

tidal forge
#

and also: do you know of a tutorial or example for using embeddings to classify text along several categories?

#

minutes? sheesh. Hoping for <5 seconds

#

vanilla davinci takes around 30 seconds

wispy flare
#

Yes, OpenAI has an incredible study done which accomplishes exactly what you're looking for - code included

#

Noooo, the embeddings are a one time generation

#

Afterwards it takes mere seconds to find the information

#

Obviously it scales with how large the dataset is though

#

Check out the API docs under embeddings

tidal forge
#

scanning through the docs I can only see 1 category classification

#

do you happen to remember anything about the study you mention so I could google it?

wispy flare
#

That's the correct information. You just need to change the scope to your desires