Package: gptstudio 0.4.0.9009

gptstudio: Use Large Language Models Directly in your Development Environment

Large language models are readily accessible via API. This package lowers the barrier to use the API inside of your development environment. For more on the API, see <https://platform.openai.com/docs/introduction>.

Authors:Michel Nivard [aut, cph], James Wade [aut, cre, cph], Samuel Calderon [aut]

gptstudio_0.4.0.9009.tar.gz
gptstudio_0.4.0.9009.zip(r-4.5)gptstudio_0.4.0.9009.zip(r-4.4)gptstudio_0.4.0.9009.zip(r-4.3)
gptstudio_0.4.0.9009.tgz(r-4.4-any)gptstudio_0.4.0.9009.tgz(r-4.3-any)
gptstudio_0.4.0.9009.tar.gz(r-4.5-noble)gptstudio_0.4.0.9009.tar.gz(r-4.4-noble)
gptstudio_0.4.0.9009.tgz(r-4.4-emscripten)gptstudio_0.4.0.9009.tgz(r-4.3-emscripten)
gptstudio.pdf |gptstudio.html
gptstudio/json (API)
NEWS

# Install 'gptstudio' in R:
install.packages('gptstudio', repos = c('https://jameshwade.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/michelnivard/gptstudio/issues

On CRAN:

chatgptgpt-3rstudiorstudio-addin

10.72 score 906 stars 1 packages 43 scripts 1.2k downloads 21 exports 54 dependencies

Last updated 20 days agofrom:8443f1e0ef (on main). Checks:OK: 1 ERROR: 6. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winERRORNov 19 2024
R-4.5-linuxERRORNov 19 2024
R-4.4-winERRORNov 19 2024
R-4.4-macERRORNov 19 2024
R-4.3-winERRORNov 19 2024
R-4.3-macERRORNov 19 2024

Exports:chatcreate_completion_anthropiccreate_completion_azure_openaicreate_completion_googlecreate_completion_huggingfaceget_available_endpointsget_available_modelsget_ide_theme_infogptstudio_chatgptstudio_chat_in_source_addingptstudio_comment_codegptstudio_create_skeletongptstudio_request_performgptstudio_response_processgptstudio_run_chat_appgptstudio_sitrepgptstudio_skeleton_buildgptstudio_spelling_grammarinput_audio_clipopenai_create_chat_completiontranscribe_audio

Dependencies:askpassbase64encbsiconsbslibcachemclicolorspacecommonmarkcrayoncurldigestevaluatefastmapfontawesomefsgluehighrhtmltoolshtmlwidgetshttpuvhttr2idsjquerylibjsonliteknitrlaterlifecyclemagrittrmemoisemimeopensslpromisespurrrR6rappdirsRcpprlangrmarkdownrstudioapisassshinyshiny.i18nsourcetoolsSSEparserstringistringrsystinytexuuidvctrswithrxfunxtableyaml

Anthropic API Service

Rendered fromanthropic.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-01-13
Started: 2024-01-13

Azure OpenAI API Service

Rendered fromazure.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-08-22
Started: 2024-01-13

Cohere

Rendered fromcohere.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-05-18
Started: 2024-01-29

Google's AI Studio API Service

Rendered fromgoogle.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-01-29
Started: 2024-01-13

HuggingFace API Service

Rendered fromhuggingface.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-01-13
Started: 2024-01-13

OpenAI API Service

Rendered fromopenai.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-05-17
Started: 2024-01-13

Perplexity

Rendered fromperplexity.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-01-14
Started: 2024-01-14

Readme and manuals

Help Manual

Help pageTopics
Chat Interface for gptstudiochat
Create system promptchat_create_system_prompt
Append to chat historychat_history_append
Default chat messagechat_message_default
Check API Connectioncheck_api_connection_openai
Chat App Themecreate_chat_app_theme
Create a chat with the Cohere Chat APIcreate_chat_cohere
Generate text completions using Anthropic's APIcreate_completion_anthropic
Generate text using Azure OpenAI's APIcreate_completion_azure_openai
Generate text completions using Google AI Studio's APIcreate_completion_google
Generate text completions using HuggingFace's APIcreate_completion_huggingface
Create a chat completion request to the Perplexity APIcreate_completion_perplexity
Chat message colors in RStudiocreate_ide_matching_colors
Internationalization for the ChatGPT addincreate_translator
Encode an image file to base64encode_image
List supported endpointsget_available_endpoints
List supported modelsget_available_models
Get IDE Theme Informationget_ide_theme_info
Run GPTStudio Chat Appgptstudio_chat
ChatGPT in Sourcegptstudio_chat_in_source_addin
Comment Code Addingptstudio_comment_code
Create a Request Skeletongptstudio_create_skeleton
Perform API Requestgptstudio_request_perform
Call APIgptstudio_response_process
Run the ChatGPT appgptstudio_run_chat_app
Current Configuration for gptstudiogptstudio_sitrep
Construct a GPT Studio request skeleton.gptstudio_skeleton_build
Spelling and Grammar Addingptstudio_spelling_grammar
An audio clip input control that records short audio clips from the microphoneinput_audio_clip
App Servermod_app_server
App UImod_app_ui
Chat servermod_chat_server
Chat UImod_chat_ui
Create HTML dependency for multimodal componentmultimodal_dep
Generate text completions using OpenAI's API for Chatopenai_create_chat_completion
Stream handler for chat completionsOpenaiStreamParser
Parse a Data URIparse_data_uri
Prepare chat completion promptprepare_chat_history
A function that sends a request to the Anthropic API and returns the response.query_api_anthropic
Send a request to the Cohere Chat API and return the responsequery_api_cohere
A function that sends a request to the Google AI Studio API and returns the response.query_api_google
A function that sends a request to the HuggingFace API and returns the response.query_api_huggingface
A function that sends a request to the OpenAI API and returns the response.query_api_openai
Send a request to the Perplexity API and return the responsequery_api_perplexity
Base for a request to the OPENAI APIrequest_base
Base for a request to the Anthropic APIrequest_base_anthropic
Base for a request to the Cohere Chat APIrequest_base_cohere
Base for a request to the Google AI Studio APIrequest_base_google
Base for a request to the HuggingFace APIrequest_base_huggingface
Base for a request to the Perplexity APIrequest_base_perplexity
RGB str to hexrgb_str_to_hex
Stream Chat Completionstream_chat_completion
Streaming messagestreamingMessage
Shiny bindings for streamingMessagerenderStreamingMessage streamingMessage-shiny streamingMessageOutput
Style Chat Historystyle_chat_history
Style chat messagestyle_chat_message
Custom textAreaInputtext_area_input_wrapper
Transcribe Audio from Data URI Using OpenAI's Whisper Modeltranscribe_audio
Welcome messagewelcomeMessage
Shiny bindings for welcomeMessagerenderWelcomeMessage welcomeMessage-shiny welcomeMessageOutput