interface UnstructuredLoaderOptions {
    apiKey?: string;
    client?: UnstructuredClient;
    enableLogs?: boolean;
    partitionViaApi?: boolean;
    postProcessors?: ((str: string) => string)[];
    strategy?: UnstructuredLoaderStrategy;
}

Hierarchy

  • SDKOptions
  • Omit<PartitionParameters, "files" | "strategy">
    • UnstructuredLoaderOptions

Properties

apiKey?: string
client?: UnstructuredClient
enableLogs?: boolean

The Unstructured SDK has logs they call console.info to log at request time. Passing true will log these messages. The default of false will overwrite the console.info function so that it does not log.

false
partitionViaApi?: boolean
postProcessors?: ((str: string) => string)[]