(model-mapping {model-map :model-name-mapping} model)
Check LLM service config if there are any aliases defined.
If model alias is found return it, if not use the model
as is.
Intended for usecases where templates define a certain model name and without changes in the template a differently named by other provider can be used.
Check LLM service config if there are any aliases defined. If model alias is found return it, if not use the `model` as is. Intended for usecases where templates define a certain model name and without changes in the template a differently named by other provider can be used.
Usage map key to indicate how many tokens were used for prompt
Usage map key to indicate how many tokens were used for prompt
Usage map key to indicate how many tokens were used for completion
Usage map key to indicate how many tokens were used for completion
Usage map key to indicate how many tokens were used for prompt and completion
Usage map key to indicate how many tokens were used for prompt and completion
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |