Helper for GeoGuessr training using OpenAI
Project description
GGAI
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 DESCRIPTION] [-e EMBEDDING]
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 DESCRIPTION, --description DESCRIPTION
Description for screencapture
-e EMBEDDING, --embedding EMBEDDING
Embedding Description to captured image
Setup
Create a quickaction with 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.
Release Notes
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
Release history Release notifications | RSS feed
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.2.2.tar.gz
(3.5 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ggai-0.2.2-py3-none-any.whl
(8.0 kB
view details)
File details
Details for the file ggai-0.2.2.tar.gz.
File metadata
- Download URL: ggai-0.2.2.tar.gz
- Upload date:
- Size: 3.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e787b4b3da2769cbfe0c4c73859535af79468f645b05c47289f2a3d73471b88f
|
|
| MD5 |
47e38266cc8ec2e864096c3f6a715f29
|
|
| BLAKE2b-256 |
e5f2170bbfdc531ccef525cdcc116f6723b5b65264efd010f04c9256fdbf291e
|
File details
Details for the file ggai-0.2.2-py3-none-any.whl.
File metadata
- Download URL: ggai-0.2.2-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f10512f8895df82133b872cef40526032d5c55b0db3a8a8cd0f2ada9bdd651bb
|
|
| MD5 |
92ad4bce49ff081a4cadd27506af514f
|
|
| BLAKE2b-256 |
320b2828f318b4ff01be6fef0c6702bed092d8b07fa9929702e73ca9e1f6472b
|