The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

AI::Ollama::CreateModelRequest -

SYNOPSIS

  my $obj = AI::Ollama::CreateModelRequest->new();
  ...

PROPERTIES

modelfile

The contents of the Modelfile.

name

The model name.

Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama2:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version.

stream

If `false` the response will be returned as a single response object, otherwise the response will be streamed as a series of objects.