LlamaIndex Tools Integration: Google
Provides a set of tools to interact with Google services.
- you need to enable each of the below services in your google cloud console, under a same API key for a service, in order to use them.
Quick Start:
# pip install llama-index-tools-google
from llama_index.tools.google import GmailToolSpec
from llama_index.tools.google import GoogleCalendarToolSpec
from llama_index.tools.google import GoogleSearchToolSpec
custom search service
google_spec = GoogleSearchToolSpec(key="your-key", engine="your-engine")
keycollected from your service consoleenginewhich represents the search engine to use, you can create a custom search engine here
calendar read, create
- requires OAuth 2.0 credentials, you can create them here
- store oAuth
credentials.jsonin the same directory as the runnable agent. - you will need to manually approve the Oath every time this tool is invoked
gmail read, create
- same as calendar
known defects
- the calendar tool create is not able to generate an event if the agent is not able to infer the timezome
Metadata
Release files for llama-index-tools-google 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llama_index_tools_google-0.8.0.tar.gz | 8.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llama_index_tools_google-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.8 kB
Release files / llama_index_tools_google-0.8.0.tar.gz
| Download URL | llama_index_tools_google-0.8.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c52d2c6d6f064dd78e4824b018c0154b65f33fe9a10babf0d749bc2c0a107c8
|
|
BLAKE2b-256 checksum How to use checksums |
b933023d71fb7d64adcbcac08972c2df4341df582c18151a7c2e4c661f917e3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_tools_google-0.8.0-py3-none-any.whl
| Download URL | llama_index_tools_google-0.8.0-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08ab9de86e5eafa5c99720b98b09fc5b46bd662ea0aa15300510c3d7f26377bd
|
|
BLAKE2b-256 checksum How to use checksums |
0eb6c42aca520f6df42b4476ecb902e6e803e45b73d9007059da1c4ee8ffd546
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|