Show / Hide Table of Contents

Class RagUpdateAllNamesPlugin

Refresh the RAG index by sending fresh content to the RAG system.

Inheritance
object
BatchTaskBase
RagUpdateAllNamesPlugin
Implements
IBatchTask
Inherited Members
BatchTaskBase._isEnding
BatchTaskBase._statusUpdateInterval
BatchTaskBase._batchData
BatchTaskBase._internalCompletionSource
BatchTaskBase.RunTaskAsync(BatchTaskInfo, string, BatchTaskStatusChangedAsync, CancellationToken)
BatchTaskBase.GetTaskInfoAsync(CancellationToken)
BatchTaskBase.EndTaskAsync(CancellationToken)
BatchTaskBase.ProgressCallbackAsync(int, int, CancellationToken)
BatchTaskBase.SetResult(string)
BatchTaskBase.SaveStreamToBlobAsync(Stream, string, string, string, CancellationToken)
BatchTaskBase.EnsureUdefsAsync()
BatchTaskBase.Id
BatchTaskBase.BatchTaskInfo
BatchTaskBase.Name
BatchTaskBase.Context
BatchTaskBase.Result
BatchTaskBase.State
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.BatchProcessing.Plugins
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
Type Name Description
IBatchData batchData
IBatchTaskFactory taskFactory
ConfigFile.IBatchServiceConfiguration batchServiceConfiguration
IOptions<RagAIConfiguration> ragAIConfiguration
ILogger<RagUpdateAllNamesPlugin> logger

Fields

PluginName

Refresh the RAG index by sending fresh content to the RAG system.

Declaration
public const string PluginName = "RagUpdateAllNamesPlugin"
Field Value
Type Description
string

Methods

RunAllNamesIndexing(BatchTaskInfo, CancellationToken)

Re-index content in the RAG system.

Declaration
protected Task RunAllNamesIndexing(BatchTaskInfo bti, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchTaskInfo bti
CancellationToken cancellationToken
Returns
Type Description
Task

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
Type Name Description
string name
string context
CancellationToken cancellationToken
Returns
Type Description
Task<bool>
Overrides
BatchTaskBase.RunAsync(string, string, CancellationToken)

Implements

IBatchTask

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top