emacs-openai / openai

Elisp library for the OpenAI API
GNU General Public License v3.0
100 stars 17 forks source link

Adding organization to request #12

Closed rommeswi closed 1 year ago

rommeswi commented 1 year ago

According to this documentation, an organization can be provided in case of multiple organizations.

Also, it seems that the user does not need to be specified, only the key.

jcs090218 commented 1 year ago

Implemented in #13, the key is org-id.

Also, it seems that the user does not need to be specified, only the key.

I think user are only optional. The main goal of this package is to share the same variables across all OpenAI-related packages, like openai-key, etc. openai-user is specified since this could benefit the user, and it follows this principle.