A B C D E F G H I K L M N P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractSKContext - Class in com.microsoft.semantickernel.orchestration
-
Semantic Kernel context
- AbstractSkFunction<RequestConfiguration> - Class in com.microsoft.semantickernel.orchestration
-
Abstract implementation of the SKFunction interface.
- AbstractSkFunction(List<ParameterView>, String, String, String, KernelSkillsSupplier) - Constructor for class com.microsoft.semantickernel.orchestration.AbstractSkFunction
-
Constructor.
- AccessDenied - com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Access denied.
- addChatCompletionService(String, Function<Kernel, ChatCompletion>) - Method in class com.microsoft.semantickernel.KernelConfig.Builder
-
Add to the list a service for chat completion, e.g.
- addMessage(ChatHistory.AuthorRoles, String) - Method in class com.microsoft.semantickernel.chatcompletion.ChatHistory
-
Add a message to the chat history
- addTextCompletionService(String, Function<Kernel, TextCompletion>) - Method in class com.microsoft.semantickernel.KernelConfig.Builder
- addTextEmbeddingsGenerationService(String, Function<Kernel, EmbeddingGeneration<String, Float>>) - Method in class com.microsoft.semantickernel.KernelConfig.Builder
- aggregatePartitionedResultsAsync(List<String>, SKContext) - Method in interface com.microsoft.semantickernel.textcompletion.CompletionSKFunction
-
Method to aggregate partitioned results of a semantic function.
- AIException - Exception in com.microsoft.semantickernel.ai
-
AI logic exception
- AIException(AIException.ErrorCodes) - Constructor for exception com.microsoft.semantickernel.ai.AIException
-
Initializes a new instance of the
AIExceptionclass. - AIException(AIException.ErrorCodes, String) - Constructor for exception com.microsoft.semantickernel.ai.AIException
-
Initializes a new instance of the
AIExceptionclass. - AIException(AIException.ErrorCodes, String, Throwable) - Constructor for exception com.microsoft.semantickernel.ai.AIException
-
Initializes a new instance of the
AIExceptionclass. - AIException.ErrorCodes - Enum in com.microsoft.semantickernel.ai
-
Error codes
- AIService - Interface in com.microsoft.semantickernel.services
-
Marker interface for AI services
- AIServiceCollection - Class in com.microsoft.semantickernel.services
-
A collection that can hold AI services
- AIServiceCollection() - Constructor for class com.microsoft.semantickernel.services.AIServiceCollection
- AIServiceProvider - Interface in com.microsoft.semantickernel.services
- appendToVariable(String, String) - Method in class com.microsoft.semantickernel.orchestration.AbstractSKContext
- appendToVariable(String, String) - Method in interface com.microsoft.semantickernel.orchestration.SKContext
-
Appends data to the given key
- appendToVariable(String, String) - Method in interface com.microsoft.semantickernel.orchestration.WritableContextVariables
- asMap() - Method in interface com.microsoft.semantickernel.orchestration.ContextVariables
-
Get variables as a map
- asMap() - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlySkillCollection
-
Get this collection as an unmodifiable map
- Assistant - com.microsoft.semantickernel.chatcompletion.ChatHistory.AuthorRoles
- ATTEMPTED_TO_ACCESS_NONEXISTENT_COLLECTION - com.microsoft.semantickernel.memory.MemoryException.ErrorCodes
-
Attempted to access a memory collection that does not exist.
B
- Block - Class in com.microsoft.semantickernel.templateengine.blocks
-
Base class for blocks parsed from a prompt template
- Block(String, BlockTypes) - Constructor for class com.microsoft.semantickernel.templateengine.blocks.Block
-
Base constructor
- BlockTypes - Enum in com.microsoft.semantickernel.templateengine.blocks
- build() - Method in class com.microsoft.semantickernel.Kernel.Builder
-
Build the kernel
- build() - Method in class com.microsoft.semantickernel.KernelConfig.Builder
- build() - Method in interface com.microsoft.semantickernel.memory.MemoryStore.Builder
- build() - Method in interface com.microsoft.semantickernel.memory.SemanticTextMemory.Builder
- build() - Method in interface com.microsoft.semantickernel.orchestration.ContextVariables.Builder
- build() - Method in interface com.microsoft.semantickernel.orchestration.SKContext.Builder
- build() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfigBuilder
- build() - Method in class com.microsoft.semantickernel.services.AIServiceCollection
-
Builds an AIServiceProvider from the registered services and default names.
- build() - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlySkillCollection.Builder
- build() - Method in class com.microsoft.semantickernel.templateengine.PromptTemplateEngine.Builder
- build(OpenAIAsyncClient, String) - Method in interface com.microsoft.semantickernel.ai.embeddings.EmbeddingGeneration.Builder
- build(OpenAIAsyncClient, String) - Method in interface com.microsoft.semantickernel.chatcompletion.ChatCompletion.Builder
- build(OpenAIAsyncClient, String) - Method in class com.microsoft.semantickernel.textcompletion.TextCompletion.Builder
- build(Kernel) - Method in interface com.microsoft.semantickernel.orchestration.SKContext.Builder
-
Builds a context from the given kernel.
- build(KernelConfig, PromptTemplateEngine, SemanticTextMemory, MemoryStore, AIServiceProvider) - Method in interface com.microsoft.semantickernel.Kernel.InternalBuilder
- build(ContextVariables, SemanticTextMemory, ReadOnlySkillCollection) - Method in interface com.microsoft.semantickernel.orchestration.SKContext
- build(ReadOnlySkillCollection) - Method in interface com.microsoft.semantickernel.orchestration.SKContext.Builder
- build(PromptTemplateEngine) - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplate.Builder
- build(Class<? extends SKContext>) - Method in interface com.microsoft.semantickernel.orchestration.SKContext.Builder
- build(String) - Method in interface com.microsoft.semantickernel.orchestration.ContextVariables.Builder
-
Builds an instance with the given content in the default main key
- build(Map<String, String>) - Method in interface com.microsoft.semantickernel.orchestration.ContextVariables.Builder
-
Builds an instance with the given variables
- build(Map<String, String>) - Method in interface com.microsoft.semantickernel.orchestration.WritableContextVariables.Builder
-
Builds an instance with the given variables
- Builder() - Constructor for class com.microsoft.semantickernel.Kernel.Builder
- Builder() - Constructor for class com.microsoft.semantickernel.KernelConfig.Builder
- BuildersSingleton - Enum in com.microsoft.semantickernel.builders
-
Enum singleton that service loads builder implementations
C
- chatCompletion() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- ChatCompletion<ChatHistoryType extends ChatHistory> - Interface in com.microsoft.semantickernel.chatcompletion
- ChatCompletion.Builder - Interface in com.microsoft.semantickernel.chatcompletion
- ChatHistory - Class in com.microsoft.semantickernel.chatcompletion
-
Provides a history of messages between the User, Assistant and System
- ChatHistory() - Constructor for class com.microsoft.semantickernel.chatcompletion.ChatHistory
- ChatHistory.AuthorRoles - Enum in com.microsoft.semantickernel.chatcompletion
-
Role of the author of a chat message
- ChatHistory.Message - Class in com.microsoft.semantickernel.chatcompletion
-
Chat message representation
- ChatRequestSettings - Class in com.microsoft.semantickernel.chatcompletion
-
Settings for a chat completion request
- ChatRequestSettings() - Constructor for class com.microsoft.semantickernel.chatcompletion.ChatRequestSettings
- clone(SKContext) - Method in interface com.microsoft.semantickernel.orchestration.SKContext.Builder
- Code - com.microsoft.semantickernel.templateengine.blocks.BlockTypes
-
Code block type
- com.microsoft.semantickernel - package com.microsoft.semantickernel
- com.microsoft.semantickernel.ai - package com.microsoft.semantickernel.ai
- com.microsoft.semantickernel.ai.embeddings - package com.microsoft.semantickernel.ai.embeddings
- com.microsoft.semantickernel.builders - package com.microsoft.semantickernel.builders
- com.microsoft.semantickernel.chatcompletion - package com.microsoft.semantickernel.chatcompletion
- com.microsoft.semantickernel.exceptions - package com.microsoft.semantickernel.exceptions
- com.microsoft.semantickernel.extensions - package com.microsoft.semantickernel.extensions
- com.microsoft.semantickernel.memory - package com.microsoft.semantickernel.memory
- com.microsoft.semantickernel.orchestration - package com.microsoft.semantickernel.orchestration
- com.microsoft.semantickernel.planner - package com.microsoft.semantickernel.planner
- com.microsoft.semantickernel.semanticfunctions - package com.microsoft.semantickernel.semanticfunctions
- com.microsoft.semantickernel.services - package com.microsoft.semantickernel.services
- com.microsoft.semantickernel.skilldefinition - package com.microsoft.semantickernel.skilldefinition
- com.microsoft.semantickernel.skilldefinition.annotations - package com.microsoft.semantickernel.skilldefinition.annotations
- com.microsoft.semantickernel.templateengine - package com.microsoft.semantickernel.templateengine
- com.microsoft.semantickernel.templateengine.blocks - package com.microsoft.semantickernel.templateengine.blocks
- com.microsoft.semantickernel.textcompletion - package com.microsoft.semantickernel.textcompletion
- completeAsync(String, CompletionRequestSettings) - Method in interface com.microsoft.semantickernel.textcompletion.TextCompletion
-
Creates a completion for the prompt and settings.
- completionBuilders(Kernel) - Method in interface com.microsoft.semantickernel.builders.FunctionBuilders
- completionConfig() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- CompletionConfig() - Constructor for class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfig
- CompletionConfig(double, double, double, double, int) - Constructor for class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfig
- CompletionConfig(double, double, double, double, int, int, String, List<String>) - Constructor for class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfig
- CompletionConfigBuilder() - Constructor for class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfigBuilder
- CompletionConfigBuilder(PromptTemplateConfig.CompletionConfig) - Constructor for class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfigBuilder
- completionFunctions(Kernel) - Static method in class com.microsoft.semantickernel.builders.SKBuilders
-
A CompletionSKFunction builder, the created function will be registered on the kernel provided
- CompletionRequestSettings - Class in com.microsoft.semantickernel.textcompletion
-
Settings for a text completion request
- CompletionRequestSettings() - Constructor for class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
Create a new settings object with default values.
- CompletionRequestSettings(double, double, double, double, int) - Constructor for class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
Create a new settings object with the given values.
- CompletionRequestSettings(double, double, double, double, int, int, String, List<String>) - Constructor for class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
Create a new settings object with the given values.
- CompletionSKFunction - Interface in com.microsoft.semantickernel.textcompletion
-
Semantic function for text completion
- CompletionSKFunction.Builder - Class in com.microsoft.semantickernel.textcompletion
-
Builder for completion functions
- context() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
SKContext - context() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- ContextVariables - Interface in com.microsoft.semantickernel.orchestration
-
Context Variables is a data structure that holds temporary data while a task is being performed.
- ContextVariables.Builder - Interface in com.microsoft.semantickernel.orchestration
-
Builder for ContextVariables
- copy() - Method in class com.microsoft.semantickernel.memory.NullMemory
- copy() - Method in interface com.microsoft.semantickernel.memory.SemanticTextMemory
- copy() - Method in class com.microsoft.semantickernel.orchestration.AbstractSKContext
- copy() - Method in interface com.microsoft.semantickernel.orchestration.SKContext
-
Clones the context
- copy() - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlyFunctionCollection
- copy() - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlySkillCollection
- createCollectionAsync(String) - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Creates a new collection in the data store.
- createFunction(String, PromptTemplateConfig.CompletionConfig) - Method in class com.microsoft.semantickernel.textcompletion.CompletionSKFunction.Builder
-
Create a new completion function
- createFunction(String, PromptTemplateConfig, String, String) - Method in class com.microsoft.semantickernel.textcompletion.CompletionSKFunction.Builder
-
Create a new completion function
- createFunction(String, String, SemanticFunctionConfig) - Method in class com.microsoft.semantickernel.textcompletion.CompletionSKFunction.Builder
-
Create a new completion function
- createFunction(String, String, String, String) - Method in class com.microsoft.semantickernel.textcompletion.CompletionSKFunction.Builder
- createFunction(String, String, String, String, PromptTemplateConfig.CompletionConfig) - Method in class com.microsoft.semantickernel.textcompletion.CompletionSKFunction.Builder
- createNewChat(String) - Method in interface com.microsoft.semantickernel.chatcompletion.ChatCompletion
-
Create a new empty chat instance
D
- DataEntryBase - Class in com.microsoft.semantickernel.memory
-
A base class for data entries.
- DataEntryBase(String, ZonedDateTime) - Constructor for class com.microsoft.semantickernel.memory.DataEntryBase
-
Creates an instance of a
DataEntryBase. - DefaultAIServiceProvider - Class in com.microsoft.semantickernel.services
-
Default implementation of
AIServiceProvider - DefaultAIServiceProvider(Map<Class<? extends AIService>, Map<String, Supplier<? extends AIService>>>, Map<Class<? extends AIService>, String>) - Constructor for class com.microsoft.semantickernel.services.DefaultAIServiceProvider
- DefaultNamedServiceProvider<T> - Class in com.microsoft.semantickernel.services
-
Default implementation of
NamedServiceProvider - DefaultNamedServiceProvider(Map<Class<? extends T>, Map<String, Supplier<? extends T>>>, Map<Class<? extends T>, String>) - Constructor for class com.microsoft.semantickernel.services.DefaultNamedServiceProvider
- defaultValue() - Method in annotation type com.microsoft.semantickernel.skilldefinition.annotations.SKFunctionParameters
- DefineSKFunction - Annotation Type in com.microsoft.semantickernel.skilldefinition.annotations
-
Annotation that defines a method that can be invoked as a native function
- deleteCollectionAsync(String) - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Deletes a collection from the data store.
- describe() - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
-
Returns a description of the function, including parameters.
- description() - Method in annotation type com.microsoft.semantickernel.skilldefinition.annotations.DefineSKFunction
- description() - Method in annotation type com.microsoft.semantickernel.skilldefinition.annotations.SKFunctionParameters
- doesCollectionExistAsync(String) - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Determines if a collection exists in the data store.
E
- Embedding<EmbeddingType extends Number> - Class in com.microsoft.semantickernel.ai.embeddings
-
Represents a strongly typed vector of numeric data.
- Embedding() - Constructor for class com.microsoft.semantickernel.ai.embeddings.Embedding
-
Initializes a new instance of the Embedding class.
- Embedding(List<EmbeddingType>) - Constructor for class com.microsoft.semantickernel.ai.embeddings.Embedding
-
Initializes a new instance of the Embedding class that contains numeric elements copied from the specified collection
- EmbeddingGeneration<TValue,TEmbedding extends Number> - Interface in com.microsoft.semantickernel.ai.embeddings
-
Interface for text embedding generation services
- EmbeddingGeneration.Builder<TValue,TEmbedding extends Number> - Interface in com.microsoft.semantickernel.ai.embeddings
- empty() - Static method in class com.microsoft.semantickernel.ai.embeddings.Embedding
- equals(Object) - Method in class com.microsoft.semantickernel.ai.embeddings.Embedding
- equals(Object) - Method in class com.microsoft.semantickernel.memory.MemoryRecord
- equals(Object) - Method in class com.microsoft.semantickernel.memory.MemoryRecordMetadata
- extractBlocks(String) - Method in interface com.microsoft.semantickernel.templateengine.PromptTemplateEngine
-
Given a prompt template string, extract all the blocks (text, variables, function calls)
F
- FAILED_TO_CREATE_COLLECTION - com.microsoft.semantickernel.memory.MemoryException.ErrorCodes
-
Failed to create collection.
- FAILED_TO_DELETE_COLLECTION - com.microsoft.semantickernel.memory.MemoryException.ErrorCodes
-
Failed to delete collection.
- findServiceLoader(Class<T>, String) - Static method in class com.microsoft.semantickernel.builders.ServiceLoadUtil
- frequencyPenalty(double) - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfigBuilder
- fromCompletionConfig(PromptTemplateConfig.CompletionConfig) - Static method in class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
Create a new settings object with the values from another settings object.
- fromMetadata(MemoryRecordMetadata, Embedding<Float>, String, ZonedDateTime) - Static method in class com.microsoft.semantickernel.memory.MemoryRecord
-
Create a memory record from a memory record's metadata.
- FunctionBuilders - Interface in com.microsoft.semantickernel.builders
-
Provides various builders for completion functions
- FunctionId - com.microsoft.semantickernel.templateengine.blocks.BlockTypes
-
Function block type
- FunctionInvokeError - com.microsoft.semantickernel.KernelException.ErrorCodes
- FunctionNotAvailable - com.microsoft.semantickernel.KernelException.ErrorCodes
- FunctionNotFound - Exception in com.microsoft.semantickernel.skilldefinition
- FunctionNotFound(String) - Constructor for exception com.microsoft.semantickernel.skilldefinition.FunctionNotFound
- FunctionNotRegisteredException - Exception in com.microsoft.semantickernel.orchestration
- FunctionNotRegisteredException(String) - Constructor for exception com.microsoft.semantickernel.orchestration.FunctionNotRegisteredException
- FunctionOverloadNotSupported - com.microsoft.semantickernel.KernelException.ErrorCodes
- FunctionTypeNotSupported - com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Function type not supported.
- FunctionTypeNotSupported - com.microsoft.semantickernel.KernelException.ErrorCodes
- FunctionView - Class in com.microsoft.semantickernel.skilldefinition
-
Class used to copy and export data from the skill collection.
- FunctionView(String, String, String, List<ParameterView>, boolean, boolean) - Constructor for class com.microsoft.semantickernel.skilldefinition.FunctionView
-
Create a function view.
G
- generateEmbeddingsAsync(List<TValue>) - Method in interface com.microsoft.semantickernel.ai.embeddings.EmbeddingGeneration
-
Generates a list of embeddings associated to the data
- generateMessageAsync(ChatHistoryType, ChatRequestSettings) - Method in interface com.microsoft.semantickernel.chatcompletion.ChatCompletion
-
Generate a new chat message
- get(String) - Method in interface com.microsoft.semantickernel.orchestration.ContextVariables
-
Return the variable with the given name
- getAdditionalMetadata() - Method in class com.microsoft.semantickernel.memory.MemoryRecordMetadata
-
Custom metadata associated with a memory.
- getAll() - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlyFunctionCollection
- getAllFunctions() - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlySkillCollection
- getAsync(String, String, boolean) - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Gets a memory record from the data store.
- getAsync(String, String, boolean) - Method in class com.microsoft.semantickernel.memory.NullMemory
- getAsync(String, String, boolean) - Method in interface com.microsoft.semantickernel.memory.SemanticTextMemory
-
Fetch a memory by key.
- getAuthorRoles() - Method in class com.microsoft.semantickernel.chatcompletion.ChatHistory.Message
-
Get the role of the message author
- getBatchAsync(String, Collection<String>, boolean) - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Gets a batch of memory records from the data store.
- getBestOf() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfig
-
The maximum number of completions to generate for each prompt.
- getBestOf() - Method in class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
The maximum number of completions to generate for each prompt.
- getChatCompletion() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
ChatCompletion - getChatCompletionServiceOrDefault(String) - Method in class com.microsoft.semantickernel.KernelConfig
- getCollectionsAsync() - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Gets all collection names in the data store.
- getCollectionsAsync() - Method in class com.microsoft.semantickernel.memory.NullMemory
- getCollectionsAsync() - Method in interface com.microsoft.semantickernel.memory.SemanticTextMemory
-
Gets a group of all available collection names.
- getCompletionBuilder(Kernel) - Static method in interface com.microsoft.semantickernel.builders.FunctionBuilders
- getCompletionConfig() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig
-
A returns the configuration for the text completion
- getConfig() - Method in interface com.microsoft.semantickernel.Kernel
-
Settings required to execute functions, including details about AI dependencies, e.g.
- getConfig() - Method in class com.microsoft.semantickernel.semanticfunctions.SemanticFunctionConfig
- getContent() - Method in class com.microsoft.semantickernel.chatcompletion.ChatHistory.Message
-
Get the message content
- getContent() - Method in class com.microsoft.semantickernel.templateengine.blocks.Block
-
Get the block content
- getDefaultValue() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.InputParameter
-
Default value when nothing is provided
- getDefaultValue() - Method in class com.microsoft.semantickernel.skilldefinition.ParameterView
- getDescription() - Method in class com.microsoft.semantickernel.memory.MemoryRecordMetadata
-
Optional title describing the content.
- getDescription() - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
- getDescription() - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
- getDescription() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig
-
Description
- getDescription() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.InputParameter
-
Parameter description for UI apps and planner.
- getDescription() - Method in class com.microsoft.semantickernel.skilldefinition.ParameterView
- getEmbedding() - Method in class com.microsoft.semantickernel.memory.MemoryRecord
-
Gets the source content embeddings.
- getErrorCode() - Method in exception com.microsoft.semantickernel.ai.AIException
-
Gets the error code.
- getErrorCode() - Method in exception com.microsoft.semantickernel.KernelException
- getErrorCode() - Method in exception com.microsoft.semantickernel.memory.MemoryException
-
Gets the error code for this exception.
- getErrorCode() - Method in exception com.microsoft.semantickernel.planner.PlanningException
-
Gets the error code
- getExternalSourceName() - Method in class com.microsoft.semantickernel.memory.MemoryRecordMetadata
-
A value used to understand which external service owns the data, to avoid storing the information inside the URI.
- getFrequencyPenalty() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfig
- getFrequencyPenalty() - Method in class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
Number between -2.0 and 2.0.
- getFunction(String) - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlyFunctionCollection
- getFunction(String, Class<T>) - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlyFunctionCollection
-
Get function with the given SKFunction type argument.
- getFunction(String, Class<T>) - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlySkillCollection
-
Get function with name from the global scope
- getFunction(String, String) - Method in interface com.microsoft.semantickernel.Kernel
-
Obtains a semantic function with the given name
- getFunction(String, String, Class<T>) - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlySkillCollection
- getFunctionBuilders() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
CompletionSKFunction - getFunctions(String) - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlySkillCollection
- getId() - Method in class com.microsoft.semantickernel.memory.MemoryRecordMetadata
-
Unique identifier.
- getInput() - Method in interface com.microsoft.semantickernel.orchestration.ContextVariables
-
Get the input (entry in the MAIN_KEY slot)
- getInput() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig
- getInstance() - Static method in class com.microsoft.semantickernel.memory.NullMemory
-
Gets the singleton instance of NullMemory}.
- getInstance(Kernel) - Static method in interface com.microsoft.semantickernel.skilldefinition.KernelSkillsSupplier
- getKernelBuilder() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
Kernel - getKey() - Method in class com.microsoft.semantickernel.memory.DataEntryBase
-
Gets the key of the data.
- getLastMessage() - Method in class com.microsoft.semantickernel.chatcompletion.ChatHistory
-
Get last message
- getMaxTokens() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfig
- getMaxTokens() - Method in class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
The maximum number of tokens to generate in the completion.
- getMemory() - Method in interface com.microsoft.semantickernel.Kernel
-
Get the SemanticTextMemory in use.
- getMemoryStoreBuilder() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
MemoryStore - getMessage() - Method in enum com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Gets the error message.
- getMessage() - Method in enum com.microsoft.semantickernel.KernelException.ErrorCodes
- getMessage() - Method in enum com.microsoft.semantickernel.memory.MemoryException.ErrorCodes
-
Gets the error message.
- getMessage() - Method in enum com.microsoft.semantickernel.planner.PlanningException.ErrorCodes
- getMessages() - Method in class com.microsoft.semantickernel.chatcompletion.ChatHistory
-
Get the chat history
- getMetadata() - Method in class com.microsoft.semantickernel.memory.MemoryQueryResult
- getMetadata() - Method in class com.microsoft.semantickernel.memory.MemoryRecord
-
Gets the metadata associated with a Semantic Kernel memory.
- getName() - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
- getName() - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
- getName() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.InputParameter
-
Name of the parameter to pass to the function.
- getName() - Method in class com.microsoft.semantickernel.skilldefinition.ParameterView
- getNearestMatchAsync(String, Embedding<? extends Number>, double, boolean) - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Gets the nearest match to the
Embeddingof typeFloat. - getNearestMatchesAsync(String, Embedding<? extends Number>, int, double, boolean) - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Gets the nearest matches to the
Embeddingof typeFloat. - getParameters() - Method in interface com.microsoft.semantickernel.semanticfunctions.PromptTemplate
-
Get the list of parameters required by the template, using configuration and template info
- getParameters() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.InputConfig
- getParameters() - Method in class com.microsoft.semantickernel.skilldefinition.FunctionView
-
List of function parameters
- getParametersView() - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
-
The parameters of the function.
- getPresencePenalty() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfig
- getPresencePenalty() - Method in class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
Number between -2.0 and 2.0.
- getPromptTemplateBuilder() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
PromptTemplate - getPromptTemplateEngine() - Method in interface com.microsoft.semantickernel.Kernel
-
Reference to the engine rendering prompt templates
- getPromptTemplateEngineBuilder() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
PromptTemplateEngine - getReadOnlySkillCollection() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
ReadOnlySkillCollection - getRelevance() - Method in class com.microsoft.semantickernel.memory.MemoryQueryResult
- getResult() - Method in class com.microsoft.semantickernel.orchestration.AbstractSKContext
- getResult() - Method in interface com.microsoft.semantickernel.orchestration.SKContext
-
Obtain the result of the execution that produced this context.
- getSemanticFunctionBuilder() - Method in interface com.microsoft.semantickernel.Kernel
-
Get a completion function builder, functions created with this builder will be registered on the kernel
- getSemanticMemory() - Method in class com.microsoft.semantickernel.orchestration.AbstractSKContext
- getSemanticMemory() - Method in interface com.microsoft.semantickernel.orchestration.SKContext
-
Provides access to the contexts semantic memory
- getSemanticTextMemoryBuilder() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
SemanticTextMemory - getService(String, Class<T>) - Method in interface com.microsoft.semantickernel.Kernel
-
Obtains the service with the given name and type
- getService(String, Class<U>) - Method in class com.microsoft.semantickernel.services.DefaultNamedServiceProvider
-
Gets the service of the specified type and name, or null if not found.
- getService(String, Class<U>) - Method in interface com.microsoft.semantickernel.services.NamedServiceProvider
-
Gets the service of the specified type and name, or null if not found.
- getSkill(String) - Method in interface com.microsoft.semantickernel.SkillExecutor
-
Get function collection with the skill name
- getSkillName() - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
- getSkillName() - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
- getSkillName() - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlyFunctionCollection
- getSkills() - Method in class com.microsoft.semantickernel.orchestration.AbstractSKContext
- getSkills() - Method in interface com.microsoft.semantickernel.orchestration.SKContext
-
Provides access to the skills within this context
- getSkills() - Method in interface com.microsoft.semantickernel.SkillExecutor
- getSkillsSupplier() - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
-
Gets the skill supplier.
- getStopSequences() - Method in class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
Sequences where the completion will stop generating further tokens.
- getTemperature() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfig
- getTemperature() - Method in class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
Temperature controls the randomness of the completion.
- getTemplate() - Method in class com.microsoft.semantickernel.semanticfunctions.SemanticFunctionConfig
- getText() - Method in class com.microsoft.semantickernel.memory.MemoryRecordMetadata
-
Source text, available only when the memory is not an external source.
- getTextCompletionBuilder() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
TextCompletion - getTextCompletionService(String) - Method in class com.microsoft.semantickernel.KernelConfig
-
Get the text completion services with the given id
- getTextCompletionServiceOrDefault(String) - Method in class com.microsoft.semantickernel.KernelConfig
- getTextEmbeddingGenerationBuilder() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
EmbeddingGeneration - getTextEmbeddingGenerationServiceOrDefault(String) - Method in class com.microsoft.semantickernel.KernelConfig
- getTimestamp() - Method in class com.microsoft.semantickernel.memory.DataEntryBase
-
Gets the timestamp of the data.
- getTopP() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfig
- getTopP() - Method in class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
TopP controls the diversity of the completion.
- getType() - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
-
The type of the configuration argument that will be provided when the function is invoked
- getType() - Method in class com.microsoft.semantickernel.templateengine.blocks.Block
-
Get the block type
- getUser() - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfig
-
A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse
- getUser() - Method in class com.microsoft.semantickernel.textcompletion.CompletionRequestSettings
-
A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse
- getVariables() - Method in class com.microsoft.semantickernel.orchestration.AbstractSKContext
- getVariables() - Method in interface com.microsoft.semantickernel.orchestration.SKContext
-
Return a copy of all variables within the context
- getVector() - Method in class com.microsoft.semantickernel.ai.embeddings.Embedding
- GlobalSkill - Static variable in interface com.microsoft.semantickernel.skilldefinition.ReadOnlySkillCollection
H
- hasFunction(String) - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlySkillCollection
- hasFunction(String, String) - Method in interface com.microsoft.semantickernel.skilldefinition.ReadOnlySkillCollection
- hashCode() - Method in class com.microsoft.semantickernel.ai.embeddings.Embedding
- hashCode() - Method in class com.microsoft.semantickernel.memory.MemoryRecord
- hashCode() - Method in class com.microsoft.semantickernel.memory.MemoryRecordMetadata
I
- importSemanticSkillFromDirectory(String, String, PromptTemplateEngine) - Static method in class com.microsoft.semantickernel.extensions.KernelExtensions
- importSkill(Object, String) - Method in interface com.microsoft.semantickernel.SkillExecutor
-
Imports the native functions annotated on the given object as a skill.
- importSkill(String, Map<String, SemanticFunctionConfig>) - Method in interface com.microsoft.semantickernel.SkillExecutor
-
Import a set of skills
- importSkillFromDirectory(String, String) - Method in interface com.microsoft.semantickernel.SkillExecutor
-
Imports the native functions annotated on the given object as a skill.
- importSkillFromDirectory(String, String, String) - Method in interface com.microsoft.semantickernel.SkillExecutor
-
Imports the native functions annotated on the given object as a skill.
- importSkillsFromDirectory(String, String...) - Method in interface com.microsoft.semantickernel.SkillExecutor
-
Imports the native functions annotated on the given object as a skill.
- InputConfig(List<PromptTemplateConfig.InputParameter>) - Constructor for class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.InputConfig
- InputParameter(String, String, String) - Constructor for class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.InputParameter
- INST - com.microsoft.semantickernel.builders.BuildersSingleton
- InvalidConfiguration - com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Invalid configuration.
- InvalidConfiguration - com.microsoft.semantickernel.planner.PlanningException.ErrorCodes
- InvalidFunctionDescription - com.microsoft.semantickernel.KernelException.ErrorCodes
- InvalidFunctionType - com.microsoft.semantickernel.KernelException.ErrorCodes
- InvalidGoal - com.microsoft.semantickernel.planner.PlanningException.ErrorCodes
- InvalidPlan - com.microsoft.semantickernel.planner.PlanningException.ErrorCodes
- InvalidRequest - com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Invalid request.
- InvalidResponseContent - com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Invalid response.
- InvalidServiceConfiguration - com.microsoft.semantickernel.KernelException.ErrorCodes
- invokeAsync() - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
- invokeAsync() - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
-
Invokes the function
- invokeAsync(SKContext) - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
- invokeAsync(SKContext) - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
-
Invokes the function with the given context and settings
- invokeAsync(SKContext, RequestConfiguration) - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
- invokeAsync(SKContext, RequestConfiguration) - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
-
Invokes the function with the given context and settings
- invokeAsync(String) - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
- invokeAsync(String) - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
-
Invokes the function with the given input
- invokeAsync(String, SKContext, RequestConfiguration) - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
- invokeAsync(String, SKContext, RequestConfiguration) - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
-
Invokes the function with the given input, context and settings
- invokeWithCustomInputAsync(ContextVariables, SemanticTextMemory, ReadOnlySkillCollection) - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
- invokeWithCustomInputAsync(ContextVariables, SemanticTextMemory, ReadOnlySkillCollection) - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
-
Invokes the function with the given input, context and settings
- isNullOrEmpty(String) - Static method in class com.microsoft.semantickernel.Verify
- isReference() - Method in class com.microsoft.semantickernel.memory.MemoryRecordMetadata
-
Whether the source data used to calculate embeddings are stored in the local storage provider or is available through and external service, such as web site, MS Graph, etc.
- isValid() - Method in class com.microsoft.semantickernel.templateengine.blocks.Block
-
Check if the block content is valid.
K
- kernel() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- Kernel - Interface in com.microsoft.semantickernel
-
Interface for the semantic kernel.
- Kernel.Builder - Class in com.microsoft.semantickernel
- Kernel.InternalBuilder - Interface in com.microsoft.semantickernel
- kernelConfig() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- KernelConfig - Class in com.microsoft.semantickernel
- KernelConfig(Map<String, Function<Kernel, TextCompletion>>, Map<String, Function<Kernel, EmbeddingGeneration<String, Float>>>, Map<String, Function<Kernel, ChatCompletion>>) - Constructor for class com.microsoft.semantickernel.KernelConfig
- KernelConfig.Builder - Class in com.microsoft.semantickernel
- KernelException - Exception in com.microsoft.semantickernel
-
Kernel logic exception
- KernelException(KernelException.ErrorCodes) - Constructor for exception com.microsoft.semantickernel.KernelException
- KernelException(KernelException.ErrorCodes, String) - Constructor for exception com.microsoft.semantickernel.KernelException
- KernelException(KernelException.ErrorCodes, String, Throwable) - Constructor for exception com.microsoft.semantickernel.KernelException
- KernelException.ErrorCodes - Enum in com.microsoft.semantickernel
- KernelExtensions - Class in com.microsoft.semantickernel.extensions
- KernelSkillsSupplier - Interface in com.microsoft.semantickernel.skilldefinition
L
- localRecord(String, String, String, Embedding<Float>, String, String, ZonedDateTime) - Static method in class com.microsoft.semantickernel.memory.MemoryRecord
-
Prepare an instance for a memory stored in the internal storage provider.
M
- MAIN_KEY - Static variable in interface com.microsoft.semantickernel.orchestration.ContextVariables
-
Default key for the main input
- maxTokens(int) - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfigBuilder
- MemoryException - Exception in com.microsoft.semantickernel.memory
-
Exception thrown for errors related to memory logic.
- MemoryException(MemoryException.ErrorCodes) - Constructor for exception com.microsoft.semantickernel.memory.MemoryException
-
Initializes a new instance of the
MemoryExceptionclass with a provided error code. - MemoryException(MemoryException.ErrorCodes, String) - Constructor for exception com.microsoft.semantickernel.memory.MemoryException
-
Initializes a new instance of the
MemoryExceptionclass with a provided error code and message. - MemoryException(MemoryException.ErrorCodes, String, Throwable) - Constructor for exception com.microsoft.semantickernel.memory.MemoryException
-
Initializes a new instance of the
MemoryExceptionclass with a provided error code, message, and inner exception. - MemoryException.ErrorCodes - Enum in com.microsoft.semantickernel.memory
-
Semantic kernel memory error codes.
- MemoryQueryResult - Class in com.microsoft.semantickernel.memory
-
Copy of metadata associated with a memory entry.
- MemoryQueryResult(MemoryRecordMetadata, double) - Constructor for class com.microsoft.semantickernel.memory.MemoryQueryResult
-
Create a new instance of MemoryQueryResult
- MemoryRecord - Class in com.microsoft.semantickernel.memory
-
A record in a Semantic Kernel memory.
- MemoryRecord(MemoryRecordMetadata, Embedding<? extends Number>, String, ZonedDateTime) - Constructor for class com.microsoft.semantickernel.memory.MemoryRecord
-
Creates an instance of a
MemoryRecord. - MemoryRecordMetadata - Class in com.microsoft.semantickernel.memory
-
Class representing the metadata associated with a Semantic Kernel memory.
- MemoryRecordMetadata(boolean, String, String, String, String, String) - Constructor for class com.microsoft.semantickernel.memory.MemoryRecordMetadata
-
Constructor.
- memoryStore() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- MemoryStore - Interface in com.microsoft.semantickernel.memory
-
An interface for storing and retrieving indexed
MemoryRecordobjects in a data store. - MemoryStore.Builder - Interface in com.microsoft.semantickernel.memory
- Message(ChatHistory.AuthorRoles, String) - Constructor for class com.microsoft.semantickernel.chatcompletion.ChatHistory.Message
-
Create a new instance
- ModelNotAvailable - com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Model not available.
N
- name() - Method in annotation type com.microsoft.semantickernel.skilldefinition.annotations.DefineSKFunction
- name() - Method in annotation type com.microsoft.semantickernel.skilldefinition.annotations.SKFunctionParameters
- NamedServiceProvider<T> - Interface in com.microsoft.semantickernel.services
- NO_DEFAULT_VALUE - Static variable in annotation type com.microsoft.semantickernel.skilldefinition.annotations.SKFunctionParameters
- NoResponse - com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
No response.
- notNull(Object) - Static method in class com.microsoft.semantickernel.Verify
- NotSupportedException - Exception in com.microsoft.semantickernel.exceptions
- NotSupportedException(String) - Constructor for exception com.microsoft.semantickernel.exceptions.NotSupportedException
- NullMemory - Class in com.microsoft.semantickernel.memory
-
Implementation of
SemanticTextMemorythat stores nothing. - NullMemory() - Constructor for class com.microsoft.semantickernel.memory.NullMemory
P
- parameters - Variable in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.InputConfig
- ParameterView - Class in com.microsoft.semantickernel.skilldefinition
- ParameterView(String) - Constructor for class com.microsoft.semantickernel.skilldefinition.ParameterView
- ParameterView(String, String, String) - Constructor for class com.microsoft.semantickernel.skilldefinition.ParameterView
- PlanningException - Exception in com.microsoft.semantickernel.planner
-
Exception thrown for errors related to planning.
- PlanningException(PlanningException.ErrorCodes) - Constructor for exception com.microsoft.semantickernel.planner.PlanningException
- PlanningException(PlanningException.ErrorCodes, String) - Constructor for exception com.microsoft.semantickernel.planner.PlanningException
-
Initializes a new instance of the PlanningException class with a provided error code and message
- PlanningException(PlanningException.ErrorCodes, String, Throwable) - Constructor for exception com.microsoft.semantickernel.planner.PlanningException
-
Initializes a new instance of the PlanningException class with a provided error code, message, and inner exception.
- PlanningException.ErrorCodes - Enum in com.microsoft.semantickernel.planner
-
Error codes for PlanningException
- presencePenalty(double) - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfigBuilder
- prettyPrint() - Method in interface com.microsoft.semantickernel.orchestration.ContextVariables
-
Create formatted string of the variables
- promptTemplate() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- PromptTemplate - Interface in com.microsoft.semantickernel.semanticfunctions
-
Interface for prompt template
- PromptTemplate.Builder - Class in com.microsoft.semantickernel.semanticfunctions
- PromptTemplateConfig - Class in com.microsoft.semantickernel.semanticfunctions
-
Prompt template configuration
- PromptTemplateConfig() - Constructor for class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig
- PromptTemplateConfig(int, String, String, PromptTemplateConfig.CompletionConfig, PromptTemplateConfig.InputConfig) - Constructor for class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig
- PromptTemplateConfig(PromptTemplateConfig.CompletionConfig) - Constructor for class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig
- PromptTemplateConfig(String, String, PromptTemplateConfig.CompletionConfig) - Constructor for class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig
- PromptTemplateConfig.CompletionConfig - Class in com.microsoft.semantickernel.semanticfunctions
-
Completion configuration parameters
- PromptTemplateConfig.CompletionConfigBuilder - Class in com.microsoft.semantickernel.semanticfunctions
-
Builder for CompletionConfig
- PromptTemplateConfig.InputConfig - Class in com.microsoft.semantickernel.semanticfunctions
-
Input configuration (list of all input parameters for a semantic function).
- PromptTemplateConfig.InputParameter - Class in com.microsoft.semantickernel.semanticfunctions
-
Input parameter for semantic functions
- promptTemplateEngine() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- PromptTemplateEngine - Interface in com.microsoft.semantickernel.templateengine
-
Prompt template engine interface
- PromptTemplateEngine.Builder - Class in com.microsoft.semantickernel.templateengine
R
- ReadOnlyFunctionCollection - Interface in com.microsoft.semantickernel.skilldefinition
- ReadOnlySkillCollection - Interface in com.microsoft.semantickernel.skilldefinition
-
Skill collection interface.
- ReadOnlySkillCollection.Builder - Interface in com.microsoft.semantickernel.skilldefinition
- referenceRecord(String, String, String, Embedding<Float>, String, String, ZonedDateTime) - Static method in class com.microsoft.semantickernel.memory.MemoryRecord
-
Prepare an instance about a memory which source is stored externally.
- registerOnKernel(Kernel) - Method in interface com.microsoft.semantickernel.orchestration.RegistrableSkFunction
- registerSemanticFunction(FunctionType) - Method in interface com.microsoft.semantickernel.Kernel
-
Registers a semantic function on this kernel
- RegistrableSkFunction - Interface in com.microsoft.semantickernel.orchestration
- remove(String) - Method in interface com.microsoft.semantickernel.orchestration.WritableContextVariables
- removeAsync(String, String) - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Removes a memory record from the data store.
- removeAsync(String, String) - Method in class com.microsoft.semantickernel.memory.NullMemory
- removeAsync(String, String) - Method in interface com.microsoft.semantickernel.memory.SemanticTextMemory
-
Remove a memory by key.
- removeBatchAsync(String, Collection<String>) - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Removes a batch of memory records from the data store.
- renderAsync(SKContext) - Method in interface com.microsoft.semantickernel.semanticfunctions.PromptTemplate
-
Render the template using the information in the context
- renderAsync(String, SKContext) - Method in interface com.microsoft.semantickernel.templateengine.PromptTemplateEngine
-
Given a prompt template, replace the variables with their values and execute the functions replacing their reference with the function result
- RequestTimeout - com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Request timeout.
- runAsync(ContextVariables, SKFunction<?>...) - Method in interface com.microsoft.semantickernel.Kernel
-
Run a pipeline composed of synchronous and asynchronous functions.
- runAsync(SKFunction<?>...) - Method in interface com.microsoft.semantickernel.Kernel
-
Run a pipeline composed of synchronous and asynchronous functions.
- runAsync(String, SKFunction<?>...) - Method in interface com.microsoft.semantickernel.Kernel
-
Run a pipeline composed of synchronous and asynchronous functions.
S
- saveInformationAsync(String, String, String, String, String) - Method in class com.microsoft.semantickernel.memory.NullMemory
- saveInformationAsync(String, String, String, String, String) - Method in interface com.microsoft.semantickernel.memory.SemanticTextMemory
-
Save some information into the semantic memory, keeping a copy of the source information.
- saveReferenceAsync(String, String, String, String, String, String) - Method in class com.microsoft.semantickernel.memory.NullMemory
- saveReferenceAsync(String, String, String, String, String, String) - Method in interface com.microsoft.semantickernel.memory.SemanticTextMemory
-
Save some information into the semantic memory, keeping only a reference to the source information.
- searchAsync(String, String, int, double, boolean) - Method in class com.microsoft.semantickernel.memory.NullMemory
- searchAsync(String, String, int, double, boolean) - Method in interface com.microsoft.semantickernel.memory.SemanticTextMemory
-
Find some information in memory
- SemanticFunctionConfig - Class in com.microsoft.semantickernel.semanticfunctions
-
Semantic function configuration
- SemanticFunctionConfig(PromptTemplateConfig, PromptTemplate) - Constructor for class com.microsoft.semantickernel.semanticfunctions.SemanticFunctionConfig
-
Constructor for SemanticFunctionConfig.
- semanticTextMemory() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- SemanticTextMemory - Interface in com.microsoft.semantickernel.memory
-
An interface for semantic memory that creates and recalls memories associated with text.
- SemanticTextMemory.Builder - Interface in com.microsoft.semantickernel.memory
- ServiceError - com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Service error.
- ServiceLoadUtil - Class in com.microsoft.semantickernel.builders
- ServiceNotFound - com.microsoft.semantickernel.KernelException.ErrorCodes
- setDefaultTextCompletionService(String) - Method in class com.microsoft.semantickernel.KernelConfig.Builder
- setEmbeddingGenerator(EmbeddingGeneration<String, ? extends Number>) - Method in interface com.microsoft.semantickernel.memory.SemanticTextMemory.Builder
- setService(String, Supplier<T>, boolean, Class<T>) - Method in class com.microsoft.semantickernel.services.AIServiceCollection
-
Registers a transient service factory with an optional name and default flag.
- setService(String, T, boolean, Class<T>) - Method in class com.microsoft.semantickernel.services.AIServiceCollection
-
Registers a singleton service instance with an optional name and default flag.
- setService(Supplier<T>, Class<T>) - Method in class com.microsoft.semantickernel.services.AIServiceCollection
-
Registers a transient service factory with the default name.
- setService(T, Class<T>) - Method in class com.microsoft.semantickernel.services.AIServiceCollection
-
Registers a singleton service instance with the default name.
- setStorage(MemoryStore) - Method in interface com.microsoft.semantickernel.memory.SemanticTextMemory.Builder
- setVariable(String, String) - Method in class com.microsoft.semantickernel.orchestration.AbstractSKContext
- setVariable(String, String) - Method in interface com.microsoft.semantickernel.orchestration.SKContext
-
Sets the given variable
- setVariable(String, String) - Method in interface com.microsoft.semantickernel.orchestration.WritableContextVariables
-
Set the value
- SKBuilders - Class in com.microsoft.semantickernel.builders
- SKContext - Interface in com.microsoft.semantickernel.orchestration
-
Semantic Kernel context.
- SKContext.Builder - Interface in com.microsoft.semantickernel.orchestration
- SKContext.BuilderSupplier - Interface in com.microsoft.semantickernel.orchestration
- SKException - Exception in com.microsoft.semantickernel
-
Provides the base exception from which all Semantic Kernel exceptions derive.
- SKFunction<RequestConfiguration> - Interface in com.microsoft.semantickernel.orchestration
-
Semantic Kernel callable function interface
- SKFunctionInputAttribute - Annotation Type in com.microsoft.semantickernel.skilldefinition.annotations
-
Annotates a parameter binding it to the "input" context variable
- SKFunctionParameters - Annotation Type in com.microsoft.semantickernel.skilldefinition.annotations
-
Annotates a parameter to a native function
- skillCollection() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- SkillCollectionNotSet - com.microsoft.semantickernel.KernelException.ErrorCodes
- SkillExecutor - Interface in com.microsoft.semantickernel
- SkillsNotFoundException - Exception in com.microsoft.semantickernel.exceptions
- SkillsNotFoundException() - Constructor for exception com.microsoft.semantickernel.exceptions.SkillsNotFoundException
- SkillsNotFoundException(String) - Constructor for exception com.microsoft.semantickernel.exceptions.SkillsNotFoundException
- stopSequences - Variable in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfig
- stopSequences(List<String>) - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfigBuilder
- System - com.microsoft.semantickernel.chatcompletion.ChatHistory.AuthorRoles
T
- temperature(double) - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfigBuilder
- Text - com.microsoft.semantickernel.templateengine.blocks.BlockTypes
-
Text block type
- TextCompletion - Interface in com.microsoft.semantickernel.textcompletion
-
Interface for text completion services
- TextCompletion.Builder - Class in com.microsoft.semantickernel.textcompletion
- textCompletionService() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- textEmbeddingGenerationService() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- Throttling - com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Throttling.
- toEmbeddingString() - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
- toEmbeddingString() - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
-
Create a string for generating an embedding for a function.
- toFullyQualifiedName() - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
-
The function to create a fully qualified name for
- toFullyQualifiedName() - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
-
The function to create a fully qualified name for
- toManualString() - Method in class com.microsoft.semantickernel.orchestration.AbstractSkFunction
- toManualString() - Method in interface com.microsoft.semantickernel.orchestration.SKFunction
-
Create a manual-friendly string for a function.
- topP(double) - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplateConfig.CompletionConfigBuilder
- toString() - Method in class com.microsoft.semantickernel.ai.embeddings.Embedding
- toString() - Method in class com.microsoft.semantickernel.memory.MemoryRecord
- toString() - Method in class com.microsoft.semantickernel.memory.MemoryRecordMetadata
- type() - Method in annotation type com.microsoft.semantickernel.skilldefinition.annotations.SKFunctionParameters
U
- UNABLE_TO_DESERIALIZE_METADATA - com.microsoft.semantickernel.memory.MemoryException.ErrorCodes
-
Unable to construct memory from serialized metadata.
- Undefined - com.microsoft.semantickernel.templateengine.blocks.BlockTypes
-
Undefined block type
- Unknown - com.microsoft.semantickernel.chatcompletion.ChatHistory.AuthorRoles
- UNKNOWN - com.microsoft.semantickernel.memory.MemoryException.ErrorCodes
-
Unknown error.
- UnknownError - com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Unknown error.
- UnknownError - com.microsoft.semantickernel.KernelException.ErrorCodes
- UnknownError - com.microsoft.semantickernel.planner.PlanningException.ErrorCodes
- update(ContextVariables) - Method in class com.microsoft.semantickernel.orchestration.AbstractSKContext
- update(ContextVariables) - Method in interface com.microsoft.semantickernel.orchestration.SKContext
-
Merges in the given variables.
- update(ContextVariables, boolean) - Method in interface com.microsoft.semantickernel.orchestration.WritableContextVariables
-
Updates the variables merging or overwriting in the new values.
- update(String) - Method in class com.microsoft.semantickernel.orchestration.AbstractSKContext
- update(String) - Method in interface com.microsoft.semantickernel.orchestration.SKContext
-
Updates the input entry with the given data
- update(String) - Method in interface com.microsoft.semantickernel.orchestration.WritableContextVariables
-
Updates the main input text with the new value after a function is complete.
- upsertAsync(String, MemoryRecord) - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Upserts a memory record into the data store.
- upsertBatchAsync(String, Collection<MemoryRecord>) - Method in interface com.microsoft.semantickernel.memory.MemoryStore
-
Upserts a group of memory records into the data store.
- User - com.microsoft.semantickernel.chatcompletion.ChatHistory.AuthorRoles
V
- Value - com.microsoft.semantickernel.templateengine.blocks.BlockTypes
-
Value block type
- valueOf(String) - Static method in enum com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.semantickernel.chatcompletion.ChatHistory.AuthorRoles
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.semantickernel.KernelException.ErrorCodes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.semantickernel.memory.MemoryException.ErrorCodes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.semantickernel.planner.PlanningException.ErrorCodes
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.microsoft.semantickernel.templateengine.blocks.BlockTypes
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.microsoft.semantickernel.ai.AIException.ErrorCodes
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.semantickernel.chatcompletion.ChatHistory.AuthorRoles
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.semantickernel.KernelException.ErrorCodes
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.semantickernel.memory.MemoryException.ErrorCodes
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.semantickernel.planner.PlanningException.ErrorCodes
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.microsoft.semantickernel.templateengine.blocks.BlockTypes
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Variable - com.microsoft.semantickernel.templateengine.blocks.BlockTypes
-
Variable block type
- variables() - Method in enum com.microsoft.semantickernel.builders.BuildersSingleton
-
Builder for creating a
ContextVariables - variables() - Static method in class com.microsoft.semantickernel.builders.SKBuilders
- Verify - Class in com.microsoft.semantickernel
- Verify() - Constructor for class com.microsoft.semantickernel.Verify
W
- with(SemanticTextMemory) - Method in interface com.microsoft.semantickernel.orchestration.SKContext.Builder
-
Sets the memory
- with(ContextVariables) - Method in interface com.microsoft.semantickernel.orchestration.SKContext.Builder
- with(ReadOnlySkillCollection) - Method in interface com.microsoft.semantickernel.orchestration.SKContext.Builder
-
Sets the skills
- withAIService(String, Function<KernelConfig, T>, boolean, Class<T>) - Method in class com.microsoft.semantickernel.Kernel.Builder
-
Adds a factory method to the services collection
- withAIService(String, T, boolean, Class<T>) - Method in class com.microsoft.semantickernel.Kernel.Builder
-
Adds an instance to the services collection
- withDefaultAIService(Supplier<T>, Class<T>) - Method in class com.microsoft.semantickernel.Kernel.Builder
-
Adds a factory method to the services collection
- withDefaultAIService(T, Class<T>) - Method in class com.microsoft.semantickernel.Kernel.Builder
-
Adds an instance to the services collection
- withKernelConfig(KernelConfig) - Method in class com.microsoft.semantickernel.Kernel.Builder
-
Set the kernel configuration
- withMemory(SemanticTextMemory) - Method in class com.microsoft.semantickernel.Kernel.Builder
- withMemoryStore(MemoryStore) - Method in class com.microsoft.semantickernel.Kernel.Builder
-
Set the memory store
- withPromptTemplate(String) - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplate.Builder
- withPromptTemplateConfig(PromptTemplateConfig) - Method in class com.microsoft.semantickernel.semanticfunctions.PromptTemplate.Builder
- withPromptTemplateEngine(PromptTemplateEngine) - Method in class com.microsoft.semantickernel.Kernel.Builder
-
Set the prompt template engine
- writableClone() - Method in interface com.microsoft.semantickernel.orchestration.ContextVariables
-
Get a clone of the variables that can be modified
- WritableContextVariables - Interface in com.microsoft.semantickernel.orchestration
-
Context Variables is a data structure that holds temporary data while a task is being performed.
- WritableContextVariables.Builder - Interface in com.microsoft.semantickernel.orchestration
All Classes All Packages