Skip to main content

Helper for GeoGuessr training using OpenAI

Project description

GGAI

License Python

Helper for GeoGuessr training using OpenAI

Table of Contents

Prerequisites

  • macOS
  • Python 3.10 and above

Install

  • with brew
brew tap rioriost/ggai
brew install ggai

Usage

ggai --help
usage: ggai [-h] [-k KEY] [-m MODEL] [-f FILENAME] [-d DIRECTORY]

ggai

options:
  -h, --help            show this help message and exit
  -k KEY, --key KEY     OpenAI API key
  -m MODEL, --model MODEL
                        OpenAI Model to use, default: gpt-4o
  -f FILENAME, --filename FILENAME
                        Filename for screencapture
  -d DIRECTORY, --directory DIRECTORY
                        Directory to save screencapture

Setup

Create a quickaction with Automator.

Automator Automator Automator

And, put a script with API key for OpenAI.

result=$(/opt/homebrew/bin/ggai -k "sk-proj-......")

osascript <<EOD
display dialog "$(echo "$result" | sed 's/"/\\"/g')" buttons {"OK"} default button 1
EOD

After saving the quickaction as 'ggai', you can call it from 'Services...' menu.

Automator

Sample

Release Notes

0.4.8 Release

  • Changed the default model to GPT-5, it takes much longer to guess than gpt-4o

0.4.7 Release

  • Dependency Update

0.4.6 Release

  • Dependency Update

0.4.5 Release

  • Dependency Update

0.4.4 Release

  • Dependency Update

0.4.3 Release

  • Dependency Update

0.4.2 Release

  • Dependency Update

0.4.1 Release

  • Improved robustness

0.4.0 Release

  • Refactored

0.3.2 Release

  • Show guessing duration

0.3.1 Release

  • Improved prompt

0.3.0 Release

  • Added directory argument

0.2.2 Release

  • Improved prompt

0.2.1 Release

  • Added text embedding

0.2.0 Release

  • Added a feature to write a file of guess

0.1.6 Release

  • Improved prompt

0.1.5 Release

  • Improved prompt

0.1.4 Release

  • Improved prompt

0.1.3 Release

  • Fixed package size

0.1.2 Release

  • Added detailed README

0.1.1 Release

  • Initial release

License

MIT License

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

ggai-0.4.8.tar.gz (3.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ggai-0.4.8-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file ggai-0.4.8.tar.gz.

File metadata

  • Download URL: ggai-0.4.8.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for ggai-0.4.8.tar.gz
Algorithm Hash digest
SHA256 94942c2f20c3532336450163553f84171afabdefa3c6e5b98fdfef1562e29c6f
MD5 8d3f214a17786a0c82f1aada5352644f
BLAKE2b-256 f7d94d0756cef400b15c0c456c899095509e797d9cabe32af1af023a7e18cc52

See more details on using hashes here.

File details

Details for the file ggai-0.4.8-py3-none-any.whl.

File metadata

  • Download URL: ggai-0.4.8-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for ggai-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a946b9a3ce77e55d86c47f076515fec9887ffd20e58fe0b07f6760d1935a9723
MD5 73413789d3c9be54eebb7fed2c94855e
BLAKE2b-256 272d6866af620b789d6c8dfdfa7f355b9b7c4eca0d012e7558105181d5b3f215

See more details on using hashes here.

Supported by

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