Liking cljdoc? Tell your friends :D
ClojureScript only.

cljs-claude.client

Public entry point for cljs-claude. I/O-agnostic: all SDK calls route through functions supplied on the context map, so library code never opens sockets, processes, or streams directly.

Public entry point for cljs-claude. I/O-agnostic: all SDK calls route
through functions supplied on the `context` map, so library code never
opens sockets, processes, or streams directly.
raw docstring

chatcljs

(chat context prompt)

One-shot chat completion.

Args: context - map with at least {:send-fn fn}. :send-fn receives the prepared request and returns a promesa promise resolving to the response. prompt - user prompt (string).

Returns: A promesa promise resolving to the response from :send-fn.

One-shot chat completion.

Args:
  context - map with at least {:send-fn fn}. :send-fn receives the
            prepared request and returns a promesa promise resolving
            to the response.
  prompt  - user prompt (string).

Returns:
  A promesa promise resolving to the response from :send-fn.
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