Skip to content

Audit trail#298

Open
Cubix33 wants to merge 3 commits intofireform-core:mainfrom
Cubix33:audit-trail
Open

Audit trail#298
Cubix33 wants to merge 3 commits intofireform-core:mainfrom
Cubix33:audit-trail

Conversation

@Cubix33
Copy link

@Cubix33 Cubix33 commented Mar 19, 2026

Closes #297

Added functionality to separately store a .txt file in inputs/ containing :

  1. Field name
  2. Value extracted for that field from transcript
  3. Line snippet from transcript from where the value was extracted

Example:


============================================================
FIREFORM AI DATA EXTRACTION AUDIT TRAIL
Generated: 2026-03-19 19:29:35
============================================================

FIELD : Employee's name
VALUE : John Doe
SOURCE: "The employee's name is John Doe."
------------------------------------------------------------
FIELD : Employee's job title
VALUE : managing director
SOURCE: "His job title is managing director."
------------------------------------------------------------
FIELD : Employee's department supervisor
VALUE : Jane Doe
SOURCE: "His department supervisor is Jane Doe."
------------------------------------------------------------
FIELD : Employee's phone number
VALUE : 123456
SOURCE: "His phone number is 123456."
------------------------------------------------------------
FIELD : Employee's email
VALUE : jdoe@ucsc.edu
SOURCE: "His email is jdoe@ucsc.edu."
------------------------------------------------------------
FIELD : Signature
VALUE : Mamañema
SOURCE: "<Mamañema>, and the date is 01/02/2005"
------------------------------------------------------------
FIELD : Date
VALUE : 01/02/2005
SOURCE: "The exact sentence that justifies the value is: 'The date is 01/02/2005'"
------------------------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT]: Adding line snippets from transcript where each field is found as an Audit Trail

1 participant