0 purchases
deepmind
Google DeepMind Gemini #
Google DeepMind is a set of cutting-edge large language models (LLMs) designed to be the driving force behind Google's future AI initiatives.
This package provides a powerful bridge between your Flutter application and Google's revolutionary Gemini AI. It empowers you to seamlessly integrate Gemini's capabilities into your app, unlocking a world of possibilities for building innovative, intelligent, and engaging experiences that redefine user interaction.
Features #
✅ Get Stated
✅ Create DeepRequest Instance
❌ Generate content
✅ Text only input
❌ Text and image input
❌ DeepResponse
❌ Gemini Methods
Getting started #
To get the API key you have to create a Gemini account on the ai.google.dev. Once you have to Gemini API key, you are ready to start building.
Create Gemini Instance #
final request = DeepRequest(
apiKey: "--- Your Gemini Api Key --- ", // Replace this
model: "gemini-pro"
);
copied to clipboard
Generate content #
With Gemini you use both text and image data for prompting, depending on what model variation you use.
For example, you can generate text using text prompt with the gemini-pro model and use both text and image data to prompt the gemini-pro-vision model
Text only input #
This feature lets you perform natural language processing (NLP) tasks such as text completion and summarization.
request.generateText("Tell me a story").then((response){
print(response)
})
copied to clipboard
Text and image input #
You can send a text prompt with an image to the gemini-pro-vision model to perform a vision related task. For example, captioning an image or identifying what's in an image.
// In progress
copied to clipboard
DeepMind Response #
// In progress
copied to clipboard
DeepMind Methods #
// In progress
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.