Mistral 7B Instruct is an instruction-tuned large language model that can turn conversation transcripts into structured JSON. This makes extracted information easier for downstream applications to consume, but a basic prompt may return extra fields or duplicate values. section 12.3.2
A practical extraction workflow improves the output in stages:
- Ask for the required information in JSON format. section 12.3.2
- Add an example transcript and output when the model extracts too much or duplicates fields. section 12.3.2
From broad extraction to constrained extraction
A broad request for all IDs can produce TaxID, MemberID, DateOfBirth, Name, ClaimNumber, DateOfService, and ProviderID, including duplicated identifiers. An improved prompt restricts the response to TaxID, MemberID, and ClaimID and requires numeric values.
