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.
Loading...
Searching...
No Matches
lib_manual.h File Reference

Go to the source code of this file.

Macros

#define SWIGEXPORT
 
#define SWIGSTDCALL
 

Typedefs

typedef void(* CompleteCallback) (void *ctx, const char *input, int input_length, const char *output, int output_length)
 
typedef void(* LogCallback) (void *ctx, const char *text, int length)
 
typedef void(* TokenCallback) (void *ctx, const char *text, int length)
 

Functions

void SetCompletionCallback (const void *ctx, CompleteCallback cfn)
 
void SetLogCallback (const void *ctx, LogCallback lfn)
 
void SetTokenCallback (const void *ctx, TokenCallback tfn)
 

Macro Definition Documentation

◆ SWIGEXPORT

#define SWIGEXPORT

◆ SWIGSTDCALL

#define SWIGSTDCALL

Typedef Documentation

◆ CompleteCallback

typedef void(* CompleteCallback) (void *ctx, const char *input, int input_length, const char *output, int output_length)

◆ LogCallback

typedef void(* LogCallback) (void *ctx, const char *text, int length)

◆ TokenCallback

typedef void(* TokenCallback) (void *ctx, const char *text, int length)

Function Documentation

◆ SetCompletionCallback()

void SetCompletionCallback ( const void * ctx,
CompleteCallback cfn )

◆ SetLogCallback()

void SetLogCallback ( const void * ctx,
LogCallback lfn )

◆ SetTokenCallback()

void SetTokenCallback ( const void * ctx,
TokenCallback tfn )