-
-
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
/learn error with non-UTF-8 files #377
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
@scottdonnelly Thanks for your contribution! Jupyter AI's |
Hi, thanks! I tried starting one level above in the target directory with:
And I got this error?
|
Interesting: we seem to be assuming that all files that a user learns with |
Any workarounds to get /learn to work here you think? |
Until this is fixed, you'll need to |
I tried this using Jupyter AI 2.4.0 (tip of |
I also don't see this error on Linux, so it may be limited to Windows. (Still working on testing it there.) @3coins mentioned that it might be worth switching to Langchain document loaders, which have a method to detect file encodings. |
After updating my Windows machine with the newest versions of JupyterLab and Jupyter AI, I also don't experience this problem with |
Closing as not reproducible. |
Hi,
When I run
/learn docs/
I get the message:Sorry, that path doesn't exist: C:\Users\sdonn\docs/
That is not the working directory I'm using in Jupyter, so it appears to be in the wrong directory? Do I need to enter the working directory somehow? Tried this a few ways but to no avail... Thanks.
Edit: AI magics and chat are working perfectly fine.
The text was updated successfully, but these errors were encountered: