Skip to content

Commit

Permalink
2nd version
Browse files Browse the repository at this point in the history
  • Loading branch information
kumeS committed Aug 21, 2023
1 parent 9fb2115 commit 391accc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ Flowcharts of the R functions were created by GPT-4 + Skrive plugin.
All runs using the chat4R function are One-Shot Chatting. Conversation history is not carried over to the next conversation.

```r
#Set your API key
Sys.setenv(OPENAI_API_KEY = "Your API key")

#API: "https://api.openai.com/v1/chat/completions"
chat4R("Hello")

Expand All @@ -173,9 +170,6 @@ completions4R("Hello")
Executions using the conversation4R function will keep a history of conversations. The number of previous messages to keep in memory defaults to 2.

```r
#Set your API key
Sys.setenv(OPENAI_API_KEY = "Your API key")

#First shot
conversation4R("Hello")

Expand Down

0 comments on commit 391accc

Please sign in to comment.