Liking cljdoc? Tell your friends :D

bosquet.llm.cohere


chatclj

(chat params)
(chat {api-key :api-key url :api-endpoint} {messages :messages :as params})
source

chatml->cohereclj

(chatml->cohere messages)

Transform ChatML messages to the message data shape required by Cohere API

Transform ChatML messages to the message data shape required by Cohere API
sourceraw docstring

completeclj

(complete params)
(complete {api-key :api-key url :api-endpoint} params)
source

usage->canonicalclj

(usage->canonical {:keys [input_tokens output_tokens]})
source

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