@maxim_mazurok/gapi.client.firebaseml-v2beta
Advanced tools
Comparing version 0.0.20241114 to 0.0.20241117
@@ -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; |
{ | ||
"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": { |
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
44519
706