Liking cljdoc? Tell your friends :D

litellm.schemas

Malli schemas for LiteLLM library

Malli schemas for LiteLLM library
raw docstring

ApiBaseclj

source

ApiKeyclj

source

BackoffMsclj

source

CacheConfigclj

source

CacheTypeclj

source

Choiceclj

source

Choicesclj

source

CompletionRequestclj

source

CompletionResponseclj

source

CompletionTokensclj

source

Createdclj

source

explain-configclj

(explain-config config)

Explain what's wrong with system configuration

Explain what's wrong with system configuration
sourceraw docstring

explain-requestclj

(explain-request request)

Explain what's wrong with a completion request

Explain what's wrong with a completion request
sourceraw docstring

explain-responseclj

(explain-response response)

Explain what's wrong with a completion response

Explain what's wrong with a completion response
sourceraw docstring

FallbackModelclj

source

Fallbacksclj

source

FinishReasonclj

source

FrequencyPenaltyclj

source

Functionclj

source

FunctionDescriptionclj

source

FunctionNameclj

source

FunctionParametersclj

source

Idclj

source

Indexclj

source

json-transformerclj

source

MaxBackoffMsclj

source

MaxRetriesclj

source

MaxSizeclj

source

MaxTokensclj

source

Messageclj

source

Messagesclj

source

Modelclj

source

ModelResponseclj

source

objectclj

source

PoolSizeclj

source

PresencePenaltyclj

source

PromptTokensclj

source

Providerclj

source

ProviderConfigclj

source

QueueSizeclj

source

RateLimitclj

source

RetryAttemptsclj

source

RetryConfigclj

source

Roleclj

source

RouterConfigclj

source

RoutingStrategyclj

source

Stopclj

source

Streamclj

source

string-transformerclj

source

SystemConfigclj

source

Temperatureclj

source

ThreadPoolConfigclj

source

Timeoutclj

source

Toolclj

source

ToolChoiceclj

source

Toolsclj

source

ToolTypeclj

source

TopPclj

source

TotalTokensclj

source

transform-configclj

(transform-config config)

Transform and validate config from external format

Transform and validate config from external format
sourceraw docstring

transform-requestclj

(transform-request request)

Transform and validate request from external format

Transform and validate request from external format
sourceraw docstring

transform-responseclj

(transform-response response)

Transform and validate response to external format

Transform and validate response to external format
sourceraw docstring

TtlSecondsclj

source

Usageclj

source

valid-config?clj

(valid-config? config)

Check if system configuration is valid

Check if system configuration is valid
sourceraw docstring

valid-request?clj

(valid-request? request)

Check if a completion request is valid

Check if a completion request is valid
sourceraw docstring

valid-response?clj

(valid-response? response)

Check if a completion response is valid

Check if a completion response is valid
sourceraw docstring

validate-config!clj

(validate-config! config)

Validate config and throw exception if invalid

Validate config and throw exception if invalid
sourceraw docstring

validate-request!clj

(validate-request! request)

Validate request and throw exception if invalid

Validate request and throw exception if invalid
sourceraw docstring

validate-response!clj

(validate-response! response)

Validate response and throw exception if invalid

Validate response and throw exception if invalid
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close