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.5)askgpt_0.1.3.9000.zip(r-4.4)askgpt_0.1.3.9000.zip(r-4.3)
askgpt_0.1.3.9000.tgz(r-4.4-any)askgpt_0.1.3.9000.tgz(r-4.3-any)
askgpt_0.1.3.9000.tar.gz(r-4.5-noble)askgpt_0.1.3.9000.tar.gz(r-4.4-noble)
askgpt_0.1.3.9000.tgz(r-4.4-emscripten)askgpt_0.1.3.9000.tgz(r-4.3-emscripten)
askgpt.pdf |askgpt.html✨
askgpt/json (API)
NEWS
# 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 6 months agofrom:30dc1e0b4a. Checks:OK: 1 WARNING: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 01 2024 |
R-4.5-win | WARNING | Nov 01 2024 |
R-4.5-linux | WARNING | Nov 01 2024 |
R-4.4-win | WARNING | Nov 01 2024 |
R-4.4-mac | WARNING | Nov 01 2024 |
R-4.3-win | WARNING | Nov 01 2024 |
R-4.3-mac | WARNING | Nov 01 2024 |
Exports:annotate_codeaskgptchat_apicompletions_apidocument_codeestimate_tokenexplain_codelist_modelslog_initloginnew_conversationparse_responseprompt_historyresponse_historytest_function
Dependencies:askpasscallrclicurldplyrfansigenericsgluehttr2jsonlitelifecyclemagrittropensslpillarpkgconfigprocessxpsR6rappdirsrlangsystibbletidyselectutf8vctrswithr
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 |