RubyGems Navigation menu

openai-term 1.2

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.2: Made openai read -f file first, then -t text.

Gemfile:
=

install:
=

Versions:

  1. 1.4 October 28, 2024 (5.5 KB)
  2. 1.3 October 27, 2024 (5.5 KB)
  3. 1.2.1 February 17, 2023 (5.5 KB)
  4. 1.2 February 17, 2023 (5.5 KB)
  5. 1.1.1 January 27, 2023 (5.5 KB)
Show all versions (12 total)

Runtime Dependencies (2):

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

Owners:

Pushed by:

Authors:

  • Geir Isene

SHA 256 checksum:

=

Total downloads 4,438

For this version 371

Version Released:

License:

Unlicense

Required Ruby Version: >= 0

Links: