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

Use new provider interface in magics #23

Merged
merged 1 commit into from
Apr 4, 2023
Merged

Conversation

dlqqq
Copy link
Member

@dlqqq dlqqq commented Apr 4, 2023

  • Removes the PROVIDER_SCHEMAS dictionary used in magics
  • Subclasses some (but not all) LangChain providers to add metadata, and then exposes them via entrypoints
  • Changes provider ID delimiter from : to :: to avoid issues with URI prefixes like http://....
    • Example: You would now use %%ai ai21::j1-jumbo instead of %%ai ai21:j1-jumbo.

@dlqqq dlqqq added the enhancement New feature or request label Apr 4, 2023
@dlqqq dlqqq merged commit b9e495f into jupyterlab:main Apr 4, 2023
@dlqqq dlqqq deleted the providers branch April 4, 2023 17:04
dbelgrod pushed a commit to dbelgrod/jupyter-ai that referenced this pull request Jun 10, 2024
Marchlak pushed a commit to Marchlak/jupyter-ai that referenced this pull request Oct 28, 2024
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

Successfully merging this pull request may close these issues.

1 participant