-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
Document file types supported by /learn #406
Comments
Thank you for posting this issue, Jason! Interesting to note that when I wrote the short lesson on Jupyter AI
Thus, I wrote that .txt in particular is not supported. Can you clarify how these two lines of code interact? Did I end up in an outdated version of the code? Or what? |
@labarba That link is to @ellisonbg 's fork of jupyter-ai, and is from an older version of the code when we used Ray to schedule tasks. Today we use Dask, and the permalink above is from the |
Oh, yes... I didn't notice that I was not in the main branch. Eek! I'll have to correct the lesson. I now see
|
OK, yes, I'm in the wrong place, and I don't know how I ended up there. Thanks! 😊 |
🎉 |
Problem
The file types supported by the
/learn
command are listed in the source code:jupyter-ai/packages/jupyter-ai/jupyter_ai/document_loaders/directory.py
Lines 29 to 42 in 940b6ef
These file types are not documented in our user-facing documentation, though, as @labarba noted here: https://discourse.jupyter.org/t/jupyter-ai-brings-large-language-models-to-jupyter-notebooks/20747
Proposed Solution
Document the supported file types for the document loader.
Additional context
We might need to update the user interface as well, such as if a user attempts to
/learn
a file whose extension is not supported.The text was updated successfully, but these errors were encountered: