{
"name": "PassageV3",
"structure": {
"type": "object",
"required": [
"text",
"relevanceScore",
"document"
],
"properties": {
"text": {
"type": "string",
"description": "The text associated to this passage."
},
"relevanceScore": {
"type": "number",
"format": "float",
"description": "A score that indicates the relevance of a passage.\n\nThe score computation is based on cosine similarity between the passage and the query.\nThe computation logic and value range may change in the future.\n\nExample values:\n- A value of -1 (minimum) indicates that the passage is the semantic opposite of the query.\n- A value of 0 indicates that the passage is not semantically similar to the query.\n- A value of 1 (maximum) indicates that the passage is semantically similar to the query.\n"
},
"document": {
"type": "object",
"required": [
"title",
"primaryid"
],
"properties": {
"title": {
"type": "string"
},
"primaryid": {
"type": "string",
"description": "The primary identifier of the document.\n"
}
}
}
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.