https://github.com/eliranwong/googleaistudio
A collection of AI tools built on Google Vertex AI APIs
https://github.com/eliranwong/googleaistudio
ai codey gemini google letmedoit multimodal palm studio vision
Last synced: 30 days ago
JSON representation
A collection of AI tools built on Google Vertex AI APIs
- Host: GitHub
- URL: https://github.com/eliranwong/googleaistudio
- Owner: eliranwong
- License: agpl-3.0
- Created: 2023-12-16T13:20:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-19T18:13:20.000Z (over 1 year ago)
- Last Synced: 2024-12-29T13:47:35.213Z (9 months ago)
- Topics: ai, codey, gemini, google, letmedoit, multimodal, palm, studio, vision
- Language: Python
- Homepage: https://letmedoit.ai
- Size: 101 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://ai.google.dev/available_regions#available_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](https://cloud.google.com/vertex-ai/docs/generative-ai/multimodal/overview) (LLM: Gemini Pro)
* palm2 - a multiturn chat bot built on Google [PaLM 2](https://cloud.google.com/vertex-ai/docs/generative-ai/language-model-overview) (LLM: chat-bison-32k)
* codey - a multiturn chat bot built on [Codey](https://cloud.google.com/vertex-ai/docs/generative-ai/code/code-models-overview) (LLM: codechat-bison-32k)
These are part of integrated tools, developed in our [LetMeDoIt AI project](https://github.com/eliranwong/letmedoit).
# Screenshot
# 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