Team Ai
Apppublic

Arvind2006/jenkins-error-explainer

sourceHugging Faceupdated 7mo agoView on Hugging Face
1likes
retrieve_docs.cpython-313.pyc16 linesDownload Raw Back to __pycache__
1�

2��ci����SSKrSSKrSSKrSSKJr SrSrSrSSSS	S3SSS
.r	\"SSS9r4S\4Sjr\
S:Xa\"S5r\Hr\"\5 M
 gg)�N)�SentenceTransformerzdata/docs/docs.indexzdata/docs/docs_meta.json�z2Jenkins pipeline Groovy syntax error missing bracez1Jenkins pipeline agent none requires node contextz/Jenkins no nodes with label scheduling executorz(Jenkins No such DSL method pipeline stepz&Jenkins credentials not found pipelinez)Jenkins pipeline workspace file not foundz*Jenkins git authentication failed checkout)�groovy_syntax_error�
missing_agent�no_node_available�missing_plugin�missing_credentials�file_not_found�git_authentication_errorzparaphrase-MiniLM-L3-v2z
./model_cache)�cache_folder�error_categoryc��[R"[5n[[SSS9n[5R"U5nSSS5 [RUS5n[RU/5nURU[5upg/nUSHn	URSWU	S.5 M U$!,(df   Ny=f)N�rzutf-8)�encodingzJenkins pipeline errorr)�text�meta)�faiss�6read_index�7INDEX_PATH�open�	META_PATH�json�load�QUERY_TEMPLATES�get�model�encode�search�TOP_K�append)8r
�index�f�metadata�query�query_embedding�	distances�indices�results�idxs9          �\C:\Users\Arvind Nandigam\Documents\Personal project\jenkins-error-explainer\retrieve_docs.py�
retrieve_docsr+s������Z�(�E�	
�i��w�	/�1��9�9�Q�<��100�
���� �
�E�11�l�l�E�7�+�O����o�u�=��I��G��q�z�������S�M�12�	���N�%130�	/�s�B4�414C�__main__z�Started by user Arvind Nandigam org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 10: expecting '}', found '' @ line 10, column 1.1 error)rr�numpy�np�sentence_transformersrrrrrr�strr+�__name__r(r�print��r*�<module>r5s������5�
#�15�&�	�	��P�H�J�@�C�A� L���	�� �	��16�#��0�z���V�W�G�
��
�a���r4