5#ifndef FORESTHUB_CORE_OPTIONS_HPP
6#define FORESTHUB_CORE_OPTIONS_HPP
Core abstractions: requests, responses, tools, input types, and provider interface.
Top-level namespace for the ForestHub SDK.
Minimal Optional<T> polyfill for C++14 compatibility.
Minimal Optional<T> polyfill for C++14 compatibility.
Definition optional.hpp:21
Model-specific generation options.
Definition options.hpp:17
Options & WithFrequencyPenalty(float frequency_penalty)
Set the frequency penalty.
Definition options.hpp:51
Options & WithMaxTokens(int max_tokens)
Set the maximum number of tokens to generate.
Definition options.hpp:27
Options & WithSeed(int seed)
Set the random seed for deterministic output.
Definition options.hpp:63
Options & WithPresencePenalty(float presence_penalty)
Set the presence penalty.
Definition options.hpp:57
foresthub::Optional< int > max_tokens
Maximum tokens to generate.
Definition options.hpp:18
Options & WithTopP(float top_p)
Set the nucleus sampling cutoff.
Definition options.hpp:45
foresthub::Optional< float > frequency_penalty
Reduces repetition.
Definition options.hpp:22
Options & WithTopK(int top_k)
Set the top-k sampling limit.
Definition options.hpp:39
Options & WithTemperature(float temperature)
Set the sampling temperature.
Definition options.hpp:33
foresthub::Optional< float > temperature
Randomness (0.0 to 1.0).
Definition options.hpp:19
foresthub::Optional< float > presence_penalty
Encourages new concepts.
Definition options.hpp:23
foresthub::Optional< int > top_k
Maximum tokens to consider.
Definition options.hpp:20
foresthub::Optional< int > seed
Seed for deterministic generation.
Definition options.hpp:24
foresthub::Optional< float > top_p
Nucleus sampling cutoff.
Definition options.hpp:21