Condividi tramite


DiskBasedResponseCache(String, String, String) Constructor

Definition

Creates a new DiskBasedResponseCache instance.

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.Disk.DiskBasedResponseCache : string * string * string -> Microsoft.Extensions.AI.Evaluation.Reporting.Storage.Disk.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