NAME
Langertha::Role::ResponseSize - Role for an engine where you can specify the response size (in tokens)
VERSION
version 0.305
response_size
Maximum number of tokens to generate in the response. Optional. When not set, the engine uses its own default_response_size if available, or omits the parameter from the request.
get_response_size
my $size = $engine->get_response_size;
Returns the effective response size: the explicit response_size if set, otherwise the engine's default_response_size, otherwise undef.
SEE ALSO
Langertha::Role::ContextSize - Limit total context tokens
Langertha::Role::Temperature - Sampling temperature
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> https://raudss.us/
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.