pwn-ai-openai
Drive PWN::AI::OpenAI from pwn_eval.
SKILL.mdetc/default_skills/pwn/ai/open_ai/SKILL.md
GitHubPWN::AI::OpenAI
This plugin is used for interacting w/ OpenAI's REST API using the 'rest' browser type of PWN::Plugins::TransparentBrowser. This is based on the following OpenAI API Specification: https://api.openai.com/v1
When to use
Call PWN::AI::OpenAI from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/ai/open_ai.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::AI::OpenAI.help
PWN::AI::OpenAI.refresh_oauth_bearer_token(opts)
Public methods
refresh_oauth_bearer_tokenobtain_oauth_bearer_tokenget_modelsget_modelchat_with_toolsapi_endpointchatimg_genvisioncreate_fine_tunelist_fine_tunesget_fine_tune_statuscancel_fine_tuneget_fine_tune_eventsdelete_fine_tune_modellist_filesupload_filedelete_fileget_fileauthorshelp
References
references/urls.md— URLs from source
Source
pwn/ai/open_ai.rb
Verification
PWN::AI::OpenAI.respond_to?(:refresh_oauth_bearer_token) after the
module is loaded. Read the source for parameter names.