|
3076 | 3076 | "name": "sortOrder", |
3077 | 3077 | "required": false, |
3078 | 3078 | "in": "query", |
3079 | | - "description": "This is the sort order for pagination. Defaults to 'ASC'.", |
| 3079 | + "description": "This is the sort order for pagination. Defaults to 'DESC'.", |
3080 | 3080 | "schema": { |
3081 | 3081 | "enum": [ |
3082 | 3082 | "ASC", |
|
5967 | 5967 | "type": "string", |
5968 | 5968 | "description": "This is the Google model that will be used.", |
5969 | 5969 | "enum": [ |
| 5970 | + "gemini-2.0-flash-thinking-exp", |
5970 | 5971 | "gemini-2.0-pro-exp-02-05", |
5971 | 5972 | "gemini-2.0-flash", |
5972 | 5973 | "gemini-2.0-flash-lite-preview-02-05", |
|
7212 | 7213 | "type": "string", |
7213 | 7214 | "description": "This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b", |
7214 | 7215 | "enum": [ |
7215 | | - "grok-beta" |
| 7216 | + "grok-beta", |
| 7217 | + "grok-2" |
7216 | 7218 | ] |
7217 | 7219 | }, |
7218 | 7220 | "provider": { |
|
13260 | 13262 | "pipeline-error-groq-llm-failed", |
13261 | 13263 | "pipeline-error-google-llm-failed", |
13262 | 13264 | "pipeline-error-xai-llm-failed", |
| 13265 | + "pipeline-error-mistral-llm-failed", |
13263 | 13266 | "pipeline-error-inflection-ai-llm-failed", |
13264 | 13267 | "pipeline-error-cerebras-llm-failed", |
13265 | 13268 | "pipeline-error-deep-seek-llm-failed", |
|
13278 | 13281 | "pipeline-error-xai-403-model-access-denied", |
13279 | 13282 | "pipeline-error-xai-429-exceeded-quota", |
13280 | 13283 | "pipeline-error-xai-500-server-error", |
| 13284 | + "pipeline-error-mistral-400-bad-request-validation-failed", |
| 13285 | + "pipeline-error-mistral-401-unauthorized", |
| 13286 | + "pipeline-error-mistral-403-model-access-denied", |
| 13287 | + "pipeline-error-mistral-429-exceeded-quota", |
| 13288 | + "pipeline-error-mistral-500-server-error", |
13281 | 13289 | "pipeline-error-inflection-ai-400-bad-request-validation-failed", |
13282 | 13290 | "pipeline-error-inflection-ai-401-unauthorized", |
13283 | 13291 | "pipeline-error-inflection-ai-403-model-access-denied", |
|
24058 | 24066 | } |
24059 | 24067 | } |
24060 | 24068 | }, |
24061 | | - "UpdateWorkflowDTO": { |
24062 | | - "type": "object", |
24063 | | - "properties": { |
24064 | | - "nodes": { |
24065 | | - "type": "array", |
24066 | | - "items": { |
24067 | | - "oneOf": [ |
24068 | | - { |
24069 | | - "$ref": "#/components/schemas/Say", |
24070 | | - "title": "Say" |
24071 | | - }, |
24072 | | - { |
24073 | | - "$ref": "#/components/schemas/Gather", |
24074 | | - "title": "Gather" |
24075 | | - }, |
24076 | | - { |
24077 | | - "$ref": "#/components/schemas/ApiRequest", |
24078 | | - "title": "ApiRequest" |
24079 | | - }, |
24080 | | - { |
24081 | | - "$ref": "#/components/schemas/Hangup", |
24082 | | - "title": "Hangup" |
24083 | | - }, |
24084 | | - { |
24085 | | - "$ref": "#/components/schemas/Transfer", |
24086 | | - "title": "Transfer" |
24087 | | - } |
24088 | | - ] |
24089 | | - } |
24090 | | - }, |
24091 | | - "name": { |
24092 | | - "type": "string", |
24093 | | - "maxLength": 80 |
24094 | | - }, |
24095 | | - "edges": { |
24096 | | - "type": "array", |
24097 | | - "items": { |
24098 | | - "$ref": "#/components/schemas/Edge" |
24099 | | - } |
24100 | | - } |
24101 | | - } |
24102 | | - }, |
24103 | 24069 | "Eval": { |
24104 | 24070 | "type": "object", |
24105 | 24071 | "properties": { |
@@ -24138,19 +24104,22 @@ |
24138 | 24104 | "updatedAt" |
24139 | 24105 | ] |
24140 | 24106 | }, |
24141 | | - "GetEvalsResponseDto": { |
| 24107 | + "EvalsPaginatedResponse": { |
24142 | 24108 | "type": "object", |
24143 | 24109 | "properties": { |
24144 | 24110 | "results": { |
24145 | | - "description": "These are the evaluations returned in the response.", |
24146 | 24111 | "type": "array", |
24147 | 24112 | "items": { |
24148 | 24113 | "$ref": "#/components/schemas/Eval" |
24149 | 24114 | } |
| 24115 | + }, |
| 24116 | + "metadata": { |
| 24117 | + "$ref": "#/components/schemas/PaginationMeta" |
24150 | 24118 | } |
24151 | 24119 | }, |
24152 | 24120 | "required": [ |
24153 | | - "results" |
| 24121 | + "results", |
| 24122 | + "metadata" |
24154 | 24123 | ] |
24155 | 24124 | }, |
24156 | 24125 | "CreateEvalDto": { |
|
24250 | 24219 | "attempts" |
24251 | 24220 | ] |
24252 | 24221 | }, |
| 24222 | + "EvalTest": { |
| 24223 | + "type": "object", |
| 24224 | + "properties": { |
| 24225 | + "scorers": { |
| 24226 | + "type": "array", |
| 24227 | + "description": "These are the scorers used to evaluate the test.", |
| 24228 | + "items": { |
| 24229 | + "oneOf": [ |
| 24230 | + { |
| 24231 | + "$ref": "#/components/schemas/EvalTestScorerAI", |
| 24232 | + "title": "AI" |
| 24233 | + } |
| 24234 | + ] |
| 24235 | + } |
| 24236 | + }, |
| 24237 | + "type": { |
| 24238 | + "type": "string", |
| 24239 | + "description": "This is the type of the test, which must be voice.", |
| 24240 | + "enum": [ |
| 24241 | + "voice" |
| 24242 | + ], |
| 24243 | + "maxLength": 100 |
| 24244 | + }, |
| 24245 | + "id": { |
| 24246 | + "type": "string", |
| 24247 | + "description": "This is the unique identifier for the test." |
| 24248 | + }, |
| 24249 | + "evalId": { |
| 24250 | + "type": "string", |
| 24251 | + "description": "This is the unique identifier for the evaluation this test belongs to." |
| 24252 | + }, |
| 24253 | + "createdAt": { |
| 24254 | + "format": "date-time", |
| 24255 | + "type": "string", |
| 24256 | + "description": "This is the ISO 8601 date-time string of when the test was created." |
| 24257 | + }, |
| 24258 | + "updatedAt": { |
| 24259 | + "format": "date-time", |
| 24260 | + "type": "string", |
| 24261 | + "description": "This is the ISO 8601 date-time string of when the test was last updated." |
| 24262 | + }, |
| 24263 | + "name": { |
| 24264 | + "type": "string", |
| 24265 | + "description": "This is the name of the test.", |
| 24266 | + "maxLength": 80 |
| 24267 | + }, |
| 24268 | + "script": { |
| 24269 | + "type": "string", |
| 24270 | + "description": "This is the script to be used for the voice test.", |
| 24271 | + "maxLength": 10000 |
| 24272 | + }, |
| 24273 | + "attempts": { |
| 24274 | + "type": "number", |
| 24275 | + "description": "This is the number of attempts allowed for the test.", |
| 24276 | + "minimum": 1, |
| 24277 | + "maximum": 10 |
| 24278 | + } |
| 24279 | + }, |
| 24280 | + "required": [ |
| 24281 | + "scorers", |
| 24282 | + "type", |
| 24283 | + "id", |
| 24284 | + "evalId", |
| 24285 | + "createdAt", |
| 24286 | + "updatedAt", |
| 24287 | + "script", |
| 24288 | + "attempts" |
| 24289 | + ] |
| 24290 | + }, |
| 24291 | + "EvalTestsPaginatedResponse": { |
| 24292 | + "type": "object", |
| 24293 | + "properties": { |
| 24294 | + "results": { |
| 24295 | + "type": "array", |
| 24296 | + "items": { |
| 24297 | + "$ref": "#/components/schemas/EvalTest" |
| 24298 | + } |
| 24299 | + }, |
| 24300 | + "metadata": { |
| 24301 | + "$ref": "#/components/schemas/PaginationMeta" |
| 24302 | + } |
| 24303 | + }, |
| 24304 | + "required": [ |
| 24305 | + "results", |
| 24306 | + "metadata" |
| 24307 | + ] |
| 24308 | + }, |
24253 | 24309 | "EvalRunTestAttemptCall": { |
24254 | 24310 | "type": "object", |
24255 | 24311 | "properties": { |
|
24366 | 24422 | "testResults" |
24367 | 24423 | ] |
24368 | 24424 | }, |
| 24425 | + "EvalRunsPaginatedResponse": { |
| 24426 | + "type": "object", |
| 24427 | + "properties": { |
| 24428 | + "results": { |
| 24429 | + "type": "array", |
| 24430 | + "items": { |
| 24431 | + "$ref": "#/components/schemas/EvalRun" |
| 24432 | + } |
| 24433 | + }, |
| 24434 | + "metadata": { |
| 24435 | + "$ref": "#/components/schemas/PaginationMeta" |
| 24436 | + } |
| 24437 | + }, |
| 24438 | + "required": [ |
| 24439 | + "results", |
| 24440 | + "metadata" |
| 24441 | + ] |
| 24442 | + }, |
24369 | 24443 | "CreateEvalRunDto": { |
24370 | 24444 | "type": "object", |
24371 | 24445 | "properties": { |
|
25164 | 25238 | "pipeline-error-groq-llm-failed", |
25165 | 25239 | "pipeline-error-google-llm-failed", |
25166 | 25240 | "pipeline-error-xai-llm-failed", |
| 25241 | + "pipeline-error-mistral-llm-failed", |
25167 | 25242 | "pipeline-error-inflection-ai-llm-failed", |
25168 | 25243 | "pipeline-error-cerebras-llm-failed", |
25169 | 25244 | "pipeline-error-deep-seek-llm-failed", |
|
25182 | 25257 | "pipeline-error-xai-403-model-access-denied", |
25183 | 25258 | "pipeline-error-xai-429-exceeded-quota", |
25184 | 25259 | "pipeline-error-xai-500-server-error", |
| 25260 | + "pipeline-error-mistral-400-bad-request-validation-failed", |
| 25261 | + "pipeline-error-mistral-401-unauthorized", |
| 25262 | + "pipeline-error-mistral-403-model-access-denied", |
| 25263 | + "pipeline-error-mistral-429-exceeded-quota", |
| 25264 | + "pipeline-error-mistral-500-server-error", |
25185 | 25265 | "pipeline-error-inflection-ai-400-bad-request-validation-failed", |
25186 | 25266 | "pipeline-error-inflection-ai-401-unauthorized", |
25187 | 25267 | "pipeline-error-inflection-ai-403-model-access-denied", |
|
25960 | 26040 | "pipeline-error-groq-llm-failed", |
25961 | 26041 | "pipeline-error-google-llm-failed", |
25962 | 26042 | "pipeline-error-xai-llm-failed", |
| 26043 | + "pipeline-error-mistral-llm-failed", |
25963 | 26044 | "pipeline-error-inflection-ai-llm-failed", |
25964 | 26045 | "pipeline-error-cerebras-llm-failed", |
25965 | 26046 | "pipeline-error-deep-seek-llm-failed", |
|
25978 | 26059 | "pipeline-error-xai-403-model-access-denied", |
25979 | 26060 | "pipeline-error-xai-429-exceeded-quota", |
25980 | 26061 | "pipeline-error-xai-500-server-error", |
| 26062 | + "pipeline-error-mistral-400-bad-request-validation-failed", |
| 26063 | + "pipeline-error-mistral-401-unauthorized", |
| 26064 | + "pipeline-error-mistral-403-model-access-denied", |
| 26065 | + "pipeline-error-mistral-429-exceeded-quota", |
| 26066 | + "pipeline-error-mistral-500-server-error", |
25981 | 26067 | "pipeline-error-inflection-ai-400-bad-request-validation-failed", |
25982 | 26068 | "pipeline-error-inflection-ai-401-unauthorized", |
25983 | 26069 | "pipeline-error-inflection-ai-403-model-access-denied", |
|
0 commit comments