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

[Feature request] Support Assistants API #150

Open
karmajunkie opened this issue Nov 7, 2023 · 7 comments
Open

[Feature request] Support Assistants API #150

karmajunkie opened this issue Nov 7, 2023 · 7 comments

Comments

@karmajunkie
Copy link

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.

@xenodium
Copy link
Owner

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.

bender-meets-vision.mov

Really just wanted to get the conversation around this started.

Do you have examples of Emacs integrations?

@karmajunkie
Copy link
Author

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... :)

@ziova
Copy link

ziova commented Nov 23, 2023

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?

@xenodium
Copy link
Owner

maybe we can encode the data in a file or something?

Possibly. Take a look at chatgpt-shell--make-curl-request-command-list.

@ziova
Copy link

ziova commented Nov 23, 2023

thanks, im not too saavy with my emacs-fu so im not sure how to modify it, sorry. could you please help me out

@xenodium
Copy link
Owner

xenodium commented Oct 4, 2024

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.

@xenodium
Copy link
Owner

xenodium commented Oct 4, 2024

@karmajunkie it's been a while now. Reckon assistants are still worth looking into? Unfortunately, I haven't followed where that went.

@xenodium xenodium changed the title Support Assistants API [Feature request] Support Assistants API Nov 26, 2024
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