(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
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.
(configured-api-keys)
Get a list of keys set in secrects.edn
Get a list of keys set in `secrects.edn`
(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
(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
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
API keys and other things not to be shared
API keys and other things not to be shared
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |