Skip to main content

llama-index tools google integration

Project description

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")
  • key collected from your service console
  • engine which 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 oAuthcredentials.json in 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_tools_google-0.5.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

llama_index_tools_google-0.5.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_tools_google-0.5.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_tools_google-0.5.0.tar.gz
Algorithm Hash digest
SHA256 1bbf312afd481f701b3abe1e488e25fe56373a1850bac59f87fd59e41b07f931
MD5 b212a61cd9550d6bdf9afc3635caad8e
BLAKE2b-256 65938307bd8d074d9ec8984566ae4bfe8ef35765510efa24125e62b7a832f9e5

See more details on using hashes here.

File details

Details for the file llama_index_tools_google-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_tools_google-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91a43f066a6f4dd16cf3cba5b2b0b595453f86b75eccb3075b37718de40c52ba
MD5 0d287cb1e701b8a36162734136b47fa6
BLAKE2b-256 71bc7b57143dc30f5d319a314168bb71d678183062fe915f1d9e9173fd3f678c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page