Skip to content

Commit

Permalink
Document supported file types for /learn
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonWeill committed Jun 3, 2024
1 parent 465d991 commit 24a637b
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/source/users/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,26 @@ use the `-a` or `--all-files` option.
/learn -a <directory>
```

#### Supported files for the learn command

Jupyter AI can only learn from files with the following file extensions:

* .py
* .md
* .R
* .Rmd
* .jl
* .sh
* .ipynb
* .js
* .ts
* .jsx
* .tsx
* .txt

### Learning arXiv files
`/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.

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.

```
/learn -r arxiv 2404.18558
Expand Down

0 comments on commit 24a637b

Please sign in to comment.