Skip to content

Basic version: Tools to access OpenAI API using various languages. From JS level API calls to standalone scripts

Notifications You must be signed in to change notification settings

bbhitec/gipity_basic

Repository files navigation

Gipity - OpenAI Clients

Basic version

Tools to access OpenAI API using various languages. From JS level API calls to standalone scripts

Gains/Feats/WIP

  • Basic API treatment in JS (script and app)
    • deploy (with an API key field)?
  • JSON manipulations
  • Bash scripting: inputs, curl, grep
  • Bash curl script
  • Powershell (windows) script
    • Parametrize
  • Powershell: Invoke and response manipulation, parametrization
  • python script
  • file manipulations in webApi and node.js?

Usage/How to run

Intermediate: Create a personal API key and charge it with tokens at (https://platform.openai.com/api-keys) and define it in relates scripts

  • JS app: run html in any browser (access raw data via the source/console)
  • Node.js: node .\gipity_cli_completion_plus.js
  • PowerShell: ./gipity_<variation>.ps1 -apiKey "sk-..." -Prompt "..."
  • Bash: ./gipity_<variation>.sh "<prompt string>"

About

Basic version: Tools to access OpenAI API using various languages. From JS level API calls to standalone scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published