SIC (Service Identity Code)

Unified C4AI service/entity identifier

Overview

The Service Identity Code (SIC) is a fundamental component across Cloud4.ai, simplifying service identification. This alphanumeric string serves as a concise means of identifying various sources and internal services, fostering clarity for both your team and the Cloud4.ai team regarding ongoing activities.

Sic Structure

The SIC comprises the following elements, as illustrated in the scheme above:

  • Prefix: In all cases, the prefix is "sic," but internal processing may involve other prefixes.

  • Organization ID: An identifier specific to your organization.

  • Service Type: Denotes the service associated with the SIC or the service intended for use.

  • Service ID: Identifies the specific instance of the service.

  • Version: While not mandatory, specifying a version can be beneficial. For instance, in scenarios where you want to compare the performance of various prompts (refer to PL, Prompt Library).

Understanding and utilizing the SIC within Cloud4.ai significantly enhances service management, providing a standardized approach for identification and facilitating seamless communication across different components of the platform.

Examples

const result = C4AI_SDK_SICParserHelper.isSic('sic@00000000:ees:0000000000');
// result is false

const result = C4AI_SDK_SICParserHelper.isSic('sic@00000000:foo:0000000000');
// result is false

const result = C4AI_SDK_SICParserHelper.isSic('sic@0000000000:ees:0000000000');
// result is true

const result = C4AI_SDK_SICParserHelper.isSic('loc@0000000000:ees:0000000000');
// result is true. This is specfiic for the local services like CSS

Last updated

Was this helpful?