AI-Ollama-Client

 view release on metacpan or  search on metacpan

lib/AI/Ollama/PullModelResponse.pm  view on Meta::CPAN


Status pulling the model.

=cut

has 'status' => (
    is       => 'ro',
    isa      => Enum[
        "pulling manifest",
        "downloading digestname",
        "verifying sha256 digest",
        "writing manifest",
        "removing any unused layers",
        "success",
    ],
);

=head2 C<< total >>

Total size of the model.

ollama/ollama-curated.json  view on Meta::CPAN

{"openapi":"3.0.3","components":{"schemas":{"PushModelResponse":{"properties":{"total":{"type":"integer","description":"total size of the model","example":"2142590208"},"status":{"$ref":"#/components/schemas/PushModelStatus"},"digest":{"example":"sha...

ollama/ollama-curated.yaml  view on Meta::CPAN

        completed:
          type: integer
          description: Total bytes transferred.
          example: 2142590208
    PullModelStatus:
      type: string
      description: Status pulling the model.
      enum:
        - pulling manifest
        - downloading digestname
        - verifying sha256 digest
        - writing manifest
        - removing any unused layers
        - success
      example: pulling manifest
    PushModelRequest:
      description: Request class for pushing a model.
      type: object
      properties:
        name:
          type: string



( run in 0.400 second using v1.01-cache-2.11-cpan-5467b0d2c73 )