Gemini AI Rust Wrapper
Welcome to the Rust Gemini AI! This crate provides a Rust interface to interact with the Gemini AI API, which powers advanced natural language processing (NLP) and multimodal capabilities.
New Feature Added
-
Added Rag Concept Model
-
Added Pdf,Audio,Video Uploading feature
-
Added Function Calling Feature
-
MaxTokenLimit Based Response
-
Instruction Based Response
Previous New Feature Added
-
MaxTokenLimit Based Response
-
Instruction Based Response
Features
- Instruction Processing: Based on instruction customize the response in the way you like.
- Natural Language Processing: Access powerful language models like Gemini 1.5 Pro for advanced text analysis, summarization, and generation.
- Multimodal Capabilities: Interact with Gemini models that can handle not only text but also images, audio,pdf, and video inputs.
- Easy Integration: A straightforward API wrapper for easy integration into your Rust projects.
Installation
To add this crate to your project, include it in your Cargo.toml
:
-ai = "0.1.167"
gemini
let builder = new
.env
.model
// .memory(gemini_ai::Memorys::Json)
.no_memory
.kind
.instruction
.text
.max_token
.build
.output;
let string = decode_gemini; // optional to decode the output if it sends the reponse else error
//eg function calling
let feature1 = new;
let feature = feature;
let pluse = new
.env
.model
.train
.instruction
.tell
.build
.output;
let builder = new
.env
.model
// .memory(gemini_ai::Memorys::Json)
.no_memory
.kind
.instruction
.text
.max_token
.build
.output;