Uses of Interface
com.microsoft.semantickernel.services.AIService
-
-
Uses of AIService in com.microsoft.semantickernel
Methods in com.microsoft.semantickernel with type parameters of type AIService Modifier and Type Method Description <T extends AIService>
TKernel. getService(String name, Class<T> clazz)Obtains the service with the given name and type<T extends AIService>
Kernel.BuilderKernel.Builder. withAIService(String serviceId, T instance, boolean setAsDefault, Class<T> clazz)Adds an instance to the services collection<T extends AIService>
Kernel.BuilderKernel.Builder. withAIServiceFactory(String serviceId, Function<KernelConfig,T> factory, boolean setAsDefault, Class<T> clazz)Adds a factory method to the services collection<T extends AIService>
Kernel.BuilderKernel.Builder. withDefaultAIService(Supplier<T> factory, Class<T> clazz)Adds a factory method to the services collection<T extends AIService>
Kernel.BuilderKernel.Builder. withDefaultAIService(T instance)Adds an instance to the services collection<T extends AIService>
Kernel.BuilderKernel.Builder. withDefaultAIService(T instance, Class<T> clazz)Adds an instance to the services collection -
Uses of AIService in com.microsoft.semantickernel.ai.embeddings
Subinterfaces of AIService in com.microsoft.semantickernel.ai.embeddings Modifier and Type Interface Description interfaceEmbeddingGeneration<TValue>Interface for text embedding generation servicesinterfaceTextEmbeddingGenerationInterface for text embedding generation services -
Uses of AIService in com.microsoft.semantickernel.chatcompletion
Subinterfaces of AIService in com.microsoft.semantickernel.chatcompletion Modifier and Type Interface Description interfaceChatCompletion<ChatHistoryType extends ChatHistory> -
Uses of AIService in com.microsoft.semantickernel.services
Methods in com.microsoft.semantickernel.services with type parameters of type AIService Modifier and Type Method Description <T extends AIService>
TAIServiceSupplier. get(String serviceId, Class<T> clazz)<T extends AIService>
voidAIServiceCollection. setService(String name, Supplier<T> factory, boolean setAsDefault, Class<T> specificServiceType)Registers a transient service factory with an optional name and default flag.<T extends AIService>
voidAIServiceCollection. setService(String name, T service, boolean setAsDefault, Class<T> serviceType)Registers a singleton service instance with an optional name and default flag.<T extends AIService>
voidAIServiceCollection. setService(Supplier<T> factory, Class<T> serviceType)Registers a transient service factory with the default name.<T extends AIService>
voidAIServiceCollection. setService(T service, Class<T> serviceType)Registers a singleton service instance with the default name.Constructor parameters in com.microsoft.semantickernel.services with type arguments of type AIService Constructor Description DefaultAIServiceProvider(Map<Class<? extends AIService>,Map<String,Supplier<? extends AIService>>> services, Map<Class<? extends AIService>,String> defaultIds)DefaultAIServiceProvider(Map<Class<? extends AIService>,Map<String,Supplier<? extends AIService>>> services, Map<Class<? extends AIService>,String> defaultIds) -
Uses of AIService in com.microsoft.semantickernel.textcompletion
Subinterfaces of AIService in com.microsoft.semantickernel.textcompletion Modifier and Type Interface Description interfaceTextCompletionInterface for text completion services
-