NAME

AI::Ollama::GenerateChatCompletionResponse -

SYNOPSIS

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

PROPERTIES

created_at

Date on which a model was created.

done

Whether the response has completed.

eval_count

Number of tokens the response.

eval_duration

Time in nanoseconds spent generating the response.

load_duration

Time spent in nanoseconds loading the model.

message

A message in the chat endpoint

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.

prompt_eval_count

Number of tokens in the prompt.

prompt_eval_duration

Time spent in nanoseconds evaluating the prompt.

total_duration

Time spent generating the response.