No output after asking question
I run the app using this code in rstudio. library(chattr) Sys.setenv("OPENAI_API_KEY" = "sk-........fV3D") chattr_use("gpt35") chattr_app()
it opens up the app in viewer pane and im able to submit a question. nothing is returned though after asking question.
Am on a work network so not sure if that is messing it up.
Thanks.
I'm having the same issue. Is it possible is has something to do with my ChatGPT account settings?
This package now works well in the console
Hello, I'm also running into the same issue, has there been a fix yet?
Adding screenshots for more info.
Further probing using backtracing, I get the error message below:
Error in req_perform_connection():
! HTTP 404 Not Found.
Backtrace: ▆
- ├─chattr::chattr("Help to design code")
- │ ├─chattr::ch_submit(...)
- │ └─chattr:::ch_submit.ch_openai(...)
- │ └─chattr:::ch_openai_complete(prompt = prompt, defaults = defaults)
- │ └─req_result %>% ...
- └─httr2::req_perform_stream(...)
- └─httr2::req_perform_connection(req)
-
└─httr2:::handle_resp(req, resp) -
└─httr2:::resp_abort(resp, req, body, call = error_call) -
└─rlang::abort(...)
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
Hi there I have the same issue, is there a way to avoid this 404 error ?
chattr 0.3.0 is now on CRAN, which now uses ellmer exclusively as integration point with LLMs: https://mlverse.github.io/chattr/index.html#using