INNER CODE UNIT · Java

getList

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

        default CompletableFuture<List<FineTuning>> getList(Integer limit, String after) {
            return getListPrimitive(limit, after).thenApply(Generic::getData);
        }

        /**
         * Get info about a fine-tuning job.
         * 
         * @param fineTuningId The id of the fine-tuning job.
         * @return The fine-tuning object with the given id.
         */
        @GET("/{fineTuningId}")
        CompletableFuture<FineTuning> getOne(@Path("fineTuningId") String fineTuningId);

        /**
         * Get status updates for a fine-tuning job as Generic object (don't call it directly).
         * 
         * @param fineTuningId The id of the fine-tuning job to get events for.
         * @param limit        Number of fine-tuning jobs to retrieve.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…