xenodium / chatgpt-shell

ChatGPT and DALL-E Emacs shells + Org babel 🦄 + a shell maker for other providers
https://xenodium.com
GNU General Public License v3.0
805 stars 72 forks source link

[Feature Request] Add support for ChatGPT function calling #109

Open jtmoulia opened 1 year ago

jtmoulia commented 1 year ago

ChatGPT recently added support for "function calling" where you can provide jsonschema specifying functions and their typed arguments. The model can then decide to return json as "function calls" if appropriate.

It would be amazing if chatgpt-shell could be extended to support functions in the configuration as well as response

https://platform.openai.com/docs/guides/gpt/function-calling

Thanks for a super useful lib!

xenodium commented 1 year ago

Thanks for filing! Not had a chance to look into it. Will share more once I learn more.