obsidian-copilot icon indicating copy to clipboard operation
obsidian-copilot copied to clipboard

Support Organization ID for OpenAI

Open avadhpatel opened this issue 9 months ago • 0 comments

Is your feature request related to a problem? Please describe. For many companies, Open AI requires an Organization ID along with API key. Add support to include organization id setting and use it when available. The lagnchain APIs already support the organization parameter for this purpose.

Describe the solution you'd like Add a new field in the settings organization-id that stores the org-id and pass it to langchain or proxy agent when using Open AI.

Describe alternatives you've considered Alternative would be to set global environment variable for the organization ID. But this option would not be clear for the users who need to set the organization-id to use the OpenAI for work.

Additional context Example setting view with organization id field: Screenshot 2024-04-29 at 10 26 02 PM

avadhpatel avatar Apr 30 '24 03:04 avadhpatel