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: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,14 +90,16 @@ For a more accurate cost estimate, use the AWS Pricing Calculator and input your
90
90
91
91
### Supported AI Models
92
92
93
-
The system supports three different AI models for chat moderation:
93
+
The system supports four different AI models for chat moderation:
94
94
95
95
1.**Anthropic Claude Haiku**: Claude 3 Haiku is Anthropic's fastest, most compact model for near-instant responsiveness. It answers simple queries and requests with speed. Customers will be able to build seamless AI experiences that mimic human interactions. Claude 3 Haiku can process images and return text outputs, and features a 200K context window.
96
96
97
97
2.**Amazon Titan**: Amazon Titan Text Premier is an advanced, high-performance, and cost-effective LLM engineered to deliver superior performance for enterprise-grade text generation applications, including optimized performance for retrieval-augmented generation (RAG) and Agents.
98
98
99
99
3.**Meta Llama**: Meta Llama 3 is an accessible, open large language model (LLM) designed for developers, researchers, and businesses to build, experiment, and responsibly scale their generative AI ideas. Part of a foundational system, it serves as a bedrock for innovation in the global community. Ideal for limited computational power and resources, edge devices, and faster training times.
100
100
101
+
4.**Amazon Nova Micro**: Amazon Nova family of models offer customers multiple price performance operating points to best optimize between accuracy, speed, and cost. Amazon Nova Micro is a text only model that delivers the lowest latency responses at the lowest cost per inference among Nova family.
102
+
101
103
Each model has its own strengths and characteristics. You can switch between these models using the `prompt-switch.bash` script.
102
104
103
105
## Prerequisites
@@ -222,7 +224,7 @@ To switch between different AI models or prompts:
222
224
./prompt-switch.bash <model-name>
223
225
```
224
226
225
-
Replace `<model-name>` with one of the available options: `titan`, `haiku`, or `llama`. The aforementioned `./install.bash` script configures Anthropic Claude Haiku to be used by default.
227
+
Replace `<model-name>` with one of the available options: `titan`, `haiku`, `llama`or `nova-micro`. The aforementioned `./install.bash` script configures Anthropic Claude Haiku to be used by default.
226
228
227
229
### Updating the Front-End
228
230
@@ -234,6 +236,10 @@ After making changes to the front-end code, deploy updates using:
234
236
235
237
This script will build the React application and update the S3 bucket and CloudFront distribution. This is not required at the first deployment.
236
238
239
+
### Scripts Usage
240
+
241
+
The scripts should be executed from the `./scripts` directory. Running from another path may cause issues or the scripts may fail.
242
+
237
243
### Moderation Guidelines
238
244
239
245
The AI models use the following prompt as the main guideline for moderating chat messages:
0 commit comments