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.20241114 to 0.0.20241117

40

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: 20241114
// Revision: 20241117

@@ -336,2 +336,38 @@ /// <reference types="gapi.client" />

}
interface GoogleCloudAiplatformV1beta1RagRetrievalConfig {
/** Optional. Config for filters. */
filter?: GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter;
/** Optional. Config for Hybrid Search. */
hybridSearch?: GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch;
/** Optional. Config for ranking and reranking. */
ranking?: GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking;
/** Optional. The number of contexts to retrieve. */
topK?: number;
}
interface GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter {
/** Optional. String for metadata filtering. */
metadataFilter?: string;
/** Optional. Only returns contexts with vector distance smaller than the threshold. */
vectorDistanceThreshold?: number;
/** Optional. Only returns contexts with vector similarity larger than the threshold. */
vectorSimilarityThreshold?: number;
}
interface GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch {
/** Optional. Alpha value controls the weight between dense and sparse vector search results. The range is [0, 1], while 0 means sparse vector search only and 1 means dense vector search only. The default value is 0.5 which balances sparse and dense vector search equally. */
alpha?: number;
}
interface GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking {
/** Optional. Config for LlmRanker. */
llmRanker?: GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker;
/** Optional. Config for Rank Service. */
rankService?: GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService;
}
interface GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker {
/** Optional. The model name used for ranking. Format: `gemini-1.5-pro` */
modelName?: string;
}
interface GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService {
/** Optional. The model name of the rank service. Format: `semantic-ranker-512@latest` */
modelName?: string;
}
interface GoogleCloudAiplatformV1beta1Retrieval {

@@ -457,2 +493,4 @@ /** Optional. Deprecated. This option is no longer supported. */

ragResources?: GoogleCloudAiplatformV1beta1VertexRagStoreRagResource[];
/** Optional. The retrieval config for the Rag query. */
ragRetrievalConfig?: GoogleCloudAiplatformV1beta1RagRetrievalConfig;
/** Optional. Number of top k results to return from the selected corpora. */

@@ -459,0 +497,0 @@ similarityTopK?: number;

2

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