Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@maxim_mazurok/gapi.client.firebaseml-v2beta

Package Overview
Dependencies
Maintainers
0
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxim_mazurok/gapi.client.firebaseml-v2beta - npm Package Compare versions

Comparing version 0.0.20240910 to 0.0.20240911

30

index.d.ts

@@ -12,3 +12,3 @@ /* Type definitions for non-npm package Firebase ML API v2beta 0.0 */

// Generated from: https://firebaseml.googleapis.com/$discovery/rest?version=v2beta
// Revision: 20240910
// Revision: 20240911

@@ -61,2 +61,4 @@ /// <reference types="gapi.client" />

index?: number;
/** Output only. Log-likelihood scores for the response tokens and top tokens */
logprobsResult?: GoogleCloudAiplatformV1beta1LogprobsResult;
/** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */

@@ -164,2 +166,4 @@ safetyRatings?: GoogleCloudAiplatformV1beta1SafetyRating[];

candidates?: GoogleCloudAiplatformV1beta1Candidate[];
/** Output only. The model version used to generate the response. */
modelVersion?: string;
/** Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations. */

@@ -193,2 +197,4 @@ promptFeedback?: GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback;

frequencyPenalty?: number;
/** Optional. Logit probabilities. */
logprobs?: number;
/** Optional. The maximum number of output tokens to generate per message. */

@@ -198,2 +204,4 @@ maxOutputTokens?: number;

presencePenalty?: number;
/** Optional. If true, export the logprobs results in response. */
responseLogprobs?: boolean;
/** Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */

@@ -269,2 +277,20 @@ responseMimeType?: string;

}
interface GoogleCloudAiplatformV1beta1LogprobsResult {
/** Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates. */
chosenCandidates?: GoogleCloudAiplatformV1beta1LogprobsResultCandidate[];
/** Length = total number of decoding steps. */
topCandidates?: GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates[];
}
interface GoogleCloudAiplatformV1beta1LogprobsResultCandidate {
/** The candidate's log probability. */
logProbability?: number;
/** The candidate’s token string value. */
token?: string;
/** The candidate’s token id value. */
tokenId?: number;
}
interface GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates {
/** Sorted by log probability in descending order. */
candidates?: GoogleCloudAiplatformV1beta1LogprobsResultCandidate[];
}
interface GoogleCloudAiplatformV1beta1Part {

@@ -375,3 +401,3 @@ /** Optional. URI based data. */

interface GoogleCloudAiplatformV1beta1Tool {
/** Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 64 function declarations can be provided. */
/** Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided. */
functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];

@@ -378,0 +404,0 @@ /** Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search. */

2

package.json
{
"name": "@maxim_mazurok/gapi.client.firebaseml-v2beta",
"version": "0.0.20240910",
"version": "0.0.20240911",
"description": "TypeScript typings for Firebase ML API v2beta",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc