Can anyone explain what the start_index and end_index are for? They don’t appear to match the index locations of the quotes from within any file (if using file_search).
In the annotation list, are they listed in chronological of where they appear in the assistant response text? Does the first entry in the annotations array correspond to the first instance in the content[0].text.value and so on?
Example:
"content": [
{
"type": "text",
"text": {
"value": "Lorem ipsum dolor sit amet?6:4+source?. Ut enim ad minim veniam?6:4+source?. Excepteur sint occaecat est laborum.?8:0+source?",
"annotations": [
{
"type": "file_citation",
"text": "?6:4+source?",
"start_index": 632,
"end_index": 694,
"file_citation": {
"file_id": "file-111111111111111111111111"
}
},
{
"type": "file_citation",
"text": "?6:4+source?",
"start_index": 1038,
"end_index": 1100,
"file_citation": {
"file_id": "file-111111111111111111111111"
}
},
{
"type": "file_citation",
"text": "?8:0+source?",
"start_index": 1283,
"end_index": 1326,
"file_citation": {
"file_id": "file-222222222222222222222222"
}
}
]
}
}
]
Thanks!