modelfile 0.1.0

A parser for Ollama Modelfiles
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# `modelfile`

A parser and serder compatible stucture
for Ollama [Modelfile]s written in Rust. 🦀

The [Modelfile] format isn't based on any existing format.

The parser is basedon the [`nom`] crate
and tested on a few distinct [Modelfile]s.
If you find a [Modelfile] that doesn't parse,
please open an issue!

[Modelfile]: https://github.com/ollama/ollama/blob/main/docs/modelfile.md
[`nom`]: https://github.com/rust-bakery/nom