Class EmbedTask

java.lang.Object
org.apache.tika.inference.EmbedTask
All Implemented Interfaces:
InferenceTask

public class EmbedTask extends Object implements InferenceTask
The embed task. Media: see embedMedia(org.apache.tika.parser.inference.InferenceBinding, java.util.List<org.apache.tika.parser.inference.InferenceUnit>, org.apache.tika.inference.EmbeddingEngine, org.apache.tika.parser.ParseContext). Images and pages: one vector chunk per unit, written on the unit's destination with the page locator when the unit is a page or has one. Text: the unit's text is chunked and every chunk gets a vector, on the unit's own document. Requests are filled to the engine's batch size; every chunk names the binding as its producer.