| Step Details | |
| Introduced in Version | 9.3.0 |
| Last Modified in Version | 9.3.0 |
| Location | AI > Common > Providers |
The Get Chat Completion Models step is used to retrieve all available chat completion models available for a given provider.
Prerequisites
This step requires the AI Common to be installed before it will be available in the toolbox.
Properties
Settings
| Property | Description | Data Type | |
|---|---|---|---|
| Override Default Provider | Boolean permitting the user to override which provider is used | Boolean | |
| Provider | Provider selected to override | String | |
| Get Provider From Flow | Boolean permitting overriding provider to be chosen from flow | Boolean | |
| Select Model | Boolean allowing for a specific model to be chosen | Boolean | |
| Select Prompt | Boolean permitting the advanced selection of a specific prompt | Boolean | |
| Select Model | Boolean permitting the user to decide which model to retrieve chat completion models from | Boolean | |
| Select Prompt | Boolean permitting selection of prompt making search more precise | Boolean | |
| Prompt | String of prompt selected | String | |
Inputs
| Property | Description | Data Type |
|---|---|---|
| Override Variables | List of variables to override in order to refine search results | List of AIPromptVariable |
Outputs
| Property | Description | Data Type | |
|---|---|---|---|
| Done | |||
| Chat Response | Outputted response in correlation to the prompt | List of AIChatCompletion | |
| Prompt | Prompt given that expects a response via the Chat Response | String | |
| Failed | |||
| Reason | This output provides an error message that details any errors encountered during the process. If there are issues with the operation, this message will help identify and troubleshoot the problem. | String | |

Example Inputs and Outputs
| Input | Output |
|---|---|
| Decisions.AI.GoogleGemini | 0: gemini-1.5-flash 1: gemini-1.5-pro 2: gemini-1.0-pro |
| Decisions.AI.Anthropic | 0: claude-2.1 1: claude 2.0 2: claude-instant-1.2 |
Related Information
