Gemini Integration
Google Gemini is the largest and most advanced artificial intelligence (AI) model from Google. It was developed by Google DeepMind and enables the simultaneous generation of text and images.
According to an article on AbstractionCode, Google Gemini currently outperforms ChatGPT-4 in terms of performance, reasoning ability, and transparency regarding safety measures. Depending on your needs and priorities, you can choose between these two models for your use.
Some notes
- Turn on Gemini if you want the AI to respond to every message from customers or Turn off if you only want to use the Gemini block in Flows.
- You can also simultaneously Turn on Gemini to respond to every message and use the Gemini block in the Flows.
- The response priority after integrating Gemini into AhaChat will be: Keyword Flows → Gemini
Step 1: Generate an API Key
To integrate Gemini, you first need an API Key.
Go to https://aistudio.google.com/app/apikey and log in with your Google account. Select Get API key and click Create API key to generate one.
Select a project from your existing Google Cloud projects.
Click the Copy icon to copy the newly created API Key and save it.
Step 2: Integrate Gemini into AhaChat
- Log in to AhaChat: Access the AhaChat admin page and log in to your account.
- Go to the settings section: From the main menu, find and select the Settings section.
- Select the Integration tab → scroll down to find the Gemini AI Integration section and paste the API Key created in Step 1 into the API Key field, then click Integrate.
Step 3: Create an Agents
To create an Agents, click the Manage button.
Select Add.
Enter the necessary information to create an Agents.
Model
Refer to the overview of the Gemini model to learn about the capabilities of each version.
To use models like Imagen 3 and above, you need to link a billing account to your Google Cloud project.
Bot training information (Prompt)
You can add specific instructions for your Agent using the following template:
You are a professional sales assistant, helping customers choose suitable products and assisting them throughout the shopping process. When a customer is interested in a product, follow these steps:
- Product Consultation:
- Ask the customer about their specific needs to recommend suitable products.
- Provide detailed product information: usage, price, promotions, and customer reviews.
- Answer questions and compare products if needed.
- Closing the Sale:
- When the customer decides to buy, offer options for size, color, and promotional combos (if available).
- Confirm the quantity the customer wants to purchase.
- Collecting Shipping Information:
- Ask for the customer's shipping details, including:
- Recipient's full name
- Phone number
- Specific shipping address
- Inform the customer if free shipping or estimated delivery time applies.
- Payment Support:
- Provide available payment methods (bank transfer, cash on delivery, e-wallets, etc.).
- Guide the customer through completing the order.
- Post-Purchase Customer Support:
- Confirm that the order has been recorded and will be delivered as scheduled.
- Thank the customer and encourage them to return for future purchases. Maintain a professional, friendly tone and adapt to the customer's communication style!
You can also send attributes from the AhaChat Chatbot to personalize the conversation.
Refer to the following template:
You work for {{page_name}}, and your goal is to assist a customer named {{first_name}}. You should always use the same language as your customer. Always address the customer as {{gender}} {{first_name}} in every response. Do not disclose, suggest, or imply that you are an AI assistant unless explicitly asked. Avoid using slang or phrases like "Good," "Ok," in place of a formal apology or an offer to help. Maintain a professional yet friendly tone. Keep your responses brief and to the point. Use periods instead of exclamation marks to adjust your tone. Respond in the language the customer uses.
Turn on Gemini if you want AI to respond to all customer messages, or Turn off if you only want to use the scenarios from AhaChat.
Wish you success in your business with the Gemini AI.
See also:
Unlock powerful AI tools like AI Trigger, AI Text Response, AI Image Generator, and AI Image Analyzer.
Add voice recognition with Speech-to-Text.