RubyGems Navigation menu

openai-term 1.0.0

This is a pretty straight forward interface to OpenAI with the option to select the AI model and the maximum token length (number of maximum words in the AI's response). You will use the -t option to supply the query to OpenAI or the -f option to read the query from a text file instead. New in 1.0.0: Added the functionality to create images via the -i option (in conjunction with either the -t or the -f option).

Gemfile:
=

install:
=

Versions:

  1. 3.0.2 August 15, 2025 (12 KB)
  2. 3.0.1 August 15, 2025 (11.5 KB)
  3. 3.0 August 15, 2025 (11.5 KB)
  4. 2.2 August 12, 2025 (11.5 KB)
  5. 2.1 July 07, 2025 (11.5 KB)
  6. 1.0.0 January 27, 2023 (5.5 KB)
Show all versions (18 total)

Runtime Dependencies (2):

ruby-openai ~> 3.0
tty-prompt ~> 0.23

Owners:

Pushed by:

Authors:

  • Geir Isene

SHA 256 checksum:

=

Total downloads 9,422

For this version 732

Version Released:

License:

Unlicense

Required Ruby Version: >= 0

Links: