Updated javadoc

This commit is contained in:
Amith Koujalgi 2024-10-30 11:01:23 +05:30
parent 948a7444fb
commit baf2320ea6
No known key found for this signature in database
GPG Key ID: E29A37746AF94B70

View File

@ -322,7 +322,7 @@ public class OllamaAPI {
* @throws OllamaBaseException if the response indicates an error status
* @throws IOException if an I/O error occurs during the HTTP request
* @throws InterruptedException if the operation is interrupted
* @deprecated Use {@link #embed(String, List<String>)} instead.
* @deprecated Use {@link #embed(String, List)} instead.
*/
@Deprecated
public List<Double> generateEmbeddings(String model, String prompt) throws IOException, InterruptedException, OllamaBaseException {