IndexContextMetadata
IndexContextMetadata
Metadata of the context provided by an index as used by an agent.
JSON Example
{
"document_id": "string",
"score": "number",
"origin_name": "string",
"origin_ref": "string"
}
string As uuid
As uuid
document_id
Required
ID of the document from which the text was retrieved.
number
score
Required
Similarity score between text and query.
string
origin_name
Optional
Original name of the document (if available) from which the text was retrieved.
media_type
Optional
Media type of the document (if available) from which the text was retrieved.
string
origin_ref
Optional
Constraints:
maxLength: 256
Link to the document (if available) from which the text was retrieved.