chatgpt-shell
chatgpt-shell copied to clipboard
Support Assistants API
I realize this was announced today so this is kind of an early ask, but I'd love to see the Assistants api supported in chatgpt-shell. Its part of the new offerings from OpenAI, documented here: https://platform.openai.com/docs/api-reference/assistants
Really just wanted to get the conversation around this started.
Thanks for filing the request. Not had much of a chance to catch up with all that's been released. I did, however, add a smaller feature.
https://github.com/xenodium/chatgpt-shell/assets/8107219/74fff982-7938-4b70-9c99-6b42df861132
Really just wanted to get the conversation around this started.
Do you have examples of Emacs integrations?
Do you have examples of Emacs integrations? No, I haven't seen any yet…
I think probably my goal would be to have a variable with a collection of assistants identified, then be able to switch to using one with chatgpt-shell-swap-system-prompt
or something similar.
My elisp is terrible but maybe I should just take a stab at letting chatgpt ~implement~ coach me through implementing a PR... :)
Hi, this does not work on my machine, I'm getting the following error:
/usr/bin/curl: Argument list too long
Looks like when you encode the image, the length of the curl command seems to be too long to process, maybe we can encode the data in a file or something?
maybe we can encode the data in a file or something?
Possibly. Take a look at chatgpt-shell--make-curl-request-command-list
.
thanks, im not too saavy with my emacs-fu so im not sure how to modify it, sorry. could you please help me out
maybe we can encode the data in a file or something?
@ziova This is now the case. So hopefully you don't hit the /usr/bin/curl: Argument list too long
anymore. Btw, the command is now M-x chatgpt-shell-describe-image
.
@karmajunkie it's been a while now. Reckon assistants are still worth looking into? Unfortunately, I haven't followed where that went.