Skip to main content

Get Model Details

AutomatR.ChatGPT.Activities.GetModelDetails

The "Get Model Details" activity in AutomatR is part of the ChatGPT activities package, designed to retrieve detailed information about a specific ChatGPT model. This activity sends a GET request to the OpenAI API, providing the model ID, and outputs the model details, which can be used in subsequent activities.

Properties

NameDescription
Input
Model IDProvide the model ID whose details you want to fetch from the source (example: gpt-3.5-turbo-16k-0613). String variables containing the model ID.
Misc
Display NameThis property allows you to customize the display name of the activity within the workflow.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get Model Details" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResponseOutputs the result as a SelectedModel data type, which contains detailed information about the specified ChatGPT model. The output can be used in other subsequent activities. Variables of type SelectedModel to store the model details.

How to use:

  1. Drag and drop the "Get Model Details" activity onto the workflow.
  2. Configure the properties by specifying the model ID for which you want to retrieve details.
  3. Optionally, configure the delay.
  4. Execute the workflow to retrieve detailed information about the specified ChatGPT model.

Example: Consider an example where the "Get Model Details" activity is used to retrieve information about the model with the ID "gpt-3.5-turbo-16k-0613":

Get Model Details:
Model ID: "gpt-3.5-turbo-16k-0613"
Delay: 2
Response: modelDetails

In this example, the activity retrieves detailed information about the ChatGPT model with the ID "gpt-3.5-turbo-16k-0613." The result is stored in the modelDetails variable for further use in the workflow.