# 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
<img width="1440" alt="geminipro_palm2" src="https://github.com/eliranwong/letmedoit/assets/25262722/dc6f874e-ae11-4514-9ed0-3d22f2b1985c">
# 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
Raw data
{
"_id": null,
"home_page": "https://letmedoit.ai",
"name": "googleaistudio",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "ai google gemini palm codey vertex api multimodal vision",
"author": "Eliran Wong",
"author_email": "support@letmedoit.ai",
"download_url": "https://files.pythonhosted.org/packages/5e/b9/9cb150c600126f563cf9a3ee977b19313638c7045cc70330973f13f17c08/googleaistudio-0.0.21.tar.gz",
"platform": null,
"description": "# Google AI Studio\n\nA collection of AI tools built on Google Vertex AI APIs. It works even in EU / UK.\n\nAt 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.\n\nCurrent available features:\n\n* 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)\n\n* 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)\n\n* 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)\n\nThese are part of integrated tools, developed in our [LetMeDoIt AI project](https://github.com/eliranwong/letmedoit).\n\n# Screenshot\n\n<img width=\"1440\" alt=\"geminipro_palm2\" src=\"https://github.com/eliranwong/letmedoit/assets/25262722/dc6f874e-ae11-4514-9ed0-3d22f2b1985c\">\n\n# Install or Upgrade\n\n> pip install --upgrade googleaistudio\n\n# Google API Setup\n\nSave a copy of your API key JSON file as \"\\~/googleaistudio/credentials_googleaistudio.json\", where \"\\~\" denotes your home directory.\n\nRead https://github.com/eliranwong/letmedoit/wiki/Google-API-Setup for setting up Google API.\n\n# Usage\n\nRun in terminal:\n\n> geminipro\n\n> geminiprovision\n\n> palm2\n\n> codey\n\n# CLI options\n\n> geminipro -h\n\n> geminipro -t 0.5 -o 1024 \"Hello!\"\n\n> geminiprovision -h\n\n> geminiprovision -f image.png -t 0.5 -o 1024 \"Describe this image file\"\n\n> palm2 -h\n\n> palm2 -m \"chat-bison\" -t 0.5 -o 1024 \"Hello!\"\n\n> codey -h\n\n> codey -m \"codechat-bison\" -t 0.5 -o 1024 \"How to use decorators in python?\"\n\n# Integration in LetMeDoIt AI project\n\nhttps://github.com/eliranwong/letmedoit/wiki/Integration-with-Google-AI-Tools\n\n# Documentation for Developers\n\nhttps://cloud.google.com/vertex-ai/docs/generative-ai/learn/overview\n\nhttps://cloud.google.com/vertex-ai/docs/generative-ai/learn/models\n\nhttps://cloud.google.com/vertex-ai/docs/generative-ai/model-reference/overview\n\nhttps://cloud.google.com/vertex-ai/docs/generative-ai/sdk-for-llm/llm-sdk-overview\n\nhttps://cloud.google.com/vertex-ai/docs/generative-ai/multimodal/function-calling\n\nhttps://spec.openapis.org/oas/v3.0.3#schema\n\n\n\n",
"bugtrack_url": null,
"license": "GNU General Public License (GPL)",
"summary": "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.",
"version": "0.0.21",
"project_urls": {
"Documentation": "https://github.com/eliranwong/googleaistudio/wiki",
"Funding": "https://www.paypal.me/MarvelBible",
"Homepage": "https://letmedoit.ai",
"Source": "https://github.com/eliranwong/googleaistudio",
"Tracker": "https://github.com/eliranwong/googleaistudio/issues"
},
"split_keywords": [
"ai",
"google",
"gemini",
"palm",
"codey",
"vertex",
"api",
"multimodal",
"vision"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "68f4d2705c87df3850a5bc16a04ff23bf640ecf61ce6058b27b42e4fe90da37b",
"md5": "9c0d3bdccc2a5d0dd8823ff04bc0f1de",
"sha256": "b732ac26a15e3c64b0f5293a694bce4f0d3e86365a925d722898b1227505ec95"
},
"downloads": -1,
"filename": "googleaistudio-0.0.21-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9c0d3bdccc2a5d0dd8823ff04bc0f1de",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 23087,
"upload_time": "2023-12-24T00:15:45",
"upload_time_iso_8601": "2023-12-24T00:15:45.335796Z",
"url": "https://files.pythonhosted.org/packages/68/f4/d2705c87df3850a5bc16a04ff23bf640ecf61ce6058b27b42e4fe90da37b/googleaistudio-0.0.21-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5eb99cb150c600126f563cf9a3ee977b19313638c7045cc70330973f13f17c08",
"md5": "74a726cdfc7006b211ffdf7b8adfd488",
"sha256": "12a83f139b8cda66b0b589346a1e9a95f7a327e5ba25e5fd947ab5b7f66bf6e7"
},
"downloads": -1,
"filename": "googleaistudio-0.0.21.tar.gz",
"has_sig": false,
"md5_digest": "74a726cdfc7006b211ffdf7b8adfd488",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 17186,
"upload_time": "2023-12-24T00:15:47",
"upload_time_iso_8601": "2023-12-24T00:15:47.202000Z",
"url": "https://files.pythonhosted.org/packages/5e/b9/9cb150c600126f563cf9a3ee977b19313638c7045cc70330973f13f17c08/googleaistudio-0.0.21.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-24 00:15:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "eliranwong",
"github_project": "googleaistudio",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "googleaistudio"
}