mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: Add r-openai.
* gnu/packages/cran.scm (r-openai): New variable.
This commit is contained in:
parent
9edf093e58
commit
6b34433c90
1 changed files with 27 additions and 0 deletions
|
@ -10960,6 +10960,33 @@ (define-public r-zip
|
|||
additional external tools on any platform.")
|
||||
(license license:cc0)))
|
||||
|
||||
(define-public r-openai
|
||||
(package
|
||||
(name "r-openai")
|
||||
(version "0.4.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (cran-uri "openai" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1fi1nc9c7kfnig6b5ifpb1v9r3gxszk984rwyq7i1lb6s5jv0b9z"))))
|
||||
(properties `((upstream-name . "openai")))
|
||||
(build-system r-build-system)
|
||||
(propagated-inputs (list r-assertthat
|
||||
r-glue
|
||||
r-httr
|
||||
r-jsonlite
|
||||
r-lifecycle
|
||||
r-magrittr))
|
||||
(home-page "https://github.com/irudnyts/openai")
|
||||
(synopsis "R Wrapper for OpenAI API")
|
||||
(description
|
||||
"This package provides an R wrapper of OpenAI API endpoints (see
|
||||
@url{https://platform.openai.com/docs/introduction} for details). This
|
||||
package covers Models, Completions, Chat, Edits, Images, Embeddings, Audio,
|
||||
Files, Fine-tunes, Moderations, and legacy Engines endpoints.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public r-openxlsx
|
||||
(package
|
||||
(name "r-openxlsx")
|
||||
|
|
Loading…
Reference in a new issue