Class RagUpdateAllNamesPlugin
Refresh the RAG index by sending fresh content to the RAG system.
Inheritance
RagUpdateAllNamesPlugin
Assembly: SoBatchProcessing.dll
Syntax
[BatchTask]
public class RagUpdateAllNamesPlugin : BatchTaskBase, IBatchTask
Constructors
RagUpdateAllNamesPlugin(IBatchData, IBatchTaskFactory, IBatchServiceConfiguration, IOptions<RagAIConfiguration>, ILogger<RagUpdateAllNamesPlugin>)
Refresh the RAG index by sending fresh content to the RAG system.
Declaration
public RagUpdateAllNamesPlugin(IBatchData batchData, IBatchTaskFactory taskFactory, ConfigFile.IBatchServiceConfiguration batchServiceConfiguration, IOptions<RagAIConfiguration> ragAIConfiguration, ILogger<RagUpdateAllNamesPlugin> logger)
Parameters
Fields
PluginName
Refresh the RAG index by sending fresh content to the RAG system.
Declaration
public const string PluginName = "RagUpdateAllNamesPlugin"
Field Value
Methods
RunAllNamesIndexing(BatchTaskInfo, CancellationToken)
Re-index content in the RAG system.
Declaration
protected Task RunAllNamesIndexing(BatchTaskInfo bti, CancellationToken cancellationToken = default)
Parameters
Returns
RunAsync(string, string, CancellationToken)
Re-index content in the RAG system.
Declaration
protected override Task<bool> RunAsync(string name, string context, CancellationToken cancellationToken = default)
Parameters
Returns
Overrides
Implements
Extension Methods