-
Book Overview & Buying
-
Table Of Contents
OpenAI API Cookbook
By :
The OpenAI API offers additional features beyond the standard endpoints and parameters that we learned about in the previous chapter. These provide additional customizability to the existing model and enable far more use cases by linking the model to other methods.
In particular, the OpenAI API contains a robust embedding model, enabling users to vectorize text to perform typical NLP functions such as text clustering, text classification, text comparison, and more. This is the same technology that search engines such as Google use, for example, to return relevant search results. Now, with the OpenAI API, it is available at your fingertips.
The API also contains a method to fine-tune or customize a model for a particular use case. Instead of the fine-tuning we did earlier, which required priming the model with several examples, this is a better and typically cheaper alternative.
Finally, the API also possesses the ability...