@maxim_mazurok/gapi.client.firebaseml-v2beta
Advanced tools
Comparing version 0.0.20240404 to 0.0.20240405
@@ -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. */ |
{ | ||
"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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28808
502