DiskBasedResponseCacheProvider(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.
An IResponseCacheProvider that returns a DiskBasedResponseCache.
public:
DiskBasedResponseCacheProvider(System::String ^ storageRootPath);
public DiskBasedResponseCacheProvider(string storageRootPath);
new Microsoft.Extensions.AI.Evaluation.Reporting.Storage.DiskBasedResponseCacheProvider : string -> Microsoft.Extensions.AI.Evaluation.Reporting.Storage.DiskBasedResponseCacheProvider
Public Sub New (storageRootPath As String)
Parameters
- storageRootPath
- String
The path to a directory on disk under which the cached AI responses should be stored.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.