-
-
Notifications
You must be signed in to change notification settings - Fork 26
Google API Setup
LetMeDoIt integrates the following Google API services:
- Vertex AI [Gemini Pro / Gemini Pro Vision / PaLM 2 / Codey]
- Cloud Speech-to-Text
- Cloud Text-to-Speech
Remarks: It works even in EU / UK. At the time of writing, web-based Google AI Studio is not accessible in EU / UK / some other regions. As this python package is based on Google Vertex AI APIs, there is no such restriction.
- Either "Select a project" or create "NEW PROJECT", enter, e.g.:
Project name: letmedoitai
- Set up billing information
MENU > Billing > Payment method
- Set up service account
MENU > MORE PRODUCTS > IAM & ADMIN > Service Accounts
Create service account, e.g.:
-
Service account name: letmedoitai
-
Service account ID: letmedoitai
-
Service account description: letmedoitai
Click "CREATE AND CONTINUE"
- Select role > Owner > CONTINUE > DONE
- Download API key in JSON format
Right next to the created service account, select the 3-dot action button > Manage keys
ADD KEY > Create new key
Select JSON format and automatically download the file
-
Click "ENABLE ALL RECOMMENDATED APIS"
-
Copy the JSON file, downloaded in the previous step, to directory "~/letmedoit/" and rename it as "credentials_google_cloud.json"
-
Click "ENABLE"
-
Copy the JSON file, downloaded in the previous step, to directory "~/letmedoit/" and rename it as "credentials_google_cloud.json"
-
Go to https://console.cloud.google.com/speech/text-to-speech
-
Click "ENABLE"
-
Copy the JSON file, downloaded in the previous step, to directory "~/letmedoit/" and rename it as "credentials_google_cloud.json"
Remarks:
-
The "~" in the copied path denotes user home directory
-
Copy to "~/myhand/", "~/taskwiz/", "~/cybertask/" if you also install packages myhand, taskwiz, cyber task
-
In case you install our python package googleaistudio, copied the json file to "~/googleaistudio/credentials_googleaistudio.json"
You can enable none / some / all supported Google API Service in LetMeDoIt AI.
Select "Change Google API Service" from action menu and select the service that you want from the dialog:
https://github.com/eliranwong/letmedoit/wiki/Integration-with-Google-AI-Tools
Please refer to the following information about pricing, charged by Google, depending on your usage.
Reference:
For example, pricing for Gemini Pro:
With the Multimodal models in Vertex AI, you can input either text or media (images, video). Text input is charged by every 1,000 characters of input (prompt) and every 1,000 characters of output (response). Characters are counted by UTF-8 code points and white space is excluded from the count. Prediction requests that lead to filtered responses are charged for the input only. At the end of each billing cycle, fractions of one cent ($0.01) are rounded to one cent. Media input is charged per image or per second (video).
At the time of writing, Google is offering a limited-time opportunity for developers to try Gemini Pro for free on Vertex AI until January 15, 2024.
Reference: https://cloud.google.com/speech-to-text
Reference: https://console.cloud.google.com/speech/text-to-speech
Text-to-Speech is priced based on the number of characters sent to the service to be synthesized into audio each month. The first 1 million characters for WaveNet voices are free each month. For Standard (non-WaveNet) voices, the first 4 million characters are free each month. After the free tier has been reached, Text-to-Speech is priced per 1 million characters of text processed.
Installation
Installation on Android
Install a Supported Python Version
Install ffmpeg
Android Support
Install LetMeDoIt AI on Android Termux App
Automatic Upgrade Option
Quick Guide
Action Menu
ChatGPT API Key
Use GPT4 Models
Google API Setup
ElevenLabs API Setup
OpenWeatherMap API Setup
Run Local LLM Offline
Token Management
Command Line Interface Options
Command Execution
Chat-only Features
Developer Mode
Save Chart Content Locally
Work with Text Selection
Work with File Selection
System Tray
Custom Key Bindings
Examples
Features
Change Assistant Name
Setup Multiple LetMeDoIt Assistants
Memory Capabilities
Data Visualization
Analyze Files
Analyze Images
Analyze Audio
Google and Outlook Calendars
Python Code Auto‐heal Feature
Integration with AutoGen
Integration with Google AI Tools
Integration with Open Interpreter
Speak to LetMeDoIt AI
LetMeDoIt Speaks
Speak multi‐dialects
Create a map anytime
Modify your images with simple words
Work with Database Files
Create a Team of AI Assistants
Search and Load Chat Records
Search Weather Information
Search Financial Data
Social Media
Plugins ‐ Overview
Plugins - How to Write a Custom Plugin
Plugins ‐ Add Aliases
Plugins ‐ Input Suggestions
Plugins ‐ Install Additional Packages
Plugins ‐ Predefined Contexts
Plugins ‐ Transform Text Output
Plugins ‐ Work with LetMeDoIt AI Configurations
Plugins ‐ Function Calling
Plugins ‐ Run Codes with Specific Packages
Plugins ‐ Work with Non‐conversational Model
Plugins ‐ Integrate Text‐to‐speech Feature
Plugins ‐ Integrate Other Shared Utilities