RubyGems Navigation menu

openai-term 1.1.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.1.0: Added the opportunity to supply both a text (-t) and a text file (-f) as a query (you can combine the two to e.g. ask openai to describe the content of a file).

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.2.1 - February 17, 2023 (5.5 KB)
  2. 1.2 - February 17, 2023 (5.5 KB)
  3. 1.1.1 - January 27, 2023 (5.5 KB)
  4. 1.1.0 - January 27, 2023 (5.5 KB)
  5. 1.0.0 - January 27, 2023 (5.5 KB)
Show all versions (10 total)

Runtime Dependencies (2):

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

Owners:

Pushed by:

Authors:

  • Geir Isene

SHA 256 checksum:

af5ebc9e42036af811844f0b068a34a6c7558aa61b474543da3f625b5730c5ba

Total downloads 3,492

For this version 332

License:

Unlicense

Required Ruby Version: >= 0

Links: