@maxim_mazurok/gapi.client.firebaseml-v2beta
Advanced tools
Comparing version 0.0.20240923 to 0.0.20240925
@@ -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: 20240923 | ||
// Revision: 20240925 | ||
@@ -110,2 +110,8 @@ /// <reference types="gapi.client" /> | ||
} | ||
interface GoogleCloudAiplatformV1beta1DynamicRetrievalConfig { | ||
/** Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used. */ | ||
dynamicThreshold?: number; | ||
/** The mode of the predictor to be used in dynamic retrieval. */ | ||
mode?: string; | ||
} | ||
interface GoogleCloudAiplatformV1beta1FileData { | ||
@@ -235,3 +241,6 @@ /** Required. URI. */ | ||
} | ||
interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {} | ||
interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval { | ||
/** Specifies the dynamic retrieval configuration for the given source. */ | ||
dynamicRetrievalConfig?: GoogleCloudAiplatformV1beta1DynamicRetrievalConfig; | ||
} | ||
interface GoogleCloudAiplatformV1beta1GroundingChunk { | ||
@@ -260,2 +269,4 @@ /** Grounding chunk from context retrieved by the retrieval tools. */ | ||
groundingSupports?: GoogleCloudAiplatformV1beta1GroundingSupport[]; | ||
/** Optional. Output only. Retrieval metadata. */ | ||
retrievalMetadata?: GoogleCloudAiplatformV1beta1RetrievalMetadata; | ||
/** Optional. Queries executed by the retrieval tools. */ | ||
@@ -285,5 +296,5 @@ retrievalQueries?: string[]; | ||
logProbability?: number; | ||
/** The candidate’s token string value. */ | ||
/** The candidate's token string value. */ | ||
token?: string; | ||
/** The candidate’s token id value. */ | ||
/** The candidate's token id value. */ | ||
tokenId?: number; | ||
@@ -317,2 +328,6 @@ } | ||
} | ||
interface GoogleCloudAiplatformV1beta1RetrievalMetadata { | ||
/** Optional. Score indicating how likely information from google search could help answer the prompt. The score is in the range [0, 1], where 0 is the least likely and 1 is the most likely. This score is only populated when google search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger google search. */ | ||
googleSearchDynamicRetrievalScore?: number; | ||
} | ||
interface GoogleCloudAiplatformV1beta1SafetyRating { | ||
@@ -406,3 +421,3 @@ /** Output only. Indicates whether the content was filtered out because of this rating. */ | ||
/** Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search. */ | ||
googleSearchRetrieval?: any; | ||
googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval; | ||
/** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */ | ||
@@ -409,0 +424,0 @@ retrieval?: GoogleCloudAiplatformV1beta1Retrieval; |
{ | ||
"name": "@maxim_mazurok/gapi.client.firebaseml-v2beta", | ||
"version": "0.0.20240923", | ||
"version": "0.0.20240925", | ||
"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
40978
645