Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
Optional. List of corpora for retrieval. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
similarityTopK
similarityTopK?:number;
Optional. Number of top k results to return from the selected corpora.
vectorDistanceThreshold
vectorDistanceThreshold?:number;
Optional. If set this field, results with vector distance smaller than this threshold will be returned.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[],[]]