o
    sÒh²  ã                   @   s"   d dl mZmZ G dd„ dƒZdS )é    )ÚListÚUnionc                	   @   s<   e Zd ZdZddedee deeef fdd	„Z	d
d„ Z
dS )ÚInputExamplezEStructure for one input example with texts, the label and a unique idÚ Nr   ÚguidÚtextsÚlabelc                 C   s   || _ || _|| _dS )zÞ
        Creates one InputExample with the given texts, guid and label

        Args:
            guid: id for the example
            texts: the texts for the example.
            label: the label for the example
        N)r   r   r   )Úselfr   r   r   © r
   úh/var/www/html/alpaca_bot/venv/lib/python3.10/site-packages/sentence_transformers/readers/InputExample.pyÚ__init__   s   	
zInputExample.__init__c                 C   s   d  t| jƒd | j¡¡S )Nz#<InputExample> label: {}, texts: {}z; )ÚformatÚstrr   Újoinr   )r	   r
   r
   r   Ú__str__   s   zInputExample.__str__)r   Nr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   ÚintÚfloatr   r   r
   r
   r
   r   r      s    $r   N)Útypingr   r   r   r
   r
   r
   r   Ú<module>   s    