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

public Class GenerateEmbeddingsTask

extends TrackedBackgroundTask<Void>
Class Inheritance
Imports
org.jabref.logic.ai.ingestion.logic.ingestion.LinkedFileIngestor, org.jabref.logic.ai.util.TrackedBackgroundTask, org.jabref.logic.l10n.Localization, org.jabref.model.entry.LinkedFile, org.slf4j.Logger, .LoggerFactory

This task generates embeddings for a LinkedFile. It will check if embeddings were already generated. And it also will store the embeddings.

Field Summary

Modifier and TypeField and Description
private final LinkedFileIngestor
private static final Logger
private final GenerateEmbeddingsTaskRequest
Inherited from org.jabref.logic.ai.util.TrackedBackgroundTask:
progressCounter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
configure(boolean showToUser)

public LinkedFile
public Void
Inherited from org.jabref.logic.ai.util.TrackedBackgroundTask:
callcancelexceptionPropertygetExceptiongetResultgetStatusresultPropertystatusProperty

Field Detail

linkedFileIngestorback to summary
private final LinkedFileIngestor linkedFileIngestor
LOGGERback to summary
private static final Logger LOGGER

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

requestback to summary
private final GenerateEmbeddingsTaskRequest request

Constructor Detail

GenerateEmbeddingsTaskback to summary
public GenerateEmbeddingsTask(GenerateEmbeddingsTaskRequest request, boolean showToUser)

Method Detail

configureback to summary
private void configure(boolean showToUser)
getLinkedFileback to summary
public LinkedFile getLinkedFile()
performback to summary
public Void perform()

Implements abstract org.jabref.logic.ai.util.TrackedBackgroundTask.perform.

Annotations
@Override