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

initialize-mcp-toolsclj

(initialize-mcp-tools)

Initialize mcp tools as defined in config.edn. Once initialized all the tool definitions are included in the bosquet.mcp.tools namespace. You can then pass the tool symbols in wkk/tools or use any of the functions in the llm/tools namespace to extract metadata etc

Initialize mcp tools as defined in config.edn.
Once initialized all the tool definitions are included in the bosquet.mcp.tools namespace.
You can then pass the tool symbols in wkk/tools or use any of the functions in the llm/tools
namespace to extract metadata etc
sourceraw docstring

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 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