This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
<AIConversation
messages={messages}
isLoading={isLoading}
handleSendMessage={sendMessage}
// This will let the LLM know about the current state of this application
// so it can better respond to questions, you can put any information
// in this object that might be helpful
aiContext={() => {
return {
currentTime: new Date().toLocaleTimeString(),
};
}}
/>
This update brings streaming responses to the useAIConversation() hook and <AIConversation /> component. No changes need to be made in your code to get streaming responses now.
#6006759623301 Thanks @sasssssssa! - fix: AIConversation doesn't care about conversion, for example Hira to Kanji in Japanese
When to push Return/Enter key in the Form about AIConversation component, it can decide to send a message by whether in editing the text.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@aws-amplify/ui-react-ai@1.0.0
Major Changes
0d4d2b91c
Thanks @dbanksdesign! - chore: get ai package ready for releaseMinor Changes
#6090
a25e5ed7a
Thanks @dbanksdesign! - feat(ai): add aiContext prop to AIConversation#5920
dcdb2cdf0
Thanks @dbanksdesign! - AI streamingThis update brings streaming responses to the
useAIConversation()
hook and<AIConversation />
component. No changes need to be made in your code to get streaming responses now.#6006
759623301
Thanks @sasssssssa! - fix: AIConversation doesn't care about conversion, for example Hira to Kanji in JapaneseWhen to push Return/Enter key in the Form about AIConversation component, it can decide to send a message by whether in editing the text.
#5968
3b96ff7c0
Thanks @dbanksdesign! - feat(ai): add fallback response component#5999
24635cfd5
Thanks @dbanksdesign! - chore: ai cleanupPatch Changes
Updated dependencies [
90ea18ba0
,2e3a051d9
,f1b1da8a1
,0d4d2b91c
,24635cfd5
]:@aws-amplify/ui-react@6.6.0
Minor Changes
f1b1da8a1
Thanks @dbanksdesign! - feat(dropzone): add dropzone support for files within dropped directories (#6062)Patch Changes
#6031
2e3a051d9
Thanks @dbanksdesign! - fix(textarea): autoresize textarea resets when value is emptyThere was a bug with the autoresize text area where it would not reset the size when a value was cleared. This fixes that bug
#6149
0d4d2b91c
Thanks @dbanksdesign! - chore: get ai package ready for releaseUpdated dependencies [
90ea18ba0
,0d4d2b91c
,24635cfd5
]:@aws-amplify/ui-angular@5.0.31
Patch Changes
Updated dependencies [
0d4d2b91c
,24635cfd5
]:@aws-amplify/ui-react-core@3.0.30
Patch Changes
#6145
90ea18ba0
Thanks @dindjarinjs! - chore: fix issue where drag and drop throws illegal invocationUpdated dependencies [
0d4d2b91c
,24635cfd5
]:@aws-amplify/ui-react-core-notifications@2.0.30
Patch Changes
Updated dependencies [
90ea18ba0
,0d4d2b91c
,24635cfd5
]:@aws-amplify/ui-react-geo@2.0.31
Patch Changes
Updated dependencies [
90ea18ba0
]:@aws-amplify/ui-react-liveness@3.1.16
Patch Changes
Updated dependencies [
2e3a051d9
,f1b1da8a1
,0d4d2b91c
,24635cfd5
]:@aws-amplify/ui-react-native@2.2.17
Patch Changes
Updated dependencies [
90ea18ba0
,0d4d2b91c
,24635cfd5
]:@aws-amplify/ui-react-notifications@2.0.35
Patch Changes
Updated dependencies [
90ea18ba0
,2e3a051d9
,f1b1da8a1
,0d4d2b91c
,24635cfd5
]:@aws-amplify/ui-react-storage@3.3.10
Patch Changes
Updated dependencies [
90ea18ba0
,2e3a051d9
,f1b1da8a1
,0d4d2b91c
,24635cfd5
]:@aws-amplify/ui@6.6.6
Patch Changes
#6149
0d4d2b91c
Thanks @dbanksdesign! - chore: get ai package ready for release#5999
24635cfd5
Thanks @dbanksdesign! - chore: ai cleanup@aws-amplify/ui-vue@4.2.23
Patch Changes
Updated dependencies [
0d4d2b91c
,24635cfd5
]:@aws-amplify/ui-react-auth@0.0.37
Patch Changes
Updated dependencies [
90ea18ba0
,2e3a051d9
,f1b1da8a1
,0d4d2b91c
,24635cfd5
]:@aws-amplify/ui-react-core-auth@0.0.32
Patch Changes
Updated dependencies [
90ea18ba0
,0d4d2b91c
,24635cfd5
]:@aws-amplify/ui-react-native-auth@0.0.35
Patch Changes
0d4d2b91c
,24635cfd5
]: