Try Gemini 1.5 Pro , our most advanced multimodal model in Vertex AI, and see what you can build with a 1M token context window.
Try Gemini 1.5 Pro , our most advanced multimodal model in Vertex AI, and see what you can build with a 1M token context window.
Send feedback
REST Resource: projects.locations.corpora.searchHypernyms
Stay organized with collections
Save and categorize content based on your preferences.
Resource: SearchHypernym
Search resource: SearchHypernym. For example, { hypernym: "vehicle" hyponyms: ["sedan", "truck"] } This means in SMART_SEARCH mode, searching for "vehicle" will also return results with "sedan" or "truck" as annotations.
JSON representation
{
"name" : string ,
"hypernym" : string ,
"hyponyms" : [
string
]
}
Fields
name
string
Resource name of the SearchHypernym. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{searchHypernym}
hypernym
string
The hypernym.
hyponyms[]
string
Hyponyms that the hypernym is mapped to.
Methods
Creates a SearchHypernym inside a corpus.
Deletes a SearchHypernym inside a corpus.
Gets a SearchHypernym inside a corpus.
Lists SearchHypernyms inside a corpus.
Updates a SearchHypernym inside a corpus.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-11-15 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?