WWW::Gemini
sub gemini-generation
sub gemini-generation(
|
) returns Mu
Gemini chat and text completions access. C<:type> -- type of text generation, one of 'chat', 'text', or Whatever; C<:model> -- LLM model to use. C<*%args> -- additional arguments, see C and C.
sub gemini-generate-content
sub gemini-generate-content(
|
) returns Mu
Gemini chat completions access. C<role> -- role; no more two authors per chat; C<:temperature> -- number between 0 and 1; C<:top-k> -- top-K top tokens to use; C<:n(auth-key)> -- authorization key (API key); C<:format> -- format to use in answers post processing, one of ); C<:base-url> -- base URL for WWW API server.
sub gemini-embed-content
sub gemini-embed-content(
|
) returns Mu
Gemini embeddings access.
sub gemini-models
sub gemini-models(
|
) returns Mu
Gemini models access.
sub gemini-prompt
sub gemini-prompt(
$text is copy = "",
Str :$path = "generateText",
:api-key(:$auth-key) is copy = Whatever,
Int :$timeout where { ... } = 10,
:$format is copy = Whatever,
Str :$method = "tiny",
*%args
) returns Mu
Gemini utilization for finding textual answers. Gemini maker-suite access. C<:path> -- end point path; C<:api-key(:format> -- format to use in answers post processing, one of ); C<:$method> -- method to WWW API call with, one of , C<*%args> -- additional arguments, see C and C.
multi sub gemini-prompt
multi sub gemini-prompt(
*%args
) returns Mu
Gemini maker-suite access.
multi sub gemini-prompt
multi sub gemini-prompt(
@texts,
*%args
) returns Mu
Gemini maker-suite access.
multi sub gemini-prompt
multi sub gemini-prompt(
$text is copy,
Str :path(:$generation-method) = "generateContent",
:api-key(:$auth-key) is copy = Whatever,
Int :$timeout where { ... } = 10,
:$format is copy = Whatever,
Str :$method = "tiny",
*%args
) returns Mu
Gemini maker-suite access.