Skip to content

Commit 633df43

Browse files
authored
Document supported file types for /learn (#816)
* Document supported file types for /learn * Newer supported extensions
1 parent 465d991 commit 633df43

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

docs/source/users/index.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,8 +464,29 @@ use the `-a` or `--all-files` option.
464464
/learn -a <directory>
465465
```
466466

467+
#### Supported files for the learn command
468+
469+
Jupyter AI can only learn from files with the following file extensions:
470+
471+
* .py
472+
* .md
473+
* .R
474+
* .Rmd
475+
* .jl
476+
* .sh
477+
* .ipynb
478+
* .js
479+
* .ts
480+
* .jsx
481+
* .tsx
482+
* .txt
483+
* .html
484+
* .pdf
485+
* .tex
486+
467487
### Learning arXiv files
468-
`/learn` command also provides downloading and processing papers from the [arXiv](https://arxiv.org/) repository. You will need to install the `arxiv` python package for this feature to work. Run `pip install arxiv` to install the `arxiv` package.
488+
489+
The `/learn` command also provides downloading and processing papers from the [arXiv](https://arxiv.org/) repository. You will need to install the `arxiv` python package for this feature to work. Run `pip install arxiv` to install the `arxiv` package.
469490

470491
```
471492
/learn -r arxiv 2404.18558

0 commit comments

Comments
 (0)