Skip to content

Commit

Permalink
Docs for vision, refs #12
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Oct 29, 2024
1 parent c11f525 commit 15d1100
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ To use a system prompt with `mistral-medium` to explain some code:
```bash
cat example.py | llm -m mistral-medium -s 'explain this code'
```
## Vision

The `pixtral-12b` model is capable of interpreting images. You can use that like this:

```bash
llm -m pixtral-12b 'describe this image' -a https://static.simonwillison.net/static/2024/earth.jpg
```
You can also pass filenames instead of URLs.

## Model options

All three models accept the following options, using `-o name value` syntax:
Expand Down

0 comments on commit 15d1100

Please sign in to comment.