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
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.20240613 to 0.0.20240614

66

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: 20240613
// Revision: 20240614

@@ -196,3 +196,49 @@ /// <reference types="gapi.client" />

interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {}
interface GoogleCloudAiplatformV1beta1GroundingAttribution {
/** 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?: GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext;
/** Output only. Segment of the content this attribution belongs to. */
segment?: GoogleCloudAiplatformV1beta1Segment;
/** Optional. Attribution from the web. */
web?: GoogleCloudAiplatformV1beta1GroundingAttributionWeb;
}
interface GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext {
/** Output only. Title of the attribution. */
title?: string;
/** Output only. URI reference of the attribution. */
uri?: string;
}
interface GoogleCloudAiplatformV1beta1GroundingAttributionWeb {
/** Output only. Title of the attribution. */
title?: string;
/** Output only. URI reference of the attribution. */
uri?: string;
}
interface GoogleCloudAiplatformV1beta1GroundingChunk {
/** Grounding chunk from context retrieved by the retrieval tools. */
retrievedContext?: GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext;
/** Grounding chunk from the web. */
web?: GoogleCloudAiplatformV1beta1GroundingChunkWeb;
}
interface GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext {
/** Title of the attribution. */
title?: string;
/** URI reference of the attribution. */
uri?: string;
}
interface GoogleCloudAiplatformV1beta1GroundingChunkWeb {
/** Title of the chunk. */
title?: string;
/** URI reference of the chunk. */
uri?: string;
}
interface GoogleCloudAiplatformV1beta1GroundingMetadata {
/** Optional. List of grounding attributions. */
groundingAttributions?: GoogleCloudAiplatformV1beta1GroundingAttribution[];
/** List of supporting references retrieved from specified grounding source. */
groundingChunks?: GoogleCloudAiplatformV1beta1GroundingChunk[];
/** Optional. List of grounding support. */
groundingSupports?: GoogleCloudAiplatformV1beta1GroundingSupport[];
/** Optional. Queries executed by the retrieval tools. */

@@ -205,2 +251,10 @@ retrievalQueries?: string[];

}
interface GoogleCloudAiplatformV1beta1GroundingSupport {
/** Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This list must have the same size as the grounding_chunk_indices. */
confidenceScores?: number[];
/** A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim. */
groundingChunkIndices?: number[];
/** Segment of the content this support belongs to. */
segment?: GoogleCloudAiplatformV1beta1Segment;
}
interface GoogleCloudAiplatformV1beta1Part {

@@ -298,2 +352,12 @@ /** Optional. URI based data. */

}
interface GoogleCloudAiplatformV1beta1Segment {
/** 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;
/** Output only. The text corresponding to the segment from the response. */
text?: string;
}
interface GoogleCloudAiplatformV1beta1Tool {

@@ -300,0 +364,0 @@ /** 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. */

2

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