Отключение SSL Верификации #30
-
Получаю ошибку ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007) from langchain.chat_models.gigachat import GigaChat qa = ConversationalRetrievalChain.from_llm(giga, retriever=retriever) questions = [ for question in questions: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Достаточно добавить в конструктор GigaChat параметр verify_ssl_certs=False |
Beta Was this translation helpful? Give feedback.
-
@Falconwatch а можете подсказать где вы credentials брали. |
Beta Was this translation helpful? Give feedback.
Достаточно добавить в конструктор GigaChat параметр verify_ssl_certs=False
giga = GigaChat(profanity=False,
ssl_verify=False,
verify_ssl_certs=False,
credentials=...)