Liking cljdoc? Tell your friends :D

bosquet.llm.chat


assistantclj

Key to reference assistant role in ChatML format

Key to reference `assistant` role in ChatML format
raw docstring

bosquet->chatmlclj

(bosquet->chatml {r role c content})

chat-mlclj

Schema defining ChatML response format

Schema defining ChatML response format
raw docstring

chatml->bosquetclj

(chatml->bosquet {r :role c :content})

contentclj


conversationclj

Key to reference complete conversation - a history

Key to reference complete `conversation` - a history
raw docstring

roleclj


rolesclj


speakclj

(speak speaker-role speaker-content)

Helper function to create a chat message

{:role    :assistant
 :content "Hello, I am your assistant"
Helper function to create a chat message

```clojure
{:role    :assistant
 :content "Hello, I am your assistant"
```
raw docstring

systemclj

Key to reference system role in ChatML format

Key to reference `system` role in ChatML format
raw docstring

userclj

Key to reference user role in ChatML format

Key to reference `user` role in ChatML format
raw docstring

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

× close