graphlit-client
Version:
Graphlit API Client for TypeScript
19 lines (18 loc) • 682 B
TypeScript
/**
* Get the actual model name for a given specification
* @param specification - The Graphlit specification object
* @returns The SDK-compatible model name
*/
export declare function getModelName(specification: any): string | undefined;
/**
* Check if a service type supports streaming
* @param serviceType - The model service type
* @returns True if streaming is supported
*/
export declare function isStreamingSupported(serviceType?: string): boolean;
/**
* Get the service type from specification
* @param specification - The specification object
* @returns The service type string
*/
export declare function getServiceType(specification: any): string | undefined;