MichelNivard / gptstudio

GPT RStudio addins that enable GPT assisted coding, writing & analysis
https://michelnivard.github.io/gptstudio/
Other
871 stars 100 forks source link

Upkeep for gptstudio (2024) #164

Open JamesHWade opened 5 months ago

JamesHWade commented 5 months ago

Set up or update GitHub Actions. \ Updating workflows to the latest version will often fix troublesome actions:

Created on 2024-01-08 with usethis::use_upkeep_issue(), using usethis v2.2.2

JamesHWade commented 5 months ago

@calderonsamuel, I'm coming back from parental leave soon, and I want to give a lot more time to this package. Thought I'd start that off with an "upkeep" issue created with usethis::use_upkeep_issue().

Anything else you'd like to add? After this, it seems like a good time to issue a new release given all your fantastic recent contributions.

JamesHWade commented 5 months ago

165

calderonsamuel commented 5 months ago

Hi James, glad to have you back! I think we need to solve the bugs listed in issues and improve some documentation.

I would also like to have some features implemented before v0.4.0:

v0.5.0

Thinking a bit about the near future, I think we should aim to achieve two things:

  1. Migrate the build skeleton -> perform request -> translate response process to S7 to have explicit "type safety" and extendability. The S7 classes and generics necessary should live in another package, where they should be documented, so gptstudio can focus on improving the chatgpt addin and the others. I'm working on a draft for such package in calderonsamuel/skellm. This will also mean that, eventually, other packages can wrap new APIs and the gptstudio addins will find their methods without depending on them (e.g. I'm already drafting how we can do that for ollama in calderonsamuel/ollama.
  2. Improve testing tooling. Here we should focus on test coverage and testing on CI (at least the free services).

v1.0.0

At some point we should reach an actual stable version. I would like to have these features, they are both pretty challeging:

JamesHWade commented 5 months ago

Great ideas. I updated them to tasks for us to work on. Thanks again for all of you fantastic work on this package! I'm excited by your {skellm} package.

JamesHWade commented 4 months ago

@calderonsamuel, you might be interested in this PR from httr2:

https://github.com/r-lib/httr2/pull/437

It might make our lives a lot easier in parsing JSON from streams.

JamesHWade commented 4 months ago

@calderonsamuel , I'd like to submit 0.4 to CRAN with in the next few weeks. Do you think you'll have time to work on some of the items you mention above over the newt couple of weeks?

If so, let me know what you plan to work on, and I'll try to cover any of the remaining tasks.

calderonsamuel commented 4 months ago

@calderonsamuel , I'd like to submit 0.4 to CRAN with in the next few weeks. Do you think you'll have time to work on some of the items you mention above over the newt couple of weeks?

If so, let me know what you plan to work on, and I'll try to cover any of the remaining tasks.

Hi James. I can focus on reducing the hard coded css and the dynamic model selection. Also I can help with fixing bug reports

calderonsamuel commented 1 month ago

Hey James, I think we should push v0.4.0 to CRAN and move the pending issues to v0.5.0. The current CRAN version crashes in different scenarios that have long been fixed in the develpment branch. Also, lots of newbies don't know how to install from github. Just give time to fix #202 and we should be good to go

JamesHWade commented 1 month ago

Let's do it. Is next week a good target?

JamesHWade commented 1 month ago

I'll plan to send this off to CRAN tomorrow unless I hear any objections. Excited to get this next version out there!!!

calderonsamuel commented 1 month ago

I'll just like your opinion on keeping the following elemets:

  1. Sidebar > Settings > "Save settings for this session"
  2. Sidebar > "Delete all chats"

They were useful for the development, but I'm not sure if final users will them useful too.

JamesHWade commented 1 month ago

I use them all the time, so I say keep them.

calderonsamuel commented 1 month ago

I have a lot of small updates in my mind, but I don't want us to lose the momentum. Lets go to CRAN

JamesHWade commented 1 month ago

I have it ready to submit Monday morning. I forgot they don't like submissions on the weekends.