DiskBasedResponseCache(String, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.