Skip to content

Commit efd8bed

Browse files
committed
code cleanup
1 parent a1b9ea9 commit efd8bed

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

gemini_api/src/gemini_api/core.clj

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,5 @@
3636
(println "Error response body:" response-body))
3737
nil))))
3838

39-
40-
4139
(defn summarize [text]
4240
(generate-content (str "Summarize the following text:\n\n" text)))
43-
44-
45-
(defn embeddings [text]
46-
(println "Embeddings are not directly supported by this Gemini API example.")
47-
(println "You may need a different API or feature within the Gemini ecosystem.")
48-
(println "Returning nil for now.")
49-
nil)
50-
51-
52-
53-
(defn dot-product [a b]
54-
(if (and (vector? a) (vector? b))
55-
(reduce + (map * a b))
56-
(do
57-
(println "Error: Input must be vectors for dot-product")
58-
nil)))

0 commit comments

Comments
 (0)