Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chattr Error in UseMethod("ch_test") : no applicable method for 'ch_test' applied to an object of class "c('ch_', 'ch_model')" #126

Open
MilosZarkovic opened this issue Oct 5, 2024 · 2 comments

Comments

@MilosZarkovic
Copy link

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 'ch_test' applied to an object of class "c('ch_', 'ch_model')"

chattr_app()

Error in [[.default(possible, 1) : subscript out of bounds

Thanks
Miloš

@mancebral
Copy link

Same issue!

@edgararuiz
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants