Liking cljdoc? Tell your friends :D

bosquet.converter


->boolclj

(->bool answer)

Converts yes/no answer to boolean

Yes => true NO => false

Converts yes/no answer to boolean

Yes => true
NO => false
sourceraw docstring

->numberclj

(->number num)
source

coerceclj

(coerce format completion)
source

edn-readerclj

(edn-reader completion)

GPT-3.5-* tends to wrap response with Makrdown code

GOOD EDN CONTENT

Strip that markdown

GPT-3.5-* tends to wrap response with Makrdown code
```edn OR clojure
GOOD EDN CONTENT
```
Strip that markdown
sourceraw docstring

json-readerclj

(json-reader completion)

Some models (GPT-3.5-*, Cohere) tend to wrap response with Makrdown code

GOOD JSON CONTENT

Strip that markdown

Some models (GPT-3.5-*, Cohere) tend to wrap response with Makrdown code
```json
GOOD JSON CONTENT
```
Strip that markdown
sourceraw docstring

list-readerclj

(list-reader items)

Converts numbered item list given as a new line separated string to a list

  1. foo
  2. bar
  3. baz

'-' and '*' works for unordered lists => ["foo" "bar" "baz"]

Converts numbered item list given as a new line
separated string to a list

1. foo
2. bar
3. baz

'-' and '*' works for unordered lists
=>
["foo" "bar" "baz"]
sourceraw docstring

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

× close