Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/decisions/0012-kernel-service-registration.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public TextMemoryPlugin(ISemanticTextMemory memory)

`TextMemoryPlugin` depends on `ISemanticTextMemory` interface. In similar way, other Plugins may have multiple dependencies and there should be a way how to resolve required dependencies manually or automatically.

At the moment, `ISemanticTextMemory` is a property of `IKernel` interface, which allows to inject `ISemanticTextMemory` into `TextMemoryPlugin` during Plugin initialization:
At the moment, `ISemanticTextMemory` is a property of `IKernel` interface, which allows you to inject `ISemanticTextMemory` into `TextMemoryPlugin` during Plugin initialization:

```csharp
kernel.ImportFunctions(new TextMemoryPlugin(kernel.Memory));
Expand Down
Loading