StarlightSearch / EmbedAnything

A minimalist yet highly performant, lightweight, lightning fast, multisource, multimodal and local embedding solution, built in rust.
Apache License 2.0
270 stars 23 forks source link

Add Timing Information for File Reading, Preprocessing, and Encoding #38

Open cavitcakir opened 3 months ago

cavitcakir commented 3 months ago

Hi,

I would like to request the addition of timing information for various stages of the embedding pipeline, specifically for reading files, preprocessing them, and encoding them. Having detailed timing information will help in understanding the performance characteristics and identifying potential bottlenecks in the workflow.

Thank you for considering this feature request. I believe it will greatly enhance the usability and performance monitoring capabilities of the project.

akshayballal95 commented 3 months ago

We can possibly add a verbose argument on the embedding function to display these times and other stars if needed.