Dela via


DiskBasedResponseCache(String, String, String) Constructor

Definition

Initializes a new instance of the DiskBasedResponseCache class.

public:
 DiskBasedResponseCache(System::String ^ storageRootPath, System::String ^ scenarioName, System::String ^ iterationName);
public DiskBasedResponseCache(string storageRootPath, string scenarioName, string iterationName);
new Microsoft.Extensions.AI.Evaluation.Reporting.Storage.DiskBasedResponseCache : string * string * string -> Microsoft.Extensions.AI.Evaluation.Reporting.Storage.DiskBasedResponseCache
Public Sub New (storageRootPath As String, scenarioName As String, iterationName As String)

Parameters

storageRootPath
String

The path to a directory on disk under which the cached AI responses should be stored.

scenarioName
String

The ScenarioName for the returned DiskBasedResponseCache instance.

iterationName
String

The IterationName for the returned DiskBasedResponseCache instance.

Applies to