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

🙏 New command : get jupyter-ai version with %ai version% #588

Closed
adriens opened this issue Jan 19, 2024 · 9 comments
Closed

🙏 New command : get jupyter-ai version with %ai version% #588

adriens opened this issue Jan 19, 2024 · 9 comments
Labels
enhancement New feature or request
Milestone

Comments

@adriens
Copy link
Contributor

adriens commented Jan 19, 2024

❔ About

Currently, it is not possible to easily know (from a command) which version of jupyter-ai we are running:

%ai help

image

💡 The idea

In some cases (like a scheduled notebook), it may be useful to be able to get the running version straight into the notebook itself.

🎯 Feature request

  • Implement %ai help command :
Commands:
  delete    Delete an alias. See `%ai delete --help` for options.
  error     Explains the most recent error.
  help      Show this message and exit.
  version   Show the current version and exit
  list      List language models. See `%ai list --help` for options.
  register  Register a new alias. See `%ai register --help` for options.
  update    Update the target of an alias. See `%ai update --help` for
            options
@adriens adriens added the enhancement New feature or request label Jan 19, 2024
@adriens adriens changed the title 🙏 Get jupyter-ai version with "%ai version%" 🙏 New command : get jupyter-ai version with "%ai version%" Jan 19, 2024
@adriens adriens changed the title 🙏 New command : get jupyter-ai version with "%ai version%" 🙏 New command : get jupyter-ai version with %ai version% Jan 19, 2024
@JasonWeill
Copy link
Collaborator

JasonWeill commented Jan 19, 2024

@adriens Thank you for opening this enhancement! As a workaround, you can run the following code in a notebook cell to see the Jupyter AI version installed:

import jupyter_ai
jupyter_ai.__version__

@adriens
Copy link
Contributor Author

adriens commented Jan 20, 2024

Thanks for the tip @JasonWeill 🙏

@adriens
Copy link
Contributor Author

adriens commented Jan 20, 2024

👌
image

@dlqqq
Copy link
Member

dlqqq commented Mar 6, 2024

Issue resolved by #665. You'll have access to %ai version in the next release.

@dlqqq dlqqq closed this as completed Mar 6, 2024
@dlqqq dlqqq added this to the v2.12.0 milestone Mar 6, 2024
@adriens
Copy link
Contributor Author

adriens commented Mar 6, 2024

I'm giving it a try right now and will update accordingly

https://www.kaggle.com/code/adriensales/jupyter-ai-magic

image

@adriens
Copy link
Contributor Author

adriens commented Mar 6, 2024

⏳ test in progress

@adriens
Copy link
Contributor Author

adriens commented Mar 6, 2024

image

@adriens
Copy link
Contributor Author

adriens commented Mar 6, 2024

image

@adriens
Copy link
Contributor Author

adriens commented Mar 6, 2024

👋 @dlqqq am I missing something ?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants