(
params: Partial<{
version: string;
stream: boolean;
}>
)
| 1 | import { CallbackTimeout } from "./types"; |
| 2 | |
| 3 | export const createPredictionProperties = ( |
| 4 | params: Partial<{ |
| 5 | version: string; |
| 6 | stream: boolean; |
| 7 | }> |
| 8 | ) => { |
| 9 | return [ |
| 10 | ...(params.version ? [{ label: "Model Version", text: params.version }] : []), |
| 11 | ...streamingProperty(params), |
| 12 | ]; |
| 13 | }; |
| 14 | |
| 15 | export const createDeploymentProperties = ( |
| 16 | params: Partial<{ |
no test coverage detected
searching dependent graphs…