(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 is a website building & hosting documentation for Clojure/Script libraries
× close