You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/contract-compliance-analysis/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,11 +32,11 @@ To deploy this project, follow the instructions available in the README files lo
32
32
33
33
## Key Features
34
34
35
-
-**Automated Contract Analysis**: Validates, processes, classifies, and evaluates contract clauses against your guidelines with risk assessment
35
+
-**AI-Assisted Contract Analysis**: Validates, processes, classifies, and evaluates contract clauses against your guidelines with risk assessment
36
36
-**Multi-Language AI Analysis**: Generate analysis reports in English, Spanish, or Portuguese based on user selection
37
37
-**Multi-Contract Type Support**: Define and manage multiple contract types (service agreements, employment contracts, etc.) with type-specific guidelines
38
38
-**Web Application**: User interface for managing contract types, guidelines, and viewing analysis results
39
-
-**AI-Generated Evaluation Questions**: Automatically create compliance questions from guideline definitions
39
+
-**AI-Generated Evaluation Questions**: Generate compliance questions from guideline definitions
40
40
-**Contract Import**: Bootstrap new contract types by extracting guidelines from reference contracts
41
41
-**Configurable Risk Thresholds**: Customize risk classification criteria per contract type
42
42
-**Flexible Model Selection**: Configure different foundation models for specific tasks via parameter store
@@ -45,7 +45,7 @@ To deploy this project, follow the instructions available in the README files lo
45
45
46
46
## Architecture
47
47
48
-
This prototype leverages AWS managed services and Large Language Models to automate contract compliance analysis. The architecture consists of multiple workflows that work together to validate contracts against your guidelines and optionally verify compliance with legislation.
48
+
This prototype leverages AWS managed services and Large Language Models to assist with contract compliance analysis. The architecture consists of multiple workflows that work together to validate contracts against your guidelines and optionally verify compliance with legislation.
49
49
50
50
### High-Level Architecture
51
51
@@ -67,7 +67,7 @@ When enabled, this workflow uses an AI agent with access to a knowledge base of
67
67
68
68
### Contract Import Workflow
69
69
70
-
This workflow uses LLMs to automatically extract contract type information and guidelines from reference contracts, enabling rapid onboarding of new contract types without manual guideline creation:
70
+
This workflow uses LLMs to extract contract type information and guidelines from reference contracts, enabling rapid onboarding of new contract types with reduced manual effort:
Copy file name to clipboardExpand all lines: samples/contract-compliance-analysis/documentation/technical-documentation.adoc
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
:revdate: {currentdate}
16
16
:author: Technical Documentation
17
17
18
-
= Automated Contract Compliance Analysis
18
+
= Contract Compliance Analysis
19
19
20
20
<<<
21
21
// Table of Contents is automatically generated here
@@ -48,7 +48,7 @@ During the prototyping engagement/proof of concept, AWS may use third-party mode
48
48
<<<
49
49
== Overview
50
50
51
-
This document details a solution prototype developed to automate the compliance analysis of contracts. The prototype leverages Generative Artificial Intelligence (GenAI) to evaluate contract clauses against predefined guidelines and provide feedback on their adherence to the required standards.
51
+
This document details a solution prototype developed to assist legal teams in analyzing contract compliance. The prototype leverages Generative Artificial Intelligence (GenAI) to evaluate contract clauses against predefined guidelines and provide feedback on their adherence to the required standards.
52
52
53
53
The prototype is powered by AWS Machine Learning services and a Large Language Model (LLM) capable of understanding legal terminology and concepts. Such a LLM is used to perform advanced natural language tasks, such as clause classification and compliance evaluation, based on the provided guidelines.
54
54
@@ -102,7 +102,7 @@ The prototype includes a web-based interface and REST APIs for managing contract
102
102
* Create, update, and delete contract types through the UI
103
103
* Define and manage guidelines for each contract type
104
104
* Import guidelines from structured text using AI-powered extraction
105
-
* Generate evaluation questions automatically using the LLM
105
+
* Generate evaluation questions using the LLM
106
106
107
107
This approach is recommended for production use as it provides a user-friendly interface and maintains data consistency through the application layer.
108
108
@@ -185,7 +185,7 @@ The script validates the JSON structure, checks for required fields, and imports
185
185
186
186
Evaluation questions are binary questions used to assess whether a contract clause is compliant with the standard wording for a clause type. The prototype provides two methods for generating these questions:
187
187
188
-
*API-Based Generation (Recommended)*: When creating or updating guidelines through the web interface, the system can automatically generate evaluation questions using the LLM, allowing immediate review and editing.
188
+
*API-Based Generation (Recommended)*: When creating or updating guidelines through the web interface, the system can generate evaluation questions using the LLM, allowing immediate review and editing.
189
189
190
190
*JSON File Definition*: For bulk imports, evaluation questions can be predefined in the JSON file, allowing version control and consistent evaluation criteria across environments.
191
191
@@ -199,7 +199,7 @@ The architecture consists of:
199
199
200
200
* *Contract Analysis Workflow*: Orchestrated multi-step pipeline that processes contracts through validation, preprocessing, classification, evaluation, and risk assessment
201
201
* *Guideline Management*: Storage and management of contract types, clause types, and evaluation criteria
202
-
* *AI-Powered Import*: Automated extraction of guidelines from reference contracts using LLMs
202
+
* *AI-Powered Import*: AI-assisted extraction of guidelines from reference contracts using LLMs
The AI-powered import workflow automatically extracts contract types and guidelines from reference contracts:
253
+
The AI-powered import workflow extracts contract types and guidelines from reference contracts:
254
254
255
255
ifdef::env-github[]
256
256
++++
@@ -636,7 +636,7 @@ The agent has access to:
636
636
637
637
=== Contract Type and Guidelines Import Workflow
638
638
639
-
The prototype provides an AI-powered workflow to automatically extract contract type definitions and guidelines from reference contract text. This eliminates the need for manual guideline creation and accelerates the setup of new contract types.
639
+
The prototype provides an AI-powered workflow to extract contract type definitions and guidelines from reference contract text. This reduces manual effort in guideline creation and accelerates the setup of new contract types.
640
640
641
641
==== Import Workflow Steps
642
642
@@ -677,7 +677,7 @@ Through the web application:
677
677
1. Navigate to Contract Types management
678
678
2. Click "Import Contract Type"
679
679
3. Paste the reference contract text (can be an existing contract that follows the desired structure)
680
-
4. Submit - the AI workflow automatically extracts:
680
+
4. Submit - the AI workflow extracts:
681
681
- Contract type definition
682
682
- All clause types with standard wording
683
683
- Evaluation questions for each clause type
@@ -946,7 +946,7 @@ endif::[]
946
946
947
947
1. Click "Import Contract Type"
948
948
2. Paste a reference contract text (e.g., an existing contract that follows the desired structure)
The guideline editor allows users to modify clause types, standard wording, impact levels, examples, and evaluation questions. The AI-powered "Generate Questions" feature automatically creates evaluation questions from the standard wording.
1027
+
The guideline editor allows users to modify clause types, standard wording, impact levels, examples, and evaluation questions. The AI-powered "Generate Questions" feature creates evaluation questions from the standard wording.
1028
1028
1029
1029
*Editing Guidelines:*
1030
1030
@@ -1047,7 +1047,7 @@ Example: If standard wording mentions "30 days notice period", a generated quest
0 commit comments