AxApacheTika
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/docs/tika.ts#L12
Constructors
Constructor
new AxApacheTika(args?: Readonly<AxApacheTikaArgs>): AxApacheTika;
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/docs/tika.ts#L16
Parameters
Parameter | Type |
---|---|
args? | Readonly <AxApacheTikaArgs > |
Returns
AxApacheTika
Methods
convert()
convert(files: Readonly<Blob[] | ReadableStream<any>[]>, options?: Readonly<{
batchSize?: number;
format?: "text" | "html";
}>): Promise<string[]>;
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/docs/tika.ts#L57
Parameters
Parameter | Type |
---|---|
files | Readonly <Blob [] | ReadableStream <any >[]> |
options? | Readonly <{ batchSize? : number ; format? : "text" | "html" ; }> |
Returns
Promise
<string
[]>