RerankScore interface
注意
此 API 處於搶鮮版 (Beta) 階段,供開發人員預覽,而且可能會根據收到的意見反應而變更。 請勿將此 API 用於生產環境。
代表在語意重新排序操作後,文件所獲得的分數。
屬性
| document | 被重新排序的文件內容。 如果 |
| index | 在重新排序前,文件在輸入清單中的原始索引。 |
| score | 文件重新排序後分配的相關性分數。 |
屬性詳細資料
document
被重新排序的文件內容。 如果 return_documents 為假,則為空字串。
document: string
屬性值
string
index
在重新排序前,文件在輸入清單中的原始索引。
index: number
屬性值
number
score
文件重新排序後分配的相關性分數。
score: number
屬性值
number