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::GenerateEmbeddingRequest -

SYNOPSIS

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

PROPERTIES

model

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.

options

Additional model parameters listed in the documentation for the Modelfile such as `temperature`.

prompt

Text to generate embeddings for.