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
Name | Description |
---|---|
Input | |
Model ID | Provide 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 Name | This property allows you to customize the display name of the activity within the workflow. |
Optional | |
Delay | Specifies 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 | |
Response | Outputs 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:
- Drag and drop the "Get Model Details" activity onto the workflow.
- Configure the properties by specifying the model ID for which you want to retrieve details.
- Optionally, configure the delay.
- 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.