.TH "auren_config" 3 "axil-auren" \" -*- nroff -*- .ad l .nh .SH NAME auren_config .SH SYNOPSIS .br .PP .PP \fR#include \fP .SS "Data Fields" .in +1c .ti -1c .RI "const char * \fBmodel_path\fP" .br .ti -1c .RI "int32_t \fBn_ctx\fP" .br .ti -1c .RI "int32_t \fBn_threads\fP" .br .ti -1c .RI "uint32_t \fBmax_offload_bytes\fP" .br .ti -1c .RI "int32_t \fBn_contexts\fP" .br .ti -1c .RI "int32_t \fBn_gpu_layers\fP" .br .ti -1c .RI "float \fBtemperature\fP" .br .ti -1c .RI "int32_t \fBtop_k\fP" .br .ti -1c .RI "float \fBtop_p\fP" .br .ti -1c .RI "float \fBrepeat_penalty\fP" .br .ti -1c .RI "int32_t \fBrepeat_last_n\fP" .br .ti -1c .RI "int \fBenable_embeddings\fP" .br .ti -1c .RI "const char * \fBmmproj_path\fP" .br .ti -1c .RI "int \fBmmproj_cpu\fP" .br .in -1c .SH "Detailed Description" .PP Configuration structure for creating an Auren context\&. All fields optional except model_path\&. .SH "Field Documentation" .PP .SS "int auren_config::enable_embeddings" Enable embeddings + mean pooling for \fBauren_embed()\fP .SS "uint32_t auren_config::max_offload_bytes" Max byte offload .SS "int auren_config::mmproj_cpu" Non-zero forces multimodal projector (mmproj) onto CPU .SS "const char* auren_config::mmproj_path" Optional multimodal projector GGUF path (vision) .SS "const char* auren_config::model_path" Required .SS "int32_t auren_config::n_contexts" How many contexts to account for .SS "int32_t auren_config::n_ctx" Context size (0 = read from model GGUF, else 2048) .SS "int32_t auren_config::n_gpu_layers" >0 force this many GPU layers (-g), 0 = auto, <0 = CPU only .SS "int32_t auren_config::n_threads" Number of CPU threads (default: half of CPUs) .SS "int32_t auren_config::repeat_last_n" Penalty lookback window (default 64) .SS "float auren_config::repeat_penalty" Repetition penalty (default 1\&.1, 1\&.0 = disabled) .SS "float auren_config::temperature" Sampling temperature (0\&.0 = default 0\&.7; use auren_set_temperature(ctx, 0\&.0f) for greedy) .SS "int32_t auren_config::top_k" Top-k sampling (default 40, 0 = disabled) .SS "float auren_config::top_p" Nucleus sampling (default 0\&.95, 1\&.0 = disabled) .SH "Author" .PP Generated automatically by Doxygen for axil-auren from the source code\&.