Fix misleading comment about HuggingFace (#284)

This commit is contained in:
Yuhong Sun 2023-08-12 17:40:03 -07:00 committed by GitHub
parent 156ccc15a8
commit bcca8daab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ INTERNAL_MODEL_VERSION = os.environ.get(
# If the Generative AI model requires an API key for access, otherwise can leave blank
GEN_AI_API_KEY = os.environ.get("GEN_AI_API_KEY", "")
# If using GPT4All or OpenAI, specify the model version
# If using GPT4All, HuggingFace Inference API, or OpenAI - specify the model version
GEN_AI_MODEL_VERSION = os.environ.get(
"GEN_AI_MODEL_VERSION",
VERIFIED_MODELS.get(DanswerGenAIModel(INTERNAL_MODEL_VERSION), [""])[0],