We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1b9ea9 commit efd8bedCopy full SHA for efd8bed
gemini_api/src/gemini_api/core.clj
@@ -36,23 +36,5 @@
36
(println "Error response body:" response-body))
37
nil))))
38
39
-
40
41
(defn summarize [text]
42
(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