INNER CODE UNIT · Java

getList

sashirestela/simple-openai · src/main/java/io/github/sashirestela/openai/OpenAI.java:661

        default CompletableFuture<List<Model>> getList() {
            return getListPrimitive().thenApply(Generic::getData);
        }

        /**
         * Retrieves a model instance, providing basic information about the model such as the owner and
         * permissioning.
         * 
         * @param modelId The id of the model to use for this request.
         * @return The model object matching the specified id.
         */
        @GET("/{modelId}")
        CompletableFuture<Model> getOne(@Path("modelId") String modelId);

        /**
         * Delete a fine tuned model.
         * 
         * @param modelId The id of the dine tuned model to use for this request.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…