https://github.com/jcheng5/elmer-assistant
https://github.com/jcheng5/elmer-assistant
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jcheng5/elmer-assistant
- Owner: jcheng5
- Created: 2024-10-01T15:41:09.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-01-28T17:59:05.000Z (3 months ago)
- Last Synced: 2025-01-28T18:37:12.805Z (3 months ago)
- Language: Shell
- Size: 35.2 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - jcheng5/elmer-assistant - (Shell)
README
A chatbot that can answer questions about the R packages [ellmer](https://github.com/hadley/ellmer) and [shinychat](https://github.com/posit-dev/shinychat). It's implemented by simply stuffing the README.md files from both projects into a system prompt for GPT-4o.
## Live app
[https://jcheng.shinyapps.io/ellmer-assistant/](https://jcheng.shinyapps.io/ellmer-assistant/)
## Installation
```r
pak::pak(c("hadley/ellmer", "posit-dev/shinychat", "dotenv"))
```You must also create a .env file containing your OpenAI API key:
```
OPENAI_API_KEY=your-api-key
```## Starting the app
```r
shiny::runApp()
```## License
[CC0](https://creativecommons.org/public-domain/cc0/)