Forrest logo
back to context overview

openai

List of commands for openai:

  • openai:tldr:0f4ef openai: Create a completion.
    $ openai api completions.create --model ${ada} --prompt ${"Hello world"}
    try on your machine
    explain this command
  • openai:tldr:329e8 openai: Create a chat completion.
    $ openai api chat_completions.create --model ${gpt-3-5-turbo} --message ${user "Hello world"}
    try on your machine
    explain this command
  • openai:tldr:8f867 openai: List models.
    $ openai api models.list
    try on your machine
    explain this command
  • openai:tldr:9dbf6 openai: Generate images via DALLĀ·E API.
    $ openai api image.create --prompt ${"two dogs playing chess, cartoon"} --num-images ${1}
    try on your machine
    explain this command
back to context overview