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
1
Versions
137
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.20240404 to 0.0.20240405

34

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: 20240404
// Revision: 20240405

@@ -176,15 +176,3 @@ /// <reference types="gapi.client" />

}
interface GroundingAttribution {
/** Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. */
confidenceScore?: number;
/** Optional. Attribution from context retrieved by the retrieval tools. */
retrievedContext?: RetrievedContext;
/** Output only. Segment of the content this attribution belongs to. */
segment?: Segment;
/** Optional. Attribution from the web. */
web?: Web;
}
interface GroundingMetadata {
/** Optional. List of grounding attributions. */
groundingAttributions?: GroundingAttribution[];
/** Optional. Queries executed by the retrieval tools. */

@@ -230,8 +218,2 @@ retrievalQueries?: string[];

}
interface RetrievedContext {
/** Output only. Title of the attribution. */
title?: string;
/** Output only. URI reference of the attribution. */
uri?: string;
}
interface SafetyRating {

@@ -301,10 +283,2 @@ /** Output only. Indicates whether the content was filtered out because of this rating. */

}
interface Segment {
/** Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero. */
endIndex?: number;
/** Output only. The index of a Part object within its parent Content object. */
partIndex?: number;
/** Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero. */
startIndex?: number;
}
interface Tool {

@@ -345,8 +319,2 @@ /** 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. */

}
interface Web {
/** Output only. Title of the attribution. */
title?: string;
/** Output only. URI reference of the attribution. */
uri?: string;
}
interface ModelsResource {

@@ -353,0 +321,0 @@ /** Perform a token counting. */

2

package.json
{
"name": "@maxim_mazurok/gapi.client.firebaseml-v2beta",
"version": "0.0.20240404",
"version": "0.0.20240405",
"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