Share via


AIService Interface

public interface AIService

Marker interface for AI services. AIServices are registered with the Kernel and are used to provide access to AI services.

Method Summary

Modifier and Type Method and Description
abstract java.lang.String getModelId()

Gets the model identifier.

abstract java.lang.String getServiceId()

Gets the service identifier.

Method Details

getModelId

public abstract String getModelId()

Gets the model identifier.

Returns:

The model identifier if it was specified in the service's attributes; otherwise, null.

getServiceId

public abstract String getServiceId()

Gets the service identifier.

Returns:

The service identifier.

Applies to