16
16
SwiftChat is a fast and responsive AI chat application developed with [ React Native] ( https://reactnative.dev/ ) and
17
17
powered by [ Amazon Bedrock] ( https://aws.amazon.com/bedrock/ ) , with compatibility extending to other model providers such
18
18
as Ollama, DeepSeek, OpenAI and OpenAI Compatible. With its minimalist design philosophy and robust privacy protection,
19
- it delivers real-time streaming conversations and AI image generation capabilities across Android, iOS, and macOS
20
- platforms.
19
+ it delivers real-time streaming conversations, AI image generation and voice conversation assistant capabilities
20
+ across Android, iOS, and macOS platforms.
21
21
22
22
![ ] ( assets/promo.avif )
23
23
24
24
### What's New 🔥
25
25
26
+ - 🚀 Support Speech to Speech By Amazon Nova Sonic on Apple Platform. Check [ How to Use] ( #amazon-nova-sonic ) for
27
+ more details. (From v2.3.0).
28
+ - Support Request Latency and token response speed display (From v2.3.0).
29
+ - Change to new bubble format UI for user question (From v2.3.0).
26
30
- Support for OpenAI Compatible models. You can now
27
31
use [ easy-model-deployer] ( https://github.com/aws-samples/easy-model-deployer ) ,
28
32
OpenRouter, or any OpenAI-compatible model provider via SwiftChat. Please
29
33
check [ Configure OpenAI Compatible] ( #openai-compatible ) section for more details(From v2.2.0).
30
- - Support for quick model switching (From v2.2.0).
31
- - Support regeneration of AI responses (From v2.2.0).
32
34
33
- ** Key Features: **
35
+ ### Key Features
34
36
35
37
- Real-time streaming chat with AI
36
38
- Rich Markdown Support: Tables, Code Blocks, LaTeX and More
@@ -45,7 +47,44 @@ platforms.
45
47
and [ OpenAI Compatible] ( #openai-compatible ) Models)
46
48
- Fully Customizable System Prompt Assistant
47
49
48
- ** Supported Features For Amazon Nova series**
50
+ ### Amazon Nova Series Features
51
+
52
+ #### Amazon Nova Sonic Speech to Speech Model
53
+
54
+ ** Usage Guide**
55
+
56
+ 1 . Amazon Nova Sonic model is supported starting from v2.3.0. If you have deployed it before, You Need to:
57
+ * [ Update CloudFormation] ( #upgrade-cloudformation ) Stack
58
+ * [ Update API] ( #upgrade-api )
59
+ * [ Upgrade your App] ( #-quick-download ) to v2.3.0 or later
60
+
61
+ If you have not Deployed your CloudFormation Stack please
62
+ finish [ Getting Started with Amazon Bedrock] ( #getting-started-with-amazon-bedrock ) section.
63
+ 2 . Switch the ** Region** to ` us-east-1 ` in the settings page and select the ` Nova Sonic ` under ** Chat Model** .
64
+ 3 . Return to Chat page, select a system prompt or directly click the microphone icon to start your conversation.
65
+
66
+ ** Features for Speech to Speech**
67
+
68
+ 1 . Built-in spoken language practice for words and sentences, as well as storytelling scenarios. You can also add
69
+ ** Custom System Prompts** for voice chatting in different scenarios.
70
+ 2 . Support ** Barge In** by default, Also you can disable in system prompt.
71
+ 3 . Support selecting voices in the settings page, including American/British English, and options for male and female voices.
72
+ 4 . Support ** Echo Cancellation** , You can talk directly to the device without wearing headphones.
73
+ 5 . Support ** Voice Waveform** to display volume level.
74
+
75
+ ** General Talk**
76
+
77
+ https://github.com/user-attachments/assets/d3028312-c420-476c-88c2-ba870015f3c4
78
+
79
+ ** Learn Sentences**
80
+
81
+ https://github.com/user-attachments/assets/ebf21b12-9c93-4d2e-a109-1d6484019838
82
+
83
+ ** Telling Story on Mac (With barge in feature)**
84
+
85
+ https://github.com/user-attachments/assets/c70fc2b4-8960-4a5e-b4f8-420fcd5eafd4
86
+
87
+ #### Other Features
49
88
50
89
- Record 30-second videos directly on Android and iOS for Nova analysis
51
90
- Upload large videos (1080p/4K) beyond 8MB with auto compression
@@ -57,7 +96,7 @@ platforms.
57
96
#### YouTube Video
58
97
59
98
[ <img src =" ./assets/youtube.avif " >] ( https://www.youtube.com/watch?v=rey05WzfEbM )
60
- > The content in the video is an early version. For UI, architecture, and inconsistencies, please refer to the current
99
+ > The content in the video is an early version. For UI, architecture, and inconsistencies, please refer to the current
61
100
> documentation.
62
101
63
102
** Comprehensive Multimodal Analysis** : Text, Image, Document and Video
@@ -111,7 +150,7 @@ this [example](https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examp
111
150
Ensure you have access to Amazon Bedrock foundation models. SwiftChat default settings are:
112
151
113
152
- Region: ` us-west-2 `
114
- - Text Model: ` Amazon Nova Pro `
153
+ - Chat Model: ` Amazon Nova Pro `
115
154
- Image Model: ` Stable Diffusion 3.5 Large `
116
155
117
156
If you are using the image generation feature, please make sure you have enabled access to the ` Amazon Nova Lite ` model.
@@ -195,7 +234,7 @@ Congratulations 🎉 Your SwiftChat App is ready to use!
195
234
``` bash
196
235
http://localhost:11434
197
236
```
198
- 3. Once the correct Server URL is entered, you can select your desired Ollama models from the ** Text Model** dropdown
237
+ 3. Once the correct Server URL is entered, you can select your desired Ollama models from the ** Chat Model** dropdown
199
238
list.
200
239
201
240
< /details>
@@ -207,7 +246,7 @@ Congratulations 🎉 Your SwiftChat App is ready to use!
207
246
208
247
1. Go to the ** Settings Page** and select the ** DeepSeek** tab.
209
248
2. Input your DeepSeek API Key.
210
- 3. Choose DeepSeek models from the ** Text Model** dropdown list. Currently, the following DeepSeek models are supported:
249
+ 3. Choose DeepSeek models from the ** Chat Model** dropdown list. Currently, the following DeepSeek models are supported:
211
250
- ` DeepSeek-V3`
212
251
- ` DeepSeek-R1`
213
252
@@ -220,9 +259,12 @@ Congratulations 🎉 Your SwiftChat App is ready to use!
220
259
221
260
1. Navigate to the ** Settings Page** and select the ** OpenAI** tab.
222
261
2. Enter your OpenAI API Key.
223
- 3. Select OpenAI models from the ** Text Model** dropdown list. The following OpenAI models are currently supported:
262
+ 3. Select OpenAI models from the ** Chat Model** dropdown list. The following OpenAI models are currently supported:
224
263
- ` GPT-4o`
225
264
- ` GPT-4o mini`
265
+ - ` GPT-4.1`
266
+ - ` GPT-4.1 mini`
267
+ - ` GPT-4.1 nano`
226
268
227
269
Additionally, if you have deployed the [ClickStream Server](# step-2-deploy-stack-and-get-your-api-url), you can enable
228
270
the ** Use Proxy** option to forward your requests.
@@ -239,7 +281,7 @@ the **Use Proxy** option to forward your requests.
239
281
- ` Base URL` of your model provider
240
282
- ` API Key` of your model provider
241
283
- ` Model ID` of the models you want to use (separate multiple models with commas)
242
- 3. Select one of your models from the ** Text Model** dropdown list.
284
+ 3. Select one of your models from the ** Chat Model** dropdown list.
243
285
244
286
< /details>
245
287
@@ -379,6 +421,26 @@ the [release notes](https://github.com/aws-samples/swift-chat/releases) to see i
379
421
- ** For Lambda** : Click and open [Lambda Services](https://console.aws.amazon.com/lambda/home#/functions), find and open
380
422
your Lambda which start with ` SwiftChatLambda-xxx` , click the ** Deploy new image** button and click Save.
381
423
424
+ # ## Upgrade CloudFormation
425
+
426
+ 1. Click and open [CloudFormation](https://console.aws.amazon.com/cloudformation), switch to the region which you
427
+ have deployed the ** SwiftChatAPI** stack.
428
+ 2. Select the ** SwiftChatAPI** Stack, click ** Update stack** -> ** Make a direct update**
429
+ 3. On the ** Update stack** Page, select **Replace existing template** under the ** Amazon S3 URL** , then input the
430
+ following template url.
431
+
432
+ For App Runner
433
+ ` ` `
434
+ https://aws-gcr-solutions.s3.amazonaws.com/swift-chat/latest/SwiftChatAppRunner.template
435
+ ` ` `
436
+ For Lambda
437
+ ` ` `
438
+ https://aws-gcr-solutions.s3.amazonaws.com/swift-chat/latest/SwiftChatLambda.template
439
+ ` ` `
440
+ 4. Click the ** Next** button and continue click ** Next** button. On the ** Configure stack options** page,
441
+ check ` I acknowledge that AWS CloudFormation might create IAM resources.` then click ** Next** and * Submit* button to
442
+ update your CloudFormation Template.
443
+
382
444
# # Security
383
445
384
446
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
0 commit comments