Skip to content

newapplesho/google-cloud-smalltalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-cloud-smalltalk

ci

Pharo Smalltalk client libraries for Google Cloud Platform services.

Disclaimer

This is an unofficial, community-maintained library and is not affiliated with, endorsed, or supported by Google LLC. Use at your own risk.

Features

Package Description Documentation
Google-GenAI Gemini AI text generation and chat docs/gemini.md
Google-BigQuery BigQuery dataset management docs/bigquery.md
Google-Auth GCP authentication docs/getting-started.md

Requirements

Smalltalk Version
Pharo 12.0, 13.0

Installation

Metacello new
  baseline: 'GoogleCloud';
  repository: 'github://newapplesho/google-cloud-smalltalk:main/src';
  load.

Quick Start

1. Set up authentication

Smalltalk platform environment at: 'GOOGLE_APPLICATION_CREDENTIALS' put:(FileLocator home / 'service_account_key.json') pathString.

See Getting Started for more authentication options.

2. Use Gemini AI

client := GoogleGenAIClient new
    config: (GoogleGenAIConfig new
        projectId: 'your-gcp-project-id';
        useVertexAI: true;
        yourself).

response := client generateContent: 'Explain Smalltalk in one sentence.'.
Transcript show: response text.

See Gemini Documentation for chat, code generation, and more.

Documentation

About

Pharo Smalltalk client libraries for Google Cloud Platform services.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •