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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.