Llama.cpp C++-to-Csharp wrapper from testedlines.com: C++ docs 1.0.1
Llama.cpp C++-to-Csharp wrapper is a minor extension to Llama.cpp tag b3490 codebase modified a bit by testedlines allowing it to be compiled for and called from Styled Lines Csharp unity asset store package.
|
Manages callback functions for logging, token processing, and completion events. More...
#include <lib.h>
Public Member Functions | |
LoggingContext () | |
Constructs a new LoggingContext object. | |
~LoggingContext () | |
Destructs the LoggingContext object, cleaning up any allocated resources. | |
Data Fields | |
LoggingContextPimpl * | pImpl |
The PImpl structure containing private implementation details. | |
Manages callback functions for logging, token processing, and completion events.
The LoggingContext class encapsulates the handling of various callback functions used within the application. It uses the PImpl (Pointer to Implementation) idiom to hide implementation details and provides methods for setting up and managing these callbacks.
The callbacks include:
LoggingContext::LoggingContext | ( | ) |
Constructs a new LoggingContext object.
LoggingContext::~LoggingContext | ( | ) |
Destructs the LoggingContext object, cleaning up any allocated resources.
LoggingContextPimpl* LoggingContext::pImpl |
The PImpl structure containing private implementation details.
Pointer to the PImpl instance.