§
    æ˜ºh¯  ã                   óR   — d dl mZ d dlmZ ddlmZ ddlmZ  G d„ de¦  «        ZdS )	é    )ÚDataset)ÚListé   )ÚSentenceTransformer)ÚInputExamplec                   ó:   — e Zd ZdZdee         defd„Zd„ Zd„ Z	dS )ÚSentencesDatasetzê
    DEPRECATED: This class is no longer used. Instead of wrapping your List of InputExamples in a SentencesDataset
    and then passing it to the DataLoader, you can pass the list of InputExamples directly to the dataset loader.
    ÚexamplesÚmodelc                 ó   — || _         d S ©N©r
   )Úselfr
   r   s      úw/var/www/html/services/rag-service/venv/lib/python3.11/site-packages/sentence_transformers/datasets/SentencesDataset.pyÚ__init__zSentencesDataset.__init__   s   € Ø ˆŒˆˆó    c                 ó   — | j         |         S r   r   )r   Úitems     r   Ú__getitem__zSentencesDataset.__getitem__   s   € ØŒ}˜TÔ"Ð"r   c                 ó*   — t          | j        ¦  «        S r   )Úlenr
   )r   s    r   Ú__len__zSentencesDataset.__len__   s   € Ý�4”=Ñ!Ô!Ð!r   N)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   © r   r   r	   r	      sd   € € € € € ðð ð
!  lÔ!3ð !Ð<Oð !ð !ð !ð !ð#ð #ð #ð"ð "ð "ð "ð "r   r	   N)	Útorch.utils.datar   Útypingr   Ú r   Úreaders.InputExampler   r	   r   r   r   ú<module>r"      s�   ðØ $Ð $Ð $Ð $Ð $Ð $Ø Ð Ð Ð Ð Ð Ø "Ð "Ð "Ð "Ð "Ð "Ø /Ð /Ð /Ð /Ð /Ð /ð"ð "ð "ð "ð "�wñ "ô "ð "ð "ð "r   