AI-Ollama-Client

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

    * Request builders are now public
    * HTTP events are emitted for easier tracing
      - request
      - response

0.03 2024-04-08
    * Fix prerequisites

0.02 2024-04-07
    * Regenerated documentation
    * Fixed code for uploading a model

0.01 2024-04-05
    * Released on an unsuspecting world
    * Generated with OpenAPI::PerlGenerator

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

=head2 C<< status >>

Status pushing the model.

=cut

has 'status' => (
    is       => 'ro',
    isa      => Enum[
        "retrieving manifest",
        "starting upload",
        "pushing manifest",
        "success",
    ],
);

=head2 C<< total >>

total size of the model

=cut

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

          example: 'sha256:bc07c81de745696fdf5afca05e065818a8149fb0c77266fb584d9b2cba3711a'
        total:
          type: integer
          description: total size of the model
          example: 2142590208
    PushModelStatus:
      type: string
      description: Status pushing the model.
      enum:
        - retrieving manifest
        - starting upload
        - pushing manifest
        - success



( run in 2.907 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )