Package: askgpt 0.1.3.9000

askgpt: Asking GPT About R Stuff
A chat package connecting to API endpoints by 'OpenAI' (<https://platform.openai.com/>) to answer questions (about R).
Authors:
askgpt_0.1.3.9000.tar.gz
askgpt_0.1.3.9000.zip(r-4.7-any)askgpt_0.1.3.9000.zip(r-4.6-any)askgpt_0.1.3.9000.zip(r-4.5-any)
askgpt_0.1.3.9000.tgz(r-4.6-any)askgpt_0.1.3.9000.tgz(r-4.5-any)
askgpt_0.1.3.9000.tar.gz(r-4.7-any)askgpt_0.1.3.9000.tar.gz(r-4.6-any)
askgpt_0.1.3.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
askgpt/json (API)
| # Install 'askgpt' in R: |
| install.packages('askgpt', repos = c('https://jbgruber.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jbgruber/askgpt/issues
- token_limits - Max tokens limits of the different models
Last updated from:30dc1e0b4a. Checks:7 WARNING, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | WARNING | 142 | ||
| source / vignettes | OK | 179 | ||
| linux-release | WARNING | 141 | ||
| macos-release | WARNING | 101 | ||
| macos-oldrel | WARNING | 89 | ||
| windows-devel | WARNING | 75 | ||
| windows-release | WARNING | 66 | ||
| windows-oldrel | WARNING | 68 | ||
| wasm-release | OK | 124 |
Exports:annotate_codeaskgptchat_apicompletions_apidocument_codeestimate_tokenexplain_codelist_modelslog_initloginnew_conversationparse_responseprompt_historyresponse_historytest_function
Dependencies:askpasscallrclicurldplyrgenericsgluehttr2jsonlitelifecyclemagrittropensslotelpillarpkgconfigprocessxpsR6rappdirsrlangsystibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Annotate R code with inline comments | annotate_code |
| Ask openai's GPT models a question | askgpt |
| Request answer from openai's chat API | chat_api |
| Request answer from openai's completions API | completions_api |
| Document R Code | document_code |
| Estimate token count | estimate_token |
| Explain R code | explain_code |
| Improve code/documentation/writing using a prompt | improve_addin |
| List Models | list_models |
| Initiate error logging | log_init |
| Log in to OpenAI | login |
| Start a new conversation | new_conversation |
| Parse response from API functions | parse_response |
| Return the prompt/response history | prompt_history |
| Return the prompt/response history | response_history |
| Test R code | test_function |
| Max tokens limits of the different models | token_limits |
| Turn R code into a tutorial | tutorialise_addin |