Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.3%) to scientific vocabulary
Repository
OpenAI R interface package
Basic Info
Statistics
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
OpenAI API R implementation
The "oaii" package is a well-designed R library, crafted specifically to interface seamlessly with the OpenAI API. This package unlocks a broad spectrum of capabilities for R users, including text generation, language translation, and question-answering functionalities. By leveraging the robust capabilities of the API, the "oaii" package offers a comprehensive toolkit for users, enabling them to harness the full power of state-of-the-art AI models in their R-based applications.
Implemented endpoint helpers:
- stable: audio, chat, completions, embeddings, files, fine tunes, images, models, moderations
- beta: assistants, threads, messages, runs
Package instalation
stable
install.packages('oaii')
or
remotes::install_github("https://github.com/cezarykuran/oaii.git", subdir = "package", ref = "master")
devtools::install_github("https://github.com/cezarykuran/oaii.git", subdir = "package", ref = "master")
develop
remotes::install_github("https://github.com/cezarykuran/oaii.git", subdir = "package", ref = "develop")
devtools::install_github("https://github.com/cezarykuran/oaii.git", subdir = "package", ref = "develop")
You will need to provide your OpenAI API key to interact with the API.
Demo applications
There exists a sister package named oaiiDemoApps containing applications that demonstrate the practical use of the oaii package.
The oaiiDemoApps package contains:
- An interactive Shiny demo application, which can be accessed at https://r.cezarykuran.it/shiny/oaii/ (feel free to explore its functionality!).
- Several demonstration terminal applications written as R scripts. These applications serve as practical examples, demonstrating how to effectively leverage the package's functions for API communication.
Contributions
Contributions to the package are welcome. If you encounter any issues or have suggestions for improving the package, feel free to open an issue or submit a pull request.
Other
OpenAI useful links:
Owner
- Login: cezarykuran
- Kind: user
- Repositories: 1
- Profile: https://github.com/cezarykuran
GitHub Events
Total
- Watch event: 2
Last Year
- Watch event: 2
Packages
- Total packages: 1
-
Total downloads:
- cran 236 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 5
- Total maintainers: 1
cran.r-project.org: oaii
'OpenAI' API R Interface
- Homepage: https://github.com/cezarykuran/oaii
- Documentation: http://cran.r-project.org/web/packages/oaii/oaii.pdf
- License: MIT + file LICENSE
-
Latest release: 0.5.0
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- checkmate * imports
- httr * imports
- magrittr * imports
- utils * imports
- base64enc * suggests
- cli * suggests
- colourpicker * suggests
- fontawesome * suggests
- htmltools * suggests
- jsonlite * suggests
- log4r * suggests
- markdown * suggests
- shiny * suggests
- shinyjs * suggests
- testthat >= 3.0.0 suggests
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite