<!--
This README describes the package. If you publish this package to pub.dev,
this README's contents appear on the landing page for your package.

For information about how to write a good package README, see the guide for
[writing package pages](https://dart.dev/guides/libraries/writing-package-pages).

For general information about developing packages, see the Dart guide for
[creating packages](https://dart.dev/guides/libraries/create-library-packages)
and the Flutter guide for
[developing packages and plugins](https://flutter.dev/developing-packages).
-->
# ImpigerChatGemini

This Plugin will helps you to provide the chat with Impiger's gemini model

## Getting Started

This project is a starting point for a Flutter
[plug-in package](https://flutter.dev/developing-packages/),
a specialized package that includes platform-specific implementation code for
Android, iOS and Web.

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.

For any help contact:
ajeethkumar.sankarraj@impigertech.com

## Features

Provides the Chat bot connected with the google cloud / google ai studio

## Usage

 Include short and useful examples for package users. Add longer examples
to `/example` folder.

## Getting started
# impiger_chat_gemini

In this package contains Pie Chart, Image with Pie Chart, Single Bar Chart with Thick Bars, Single Bar Chart with Thin Bars, Two Bars Chart with Thin Bars and Line Chart.

Integration Steps:
1. Create a new Flutter project.
2. Add impiger_chat_gemini: ^0.0.1 plugin in your pubspec.yaml
3. Enter "flutter pub get" -> this command in your terminal
4. After completing the above steps, now you are able to use the ImpigerChatGemini class in your projects

impiger_chat_gemini:
Use ImpigerChatGemini class for getting Chat UI widget in your screen

ImpigerChatGemini class need these parameters to create the chart widget,
* Base url, which includes url + apikey.

Example:
ImpigerChatGemini(baseUrl: baseUrl)

How to create the base url?
Base url, ===> Url + api key
1. For Apikey creation use this url and create => https://ai.google.dev/?gad_source=1&gclid=CjwKCAjw_LOwBhBFEiwAmSEQAbucEGYexDk2CoPTbDVEo09E-UU9esAdleHCFa0SDm_mycPl3QpM7BoCEKQQAvD_BwE
2. you can get the url curl details in this url => https://aistudio.google.com/app/prompts/new_chat?utm_source=agd&utm_medium=referral&utm_campaign=core-cta&utm_content=
3. Use model named => Gemini 1.0 Pro
4. Click on the Get code option in the right top corner and check out curl details of your prompt

How to create the prompt?
1. Click on the create new option in the left top corner.
2. click on the chat prompt to create your gemini model chat generator.

Note: After set all the configuration , we have to train the model in the Google AI studio for our convenient reply.

---------------------------------------------------------
Screenshots

**Mobile**

![MicrosoftTeams-image (1)](https://raw.githubusercontent.com/ajeethkumarsankarraj123/impiger_chat_gemini/main/ScreenShots/Screenshot%202024-04-03%20at%205.51.33%E2%80%AFPM.png)

**Web**

![MicrosoftTeams-image (2)](https://raw.githubusercontent.com/ajeethkumarsankarraj123/impiger_chat_gemini/main/ScreenShots/Screenshot%202024-04-03%20at%205.53.52%E2%80%AFPM.png)


