Liking cljdoc? Tell your friends :D

bosquet.env


bosquet-cfg-fileclj

(bosquet-cfg-file cfg-file-name)

Get Bosquet config file (secrets.edn or config.edn). First check project root then go to ~/.bosquet

Get Bosquet config file (secrets.edn or config.edn). First check project root
then go to ~/.bosquet
sourceraw docstring

configclj

source

config-fileclj

Config file to override env.edn or add new components: LLM providers, memory, tools.

Config file to override `env.edn` or add new components: LLM providers, memory, tools.
sourceraw docstring

configured-api-keysclj

(configured-api-keys)

Get a list of keys set in secrects.edn

Get a list of keys set in `secrects.edn`
sourceraw docstring

default-serviceclj

(default-service)

Get default LLM service as defiened in config.edn. In case default is not defined, fall back to OpenAI

Get default LLM service as defiened in config.edn.
In case default is not defined, fall back to OpenAI
sourceraw docstring

exists?clj

(exists? file)
source

model-providersclj

A list of model names supported by this service. It is an optional data point that allows a shortcut when defining LLM calls with (generator/llm) function. Instead of (llm :openai :model-params {:model :gpt-3.5}) a shorthand of (llm :gpt-3.5) will work

A list of model names supported by this service. It is an
optional data point that allows a shortcut when defining LLM
calls with (generator/llm) function. Instead of
`(llm :openai :model-params {:model :gpt-3.5})`
a shorthand of `(llm :gpt-3.5)` will work
sourceraw docstring

secrets-fileclj

API keys and other things not to be shared

API keys and other things not to be shared
sourceraw docstring

update-config-fileclj

source

update-secrets-fileclj

source

valclj

(val & path)

Get configuration at path

Get configuration at path
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close