Group
Extension

Matches 35358

OpenAI-API ( N/NF/NFERRAZ/OpenAI-API-0.37.tar.gz, NFERRAZ, 2023; MetaCPAN )
OpenAI-API/lib/OpenAI/API/Request/Image/Generation.pm ( view source; MetaCPAN )
, '512x512', '1024x1024' ], );
has response_format => ( is => 'ro', isa => Enum [ 'url',     'b64_json' ], );
has user            => ( is => 'ro', isa => Str, );

sub endpoint { 'images/generations' }
[optional]

The format in which the generated images are returned. Must be one of
C<url> or C<b64_json>. Defaults to C<url>.

=item * user [optional]

A unique identifier representing your end-user.

OpenAPI-Client-Pinecone ( N/NF/NFERRAZ/OpenAPI-Client-Pinecone-0.03.tar.gz, NFERRAZ, 2023; MetaCPAN )
OpenAPI-Client-Pinecone/lib/OpenAPI/Client/Pinecone.pm ( view source; MetaCPAN )
e ENVIRONMENT VARIABLES

  my $tx = $client->list_collections();

  my $response_data = $tx->res->json;

  #print Dumper($response_data);

=head1 DESCRIPTION

OpenAPI::Client::Pinecone is a client for
OpenAI-API ( N/NF/NFERRAZ/OpenAI-API-0.37.tar.gz, NFERRAZ, 2023; MetaCPAN )
OpenAI-API/lib/OpenAI/API/Request.pm ( view source; MetaCPAN )
package OpenAI::API::Request;

use IO::Async::Loop;
use IO::Async::Future;
use JSON::MaybeXS;
use LWP::UserAgent;

use Moo;
use strictures 2;
use namespace::clean;

use OpenAI::API::Config;
use OpenAI
se_module" or die $@;

    # Return the OpenAI::API::Response object
    my $decoded_res = decode_json( $res->decoded_content );
    return $response_module->new($decoded_res);
}

sub request_params {
($req);
}

sub _post {
    my ($self) = @_;

    my $req = $self->_create_request( 'POST', encode_json( $self->request_params() ) );
    return $self->_send_request($req);
}

sub send_async {
    my (
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/NewSpectraDataToImportAnalyzer.pm ( view source; MetaCPAN )
t::NewSpectraDataToImportAnalyzer;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/Nmr1dPeak.pm ( view source; MetaCPAN )
t::REST_Client::Object::Nmr1dPeak;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/LiquidChromatographyAllOf.pm ( view source; MetaCPAN )
Object::LiquidChromatographyAllOf;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/NewSpectraDataToImportSample.pm ( view source; MetaCPAN )
ect::NewSpectraDataToImportSample;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/Nmr1dPeakpattern.pm ( view source; MetaCPAN )
_Client::Object::Nmr1dPeakpattern;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/Nmr1dSpectrum.pm ( view source; MetaCPAN )
EST_Client::Object::Nmr1dSpectrum;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
::init(%args);
}

# return perl hash
sub to_hash {
    my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    # call NmrSpectrum to_hash and then combine hash
 
 by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {};
    foreach my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_att
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/FullscanGcmsSpectrum.pm ( view source; MetaCPAN )
ent::Object::FullscanGcmsSpectrum;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
::init(%args);
}

# return perl hash
sub to_hash {
    my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    # call MassSpectrum to_hash and then combine hash
 by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {};
    foreach my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_att
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/NewSpectrumPeaklist.pm ( view source; MetaCPAN )
ient::Object::NewSpectrumPeaklist;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/NewAnalyzerMetadata.pm ( view source; MetaCPAN )
ient::Object::NewAnalyzerMetadata;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/NewSpectrumPeakItemAllOf.pm ( view source; MetaCPAN )
:Object::NewSpectrumPeakItemAllOf;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/Spectrum.pm ( view source; MetaCPAN )
st::REST_Client::Object::Spectrum;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/MassPeak.pm ( view source; MetaCPAN )
st::REST_Client::Object::MassPeak;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/NewChromatographyMetadataSeparationFlowGradient.pm ( view source; MetaCPAN )
phyMetadataSeparationFlowGradient;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/Nmr2dSpectrum.pm ( view source; MetaCPAN )
EST_Client::Object::Nmr2dSpectrum;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
::init(%args);
}

# return perl hash
sub to_hash {
    my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    # call NmrSpectrum to_hash and then combine hash
 
 by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {};
    foreach my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_att
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/NmrSpectrum.pm ( view source; MetaCPAN )
:REST_Client::Object::NmrSpectrum;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
::init(%args);
}

# return perl hash
sub to_hash {
    my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    # call Spectrum to_hash and then combine hash
    
 by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {};
    foreach my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_att
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/Compound.pm ( view source; MetaCPAN )
st::REST_Client::Object::Compound;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};
Metabolomics-Fragment-Annotation ( G/GI/GIACOMONI/Metabolomics-Fragment-Annotation-0.6.9.tar.gz, GIACOMONI, 2023; MetaCPAN )
Metabolomics-Fragment-Annotation/lib/PeakForest/REST_Client/Object/NewSpectraDataToImportOtherMetadata.pm ( view source; MetaCPAN )
wSpectraDataToImportOtherMetadata;

require 5.6.0;
use strict;
use warnings;
use utf8;
use JSON qw(decode_json);
use Data::Dumper;
use Module::Runtime qw(use_module);
use Log::Any qw($log);
use Date::
 my $self = shift;
    my $_hash = decode_json(JSON->new->convert_blessed->encode($self));

    return $_hash;
}

# used by JSON for serialization
sub TO_JSON {
    my $self = shift;
    my $_data = {
 my $_key (keys %{$self->attribute_map}) {
        if (defined $self->{$_key}) {
            my $_json_attribute = $self->attribute_map->{$_key};
            my $_type = $self->openapi_types->{$_key};

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.