Skip to content

Commit 47c18a2

Browse files
authored
Fix second JSON example provider and indentation (#131)
1 parent 8a489f2 commit 47c18a2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.org

+7-6
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,13 @@ Some examples:
168168
: {"num":195}
169169

170170
#+begin_src emacs-lisp
171-
(llm-chat ash/llm-openai-small (llm-make-chat-prompt
172-
"Which editor is hard to quit? Return the result as JSON."
173-
:response-format
174-
'(:type object :properties (:editor (:enum ("emacs" "vi" "vscode"))
175-
:authors (:type array :items (:type string)))
176-
:required (editor authors))))
171+
(llm-chat my-provider
172+
(llm-make-chat-prompt
173+
"Which editor is hard to quit? Return the result as JSON."
174+
:response-format
175+
'(:type object :properties (:editor (:enum ("emacs" "vi" "vscode"))
176+
:authors (:type array :items (:type string)))
177+
:required (editor authors))))
177178
#+end_src
178179

179180
#+RESULTS:

0 commit comments

Comments
 (0)