Aludel.Evals.DocumentIngestion (aludel v0.7.0)

Copy Markdown View Source

Validates and persists uploaded documents for suite test cases.

Summary

Functions

Validates an uploaded file and attaches it to a test case.

Types

ingest_result()

@type ingest_result() :: {:success, String.t()} | {:failed, String.t(), String.t()}

Functions

ingest(path, entry, test_case_id)

Validates an uploaded file and attaches it to a test case.

The return value identifies the client filename on both success and failure, making it suitable for aggregating LiveView upload results.