{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/RetrievalExtract",
"title": "RetrievalExtract",
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The relevant text extract from the document.",
"example": "example_value"
},
"relevanceScore": {
"type": "number",
"format": "double",
"minimum": 0,
"maximum": 1,
"description": "Cosine similarity between the queryString and the extract, normalized to the 0-1 range. May be absent for Copilot connectors results.",
"example": 42.5
}
}
}