| <MessageCheckRemove /> | <MessageCheckRemove /> | ||||
| <div>{t('appAnnotation.editModal.removeThisCache')}</div> | <div>{t('appAnnotation.editModal.removeThisCache')}</div> | ||||
| </div> | </div> | ||||
| {createdAt && <div>{t('appAnnotation.editModal.createdAt')} {dayjs(createdAt * 1000).format('YYYY-MM-DD hh:mm')}</div>} | |||||
| {createdAt && <div>{t('appAnnotation.editModal.createdAt')} {dayjs(createdAt * 1000).format('YYYY-MM-DD HH:mm')}</div>} | |||||
| </div> | </div> | ||||
| ) | ) | ||||
| : undefined | : undefined |
| className='whitespace-nowrap overflow-hidden text-ellipsis max-w-[250px]' | className='whitespace-nowrap overflow-hidden text-ellipsis max-w-[250px]' | ||||
| title={item.answer} | title={item.answer} | ||||
| >{item.answer}</td> | >{item.answer}</td> | ||||
| <td>{dayjs(item.created_at * 1000).format('YYYY-MM-DD hh:mm')}</td> | |||||
| <td>{dayjs(item.created_at * 1000).format('YYYY-MM-DD HH:mm')}</td> | |||||
| <td>{item.hit_count}</td> | <td>{item.hit_count}</td> | ||||
| <td className='w-[96px]' onClick={e => e.stopPropagation()}> | <td className='w-[96px]' onClick={e => e.stopPropagation()}> | ||||
| {/* Actions */} | {/* Actions */} |
| >{item.response}</td> | >{item.response}</td> | ||||
| <td>{item.source}</td> | <td>{item.source}</td> | ||||
| <td>{item.score ? item.score.toFixed(2) : '-'}</td> | <td>{item.score ? item.score.toFixed(2) : '-'}</td> | ||||
| <td>{dayjs(item.created_at * 1000).format('YYYY-MM-DD hh:mm')}</td> | |||||
| <td>{dayjs(item.created_at * 1000).format('YYYY-MM-DD HH:mm')}</td> | |||||
| </tr> | </tr> | ||||
| ))} | ))} | ||||
| </tbody> | </tbody> | ||||
| <MessageCheckRemove /> | <MessageCheckRemove /> | ||||
| <div>{t('appAnnotation.editModal.removeThisCache')}</div> | <div>{t('appAnnotation.editModal.removeThisCache')}</div> | ||||
| </div> | </div> | ||||
| <div>{t('appAnnotation.editModal.createdAt')} {dayjs(createdAt * 1000).format('YYYY-MM-DD hh:mm')}</div> | |||||
| <div>{t('appAnnotation.editModal.createdAt')} {dayjs(createdAt * 1000).format('YYYY-MM-DD HH:mm')}</div> | |||||
| </div> | </div> | ||||
| ) | ) | ||||
| : undefined} | : undefined} |