This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-03
Channels
Bosquet - LLM Ops lib - v0.3.5
is out [io.github.zmedelis/bosquet "0.3.5"]
https://github.com/zmedelis/bosquet
• Cohere LLM API support (via danielsz/cohere-clojure)
• Integrant based LLM service setup. This allows for easy extensions with any LLM service (Anyone working on Claude lib?)
• New gen tag in prompt templates. Combined with the Integrant LLM service setup, it allows to decouple model parameter definition from the concrete LLM service used
https://github.com/fabiodomingues/clj-depend: A Clojure namespace dependency analyzer.
0.8.1 (2023-09-04)
• Fix snapshot file name.
• Fix documentation (cljdoc).
• https://github.com/fabiodomingues/clj-depend/issues/38: Fix execution failure when receiving arguments from Leiningen.
• https://github.com/fabiodomingues/clj-depend/issues/1: Dump the violations into a snapshot file (`.clj-depend/snapshot.edn`), and ignore any violations that are present in the snapshot file in future analysis.
• https://github.com/fabiodomingues/clj-depend/issues/33: Merge default configuration, project configuration and configurations passed as parameter.
• https://github.com/fabiodomingues/clj-depend/issues/28: Fix violation message from should not depends on
to should not depend on
.
• https://github.com/fabiodomingues/clj-depend/issues/26: Add the :accesses-layers
option to define the dependencies of a layer in the natural order instead of :accessed-by-layers
.
• https://github.com/fabiodomingues/clj-depend/issues/31: Fix regression reporting false positives for namespaces that are not covered by any other layer.
• https://github.com/fabiodomingues/clj-depend/issues/27: Print violated layers.
Any contribution is very welcome, suggestions, issues, testing, sponsorship, pull requests 🙂
Looks neat! It seems like the docs had an import error? https://cljdoc.org/d/com.fabiodomingues/clj-depend/0.8.0/api/clj-depend.api
> :violations
a set of maps with :namespace
and :violation
.
What is a violation?
> It seems like the docs had an import error? https://cljdoc.org/d/com.fabiodomingues/clj-depend/0.8.0/api/clj-depend.api Nice catch! I'll fix it.
> What is a violation? Here an example:
{:result-code 1
:message "\"sample.logic.foo\" should not depend on \"sample.controller.foo\" (layer \":logic\" on \":controller\")"
:violations [{:namespace 'sample.logic.foo
:dependency-namespace 'sample.controller.foo
:layer :logic
:dependency-layer :controller
:message "\"sample.logic.foo\" should not depend on \"sample.controller.foo\" (layer \":logic\" on \":controller\")"}]}
ohhh. So the library analyzing your namespace requires to try to warn you if you're breaking separation of concerns?
The sample output helps a lot to convey what the library is about
The diagram in the Readme is neat. Does it also generate diagrams or is that done separately just for the docs?
For now just for documentation part, but we have plans to make the tool generate the diagrams in the future.
I just release a fix version 0.8.1 (2023-09-04): • Fix snapshot file name. • Fix documentation (cljdoc).
@U7RJTCH6J now the docs are working: https://cljdoc.org/d/com.fabiodomingues/clj-depend/0.8.1/api/clj-depend.api