Round table values for AI prompt#3124
Conversation
|
Thank you @vladsavelyev!! Super appreciate this. One thought: if I understand this, it rounds all floats in a table to 2 decimals before submitting to AI. However, is this how the MultiQC tables work? I thought (maybe incorrectly) that each column of a table had its own decimal places configured (https://docs.seqera.io/multiqc/development/plots#table-decimal-places, although maybe 2 is the default?). Would it be better to use the same number of decimals set for the column in the table if it is set (else use default)? I could imagine that 2 decimals may sometimes be perfect, but other times too few or too many for a table field to pass to the AI. If the user has configured the number of decimals to include in the report, we would want to match that in the AI prompt. It could be odd if the table shows the user a table in the MultiQC report:
|
|
Good call! I updated it to respect the table column -> |

Round table values for AI prompt. Add a test.
Re #3108