cahaseler/OpenAI ChatGPT Action

Call the ChatGPT API with a simple prompt and response

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
apiKeyOpenAI API Keyyes
promptPrompt for the chat completionyes
inputUser input for the chat completionyes
modelModel to use for the chat completionyes
temperatureTemperature parameter for the chat completion (default: 1)no
max_tokensMax tokens parameter for the chat completion (default: 1000)no
namedescription
completionThe message content of the chat completion
usage_prompt_tokensThe number of tokens used in the prompt
usage_completion_tokensThe number of tokens used in the completion
usage_total_tokensThe total number of tokens used