Classes
Methods
# async detectContradiction(investigation) → {Promise.<IAssistantContradictionDetectionFormat>}
Detects contradictions between investigation fields.
Parameters:
| Name | Type | Description |
|---|---|---|
investigation |
ICreateInvestigationDto
|
The investigation in which to detect contradictions. |
- A detected contradiction for the given investigation.
Promise.<IAssistantContradictionDetectionFormat>
# async getContradictionResolution(investigation, fieldNameopt) → {Promise.<IAssistantContradictionResolutionFormat>}
Gets the resolution of contradictions in an investigation by requesting the LLM.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
investigation |
IInvestigationResponseDto
|
The investigation in which to resolve contradictions. |
|
fieldName |
string
|
<optional> |
The field name for which to resolve contradictions. If not provided, resolves all contradictions. |
- The resolution of the contradiction.
Promise.<IAssistantContradictionResolutionFormat>
# async resolveContradiction(investigation, fieldNameopt) → {Promise.<string>}
Resolves contradictions in an investigation.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
investigation |
IInvestigation
|
The investigation in which to resolve contradictions. |
|
fieldName |
string
|
<optional> |
The field name for which to resolve contradictions. If not provided, resolves all contradictions. |
- A message describing the resolved contradictions.
Promise.<string>