# US 2025/0095096 A1 · Officer-in-the-loop crime report generation using large language models and prompt engineering

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0095096 A1
- Document ID: US20250095096A1
- Status: Published application
- Kind: A1
- Application number: 18/885,192
- Filed: 2024-09-13
- Published: 2025-03-20
- Earliest claimed: 2023-09-15
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Iman Zadeh; Christophe J. Gerard; Qiu Qin; Ziqun Ye; Aditya Banerjee; Jun Qian; Nicole E. Hess
- Web page: https://patentgrep.com/patent/US20250095096A1

## CPC

- G06Q 50/265: {Personal security, identity or safety}
- G06F 40/197: Version control (for software G06F8/71)
- G06F 40/30: Semantic analysis
- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06F 40/56: Natural language generation
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to utilizing large language models (LLMs) to facilitate generation of incident reports or similar documents. One or more initial inputs may be received from a user, and one or more example incident reports may be identified. The one or more example incident reports and the one or more initial inputs may be sent to an LLM. A reviewable version of an incident report may be accessed that is based on output that the LLM generated based on the example incident reports and the one or more initial inputs. The reviewable version of the incident report may be presented in a human readable format via a graphical user interface (GUI). A modification corresponding to the reviewable version of the incident report may be received via the GUI. The modification and the reviewable version of the incident report may be sent to the LLM to cause the LLM to generate an updated version of the incident report.

## Claims

### Claim 1

A method comprising:
receiving one or more initial inputs from a user;
identifying one or more example incident reports;
sending, to a large language model (LLM), the one or more example incident reports and the one or more initial inputs;
accessing a reviewable version of an incident report that is based on output that the LLM generated based on the example incident reports and the one or more initial inputs;
presenting, in a human readable format via a graphical user interface (GUI), the reviewable version of the incident report;
receiving, via the GUI, a modification corresponding to the reviewable version of the incident report; and
sending, to the LLM, the modification and the reviewable version of the incident report to cause the LLM to generate an updated version of the incident report;
wherein the method is performed by one or more computing devices.

### Claim 2 (depends on 1)

The method of claim 1, wherein sending, to the LLM, the modification and the reviewable version of the incident report to cause the LLM to generate the updated version of the incident report further comprises adjusting one or more temperature hyperparameters of the LLM.

### Claim 3 (depends on 1)

The method of claim 1, wherein the one or more initial inputs comprise at least unstructured text and structured data.

### Claim 4 (depends on 3)

The method of claim 3, further comprising receiving, via one or more input fields of the GUI, the structured data.

### Claim 5 (depends on 1)

The method of claim 1, wherein identifying the one or more example incident reports comprises performing a semantic search of a reports data store based at least in part on the one or more initial inputs.

### Claim 6 (depends on 5)

The method of claim 5, wherein the performing the semantic search based at least in part on the initial inputs comprises selecting the one or more example incident reports based at least in part on a centroid or clustering analysis.

### Claim 7 (depends on 1)

The method of claim 1, wherein the incident report comprises a police report, an inspection report, or an insurance report.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
identifying hallucinatory content in an intermediate version of the incident report, the intermediate version of the incident report being generated by the LLM based at least in part on the one or more example incident reports and the at least a portion of the one or more initial inputs; and
generating the reviewable version of the incident report, the reviewable version of the incident report excluding the hallucinatory content.

### Claim 9 (depends on 8)

The method of claim 8, wherein the hallucinatory content in the intermediate version of the incident report is identified based at least in part on one or more of: contextual analysis, heuristics-based analysis, or pattern recognition.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
identifying a prompt based at least in part on the one or more initial inputs; and
sending the prompt to the LLM.

### Claim 11

One or more non-transitory storage media storing instructions which, when executed by one or more computing devices, cause:
receiving one or more initial inputs from a user;
identifying one or more example incident reports;
sending, to a large language model (LLM), the one or more example incident reports and the one or more initial inputs;
accessing a reviewable version of an incident report that is based on output that the LLM generated based on the example incident reports and the one or more initial inputs;
presenting, in a human readable format via a graphical user interface (GUI), the reviewable version of the incident report;
receiving, via the GUI, a modification corresponding to the reviewable version of the incident report; and
sending, to the LLM, the modification and the reviewable version of the incident report to cause the LLM to generate an updated version of the incident report.

### Claim 12 (depends on 11)

The one or more non-transitory storage media of claim 11, wherein the instructions that cause sending, to the LLM, the modification and the reviewable version of the incident report to cause the LLM to generate the updated version of the incident report, when executed by the one or more computing devices, further cause adjusting one or more temperature hyperparameters of the LLM.

### Claim 13 (depends on 11)

The one or more non-transitory storage media of claim 11, wherein the one or more initial inputs comprise at least unstructured text and structured data.

### Claim 14 (depends on 13)

The one or more non-transitory storage media of claim 13, wherein the instructions, when executed by the one or more computing devices, further cause receiving, via one or more input fields of the GUI, the structured data.

### Claim 15 (depends on 11)

The one or more non-transitory storage media of claim 11, wherein the instructions causing identifying the one or more example incident reports, when executed by the one or more computing devices, further cause performing a semantic search of a reports data store based at least in part on the one or more initial inputs.

### Claim 16 (depends on 15)

The one or more non-transitory storage media of claim 15, wherein the performing the semantic search based at least in part on the initial inputs comprises selecting the one or more example incident reports based at least in part on a centroid or clustering analysis.

### Claim 17 (depends on 11)

The one or more non-transitory storage media of claim 11, wherein the incident report comprises a police report, an inspection report, or an insurance report.

### Claim 18 (depends on 11)

The one or more non-transitory storage media of claim 11, wherein the instructions, when executed by the one or more computing devices, further cause:
identifying hallucinatory content in an intermediate version of the incident report, the intermediate version of the incident report being generated by the LLM based at least in part on the one or more example incident reports and the at least a portion of the one or more initial inputs; and
generating the reviewable version of the incident report, the reviewable version of the incident report excluding the hallucinatory content.

### Claim 19 (depends on 18)

The one or more non-transitory storage media of claim 18, wherein the hallucinatory content in the intermediate version of the incident report is identified based at least in part on one or more of: contextual analysis, heuristics-based analysis, or pattern recognition.

### Claim 20 (depends on 11)

The one or more non-transitory storage media of claim 11, wherein the instructions, when executed by the one or more computing devices, further cause:
identifying a prompt based at least in part on the one or more initial inputs; and
sending the prompt to the LLM.
