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

Configuration to set default provider #218

Closed
geniekanth opened this issue Jun 8, 2023 · 7 comments · Fixed by #421
Closed

Configuration to set default provider #218

geniekanth opened this issue Jun 8, 2023 · 7 comments · Fixed by #421
Assignees
Labels
enhancement New feature or request @jupyter-ai/chatui project:config Configuration mechanisms

Comments

@geniekanth
Copy link

geniekanth commented Jun 8, 2023

Provide some configurations to set default provider, so we don't have to explicitly set from JupyterLab extension.

@geniekanth geniekanth added the enhancement New feature or request label Jun 8, 2023
@welcome
Copy link

welcome bot commented Jun 8, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@3coins
Copy link
Collaborator

3coins commented Jun 8, 2023

@geniekanth
Thanks for your interest in Jupyter AI.
Can you elaborate a bit more on your motivation for requesting this. Do you feel this is something you require as an individual user or find it useful in an enterprise setting where a default value is provided, and possibly others blocked?

@geniekanth
Copy link
Author

@3coins , It is for enterprise settings, where users don't have to see every time when they use the extension.

@sshillo
Copy link

sshillo commented Jun 14, 2023

I need this configuration as well, I really want to use this for my company, our data scientists use jupyterlab in the cloud. To have them use it, I need to be able to configure the model and api keys through some config, not in the ui.

@Keelan-Payne
Copy link

Also hoping for this on behalf of my organization and our JupyterHub deployment. We have OpenAI keys we would like to configure for use by default, without directly exposing the keys to our users.

@3coins 3coins added this to the 0.9.0 Release milestone Jun 14, 2023
@JasonWeill JasonWeill self-assigned this Jun 17, 2023
@dlqqq dlqqq modified the milestones: 0.9.0 Release, 0.10.0 Release Jun 23, 2023
@JasonWeill JasonWeill added the project:extensibility Extension points, routing, configuration label Jul 18, 2023
@JasonWeill
Copy link
Collaborator

Currently, all of the keys are deployed in Jupyter's local data directory (e.g., on Mac, ~/Library/Jupyter/jupyter_ai) in a file called config.json. Deploying a config.json file would make the API keys visible, although it doesn't assuage concerns about users being able to see shared keys.

@JasonWeill JasonWeill added project:config Configuration mechanisms and removed project:extensibility Extension points, routing, configuration labels Aug 17, 2023
@JasonWeill JasonWeill removed their assignment Aug 28, 2023
@JasonWeill
Copy link
Collaborator

Pull request #353 may be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request @jupyter-ai/chatui project:config Configuration mechanisms
Projects
None yet
6 participants