Verified Owner
Top Description Fields Constructors Methods
org.jabref.logic.ai.ingestion.tasks.generateembeddingsforseveral

public Class GenerateEmbeddingsForSeveralTask

extends BackgroundTask<Void>
Class Inheritance
Imports
java.util.ArrayList, .List, java.util.concurrent.ExecutionException, .Future, javafx.beans.property.StringProperty, javafx.util.Pair, org.jabref.logic.ai.ingestion.IngestionTaskAggregator, org.jabref.logic.ai.ingestion.tasks.generateembeddings.GenerateEmbeddingsTask, .GenerateEmbeddingsTaskRequest, org.jabref.logic.l10n.Localization, org.jabref.logic.util.BackgroundTask, .ProgressCounter, org.slf4j.Logger, .LoggerFactory

This task generates embeddings for several linked files (typically used for groups). It will check if embeddings were already generated. And it also will store the embeddings.

Field Summary

Modifier and TypeField and Description
private String
private final IngestionTaskAggregator
private static final Logger
private final ProgressCounter
private final GenerateEmbeddingsForSeveralTaskRequest

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Void
private void
private void
Inherited from org.jabref.logic.util.BackgroundTask:
cancelcancelconsumeOnRunningexecuteWithgetOnExceptiongetOnRunninggetOnSuccessgetProgressgetWorkDonePercentageisCancelledisCancelledPropertymayInterruptIfRunningPropertymessagePropertyonFailureonFinishedonRunningonSuccessprogressPropertyscheduleWithsetTitleshowToUsershowToUsershowToUserPropertythenthenRunthenRuntitlePropertyupdateMessageupdateProgressupdateProgresswillBeRecoveredAutomaticallywillBeRecoveredAutomaticallywithInitialMessageworkDonePercentagePropertywrapwrap

Field Detail

currentFileback to summary
private String currentFile
ingestionTaskAggregatorback to summary
private final IngestionTaskAggregator ingestionTaskAggregator
LOGGERback to summary
private static final Logger LOGGER

Hides org.jabref.logic.util.BackgroundTask.LOGGER.

progressCounterback to summary
private final ProgressCounter progressCounter
requestback to summary
private final GenerateEmbeddingsForSeveralTaskRequest request

Constructor Detail

GenerateEmbeddingsForSeveralTaskback to summary
public GenerateEmbeddingsForSeveralTask(IngestionTaskAggregator ingestionTaskAggregator, GenerateEmbeddingsForSeveralTaskRequest request)

Method Detail

callback to summary
public Void call() throws ExecutionException, InterruptedException

Implements abstract org.jabref.logic.util.BackgroundTask.call.

Annotations
@Override
configureback to summary
private void configure(StringProperty name)
updateProgressback to summary
private void updateProgress()