Function: gptel--parse-list

gptel--parse-list is a byte-compiled function defined in gptel-request.el.

Signature

(gptel--parse-list BACKEND PROMPT-LIST)

Documentation

Parse PROMPT-LIST and return a list of prompts for BACKEND.

PROMPT-LIST is interpreted as a conversation, i.e. an alternating series of user prompts and LLM responses. The returned structure is suitable for including in the request payload.

BACKEND is the LLM backend in use.

Implementations

Source Code

;; Defined in /nix/store/q3r7g81pvghw7a523kjk2k2zih3pfk8z-emacs-packages-deps/share/emacs/site-lisp/elpa/gptel-20261002.545/gptel-request.el
(cl-defgeneric gptel--parse-list (backend prompt-list)
  "Parse PROMPT-LIST and return a list of prompts for BACKEND.

PROMPT-LIST is interpreted as a conversation, i.e. an alternating
series of user prompts and LLM responses.  The returned structure
is suitable for including in the request payload.

BACKEND is the LLM backend in use.")