Socket
Socket
Sign inDemoInstall

googleaistudio

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

googleaistudio

Gemini Pro & PaLM 2. A collection of AI tools built on Google Vertex AI APIs. These are part of integrated tools, developed in LetMeDoIt AI project.


Maintainers
1

Google AI Studio

A collection of AI tools built on Google Vertex AI APIs. 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.

Current available features:

  • geminipro - a multiturn chat bot built on Google Gemini Pro & Gemini Pro Vision (LLM: Gemini Pro)

  • palm2 - a multiturn chat bot built on Google PaLM 2 (LLM: chat-bison-32k)

  • codey - a multiturn chat bot built on Codey (LLM: codechat-bison-32k)

These are part of integrated tools, developed in our LetMeDoIt AI project.

Screenshot

geminipro_palm2

Install or Upgrade

pip install --upgrade googleaistudio

Google API Setup

Save a copy of your API key JSON file as "~/googleaistudio/credentials_googleaistudio.json", where "~" denotes your home directory.

Read https://github.com/eliranwong/letmedoit/wiki/Google-API-Setup for setting up Google API.

Usage

Run in terminal:

geminipro

geminiprovision

palm2

codey

CLI options

geminipro -h

geminipro -t 0.5 -o 1024 "Hello!"

geminiprovision -h

geminiprovision -f image.png -t 0.5 -o 1024 "Describe this image file"

palm2 -h

palm2 -m "chat-bison" -t 0.5 -o 1024 "Hello!"

codey -h

codey -m "codechat-bison" -t 0.5 -o 1024 "How to use decorators in python?"

Integration in LetMeDoIt AI project

https://github.com/eliranwong/letmedoit/wiki/Integration-with-Google-AI-Tools

Documentation for Developers

https://cloud.google.com/vertex-ai/docs/generative-ai/learn/overview

https://cloud.google.com/vertex-ai/docs/generative-ai/learn/models

https://cloud.google.com/vertex-ai/docs/generative-ai/model-reference/overview

https://cloud.google.com/vertex-ai/docs/generative-ai/sdk-for-llm/llm-sdk-overview

https://cloud.google.com/vertex-ai/docs/generative-ai/multimodal/function-calling

https://spec.openapis.org/oas/v3.0.3#schema

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc