Skip to content

Conversation

@Hariram-SF4428
Copy link
Collaborator

Description

Added getting started code sample for SfAIAssistView widget.

Sample Demo:

flutter_ai_assistview_quickstart.demo.sample.latest.mp4

lib/main.dart Outdated
});
}

Future<String> _getAIResponse(String data) async {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename method, avoid starting method name prefix with get

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add comments like generate API and use here for communicate with AI

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @LavanyaGowtham2021 mam,

I have modified the _getAIResponse method name to _fetchAIResponse and added comment above response string,
like (// Integrate an API call to communicate with the AI for real-time responses.) as per your suggestions.

Regards,
Hariram S

Copy link
Collaborator

@natrayansf natrayansf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine

@ghost ghost merged commit 3693c9a into master Jan 8, 2025
@ghost ghost deleted the FLUT-929667-Flutter-AIAssistview-quickstart branch January 8, 2025 10:34
@Hariram-SF4428 Hariram-SF4428 restored the FLUT-929667-Flutter-AIAssistview-quickstart branch April 28, 2025 07:21
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants