How do I set maxTokens? #1325
rungekutta1942
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Set it on the You can also create and reuse an LlmOptions object. You can also externalize it using See https://github.com/embabel/impromptu/blob/main/src/main/java/com/embabel/impromptu/ImpromptuProperties.java for an example. Impromptu is completely Java. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, how do I override maxTokens from default? I try setting in a ProcessOptions like this:
ProcessOptions processOptions = ProcessOptions.DEFAULT.withBudget(Budget.DEFAULT.withTokens(15000000));... however at runtime, log files still show the execution runs with defaults.
The ProcessOptions.Builder stuff doesn't seem to be available from Java?
Beta Was this translation helpful? Give feedback.
All reactions