Open MilosZarkovic opened 1 month ago
I am trying to use chattr in Rstudio (2024.09.0 Build 375) and R 4.4.1
However, I got the following errors:
library(chattr)
chatGPT.api.key="XXXXXXXXXXXXXXXXXXX"
Sys.setenv("OPENAI_API_KEY" = chatGPT.api.key)
chattr_defaults()
── chattr ──────────────────────────────────────────────────────────────────────
── Defaults for: Default ──
── Prompt:
── Model • Provider: • Path/URL: • Model: • Label:
── Context: Max Data Files: Max Data Frames
chattr_test()
Error in UseMethod("ch_test") : no applicable method for 'chtest' applied to an object of class "c('ch', 'ch_model')"
chattr_app()
Error in [[.default(possible, 1) : subscript out of bounds
[[.default
Thanks Miloš
Same issue!
Hi all, yes, I plan to offload ChatGPT's backend to https://github.com/tidyverse/elmer once it comes out. This will provide a more consistent interface
I am trying to use chattr in Rstudio (2024.09.0 Build 375) and R 4.4.1
However, I got the following errors:
library(chattr)
chatGPT.api.key="XXXXXXXXXXXXXXXXXXX"
Sys.setenv("OPENAI_API_KEY" = chatGPT.api.key)
chattr_defaults()
── chattr ──────────────────────────────────────────────────────────────────────
── Defaults for: Default ──
── Prompt:
── Model • Provider: • Path/URL: • Model: • Label:
── Context: Max Data Files: Max Data Frames
chattr_test()
Error in UseMethod("ch_test") : no applicable method for 'chtest' applied to an object of class "c('ch', 'ch_model')"
chattr_app()
Error in
[[.default
(possible, 1) : subscript out of boundsThanks Miloš