Update elasticdocs_gpt.py

Added little exceptions not handled warning
This commit is contained in:
Jeff Vestal
2023-04-19 13:19:57 -05:00
committed by GitHub
parent d6db6ebc18
commit 4c32f30e94

View File

@@ -7,6 +7,9 @@ from elasticsearch import Elasticsearch
# Elasticsearch's search relevancy power with # Elasticsearch's search relevancy power with
# OpenAI's GPT's Question Answering power # OpenAI's GPT's Question Answering power
# Code is presented for demo purposes but should not be used in production
# You may encounter exceptions which are not handled in the code
# Required Environment Variables # Required Environment Variables
# openai_api - OpenAI API Key # openai_api - OpenAI API Key