Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JBGruber/askgpt
A chat interface build on top of OpenAI's API endpoints
https://github.com/JBGruber/askgpt
Last synced: 8 days ago
JSON representation
A chat interface build on top of OpenAI's API endpoints
- Host: GitHub
- URL: https://github.com/JBGruber/askgpt
- Owner: JBGruber
- License: gpl-3.0
- Created: 2023-02-10T16:31:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T16:43:41.000Z (6 months ago)
- Last Synced: 2024-11-24T14:02:54.253Z (18 days ago)
- Language: R
- Homepage:
- Size: 2.56 MB
- Stars: 54
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - JBGruber/askgpt - A chat interface build on top of OpenAI's API endpoints (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# askgpt
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-green.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![R-CMD-check](https://github.com/JBGruber/askgpt/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/JBGruber/askgpt/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/JBGruber/askgpt/branch/main/graph/badge.svg)](https://app.codecov.io/gh/JBGruber/askgpt?branch=main)
[![CRAN status](https://www.r-pkg.org/badges/version/askgpt)](https://CRAN.R-project.org/package=askgpt)
[![CRAN_Download_Badge](https://cranlogs.r-pkg.org/badges/grand-total/askgpt)](https://cran.r-project.org/package=askgpt)You're new to R?
You don't quite understand the code you copied from that tutorial?
You get error messages that make no sense to you?
Don't worry, just *askgpt*!`askgpt` is basically ChatGPT but from R (technically, it sends prompts to [OpenAI's API](https://openai.com/api/) directly from R).
It also has some additional functionality:- Prompt *"What is wrong with my last command?"* (or *"help!"*) to get help on the last error R emitted
- Use the RStudio addin to comment, annotate or explain highlighted codeSee more under [Usage](#usage).
## Installation
You can install release version of askgpt like so:
``` r
install.packages("askgpt")
```You can install the development version of askgpt like so:
``` r
remotes::install_github("JBGruber/askgpt")
``````{r echo=FALSE, results='asis'}
fig_path = "vignettes/figs"
res <- knitr::knit_child("vignettes/Usage.Rmd", quiet = TRUE)
cat(res, sep = '\n')
```