Liking cljdoc? Tell your friends :D
Clojure only.

ragtacts.embedding.open-ai


open-ai-embeddingclj

(open-ai-embedding)
(open-ai-embedding {:keys [model]})

Return the OpenAI embedding.

Args:

  • A map with the following keys:
    • :model: A string with the model name. Default is text-embedding-3-small.
Return the OpenAI embedding.

Args:
- A map with the following keys:
  - `:model`: A string with the model name. Default is `text-embedding-3-small`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close