Skip to content

Commit

Permalink
Remove MLFLOW_OPENAI_SECRET_SCOPE in examples/openai/pyfunc.py (m…
Browse files Browse the repository at this point in the history
…lflow#9953)

Signed-off-by: harupy <hkawamura0130@gmail.com>
  • Loading branch information
harupy authored Oct 16, 2023
1 parent 6bf16aa commit e1fdea9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/openai/pyfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
assert "OPENAI_API_KEY" in os.environ, "Please set the OPENAI_API_KEY environment variable."


# On Databricks, set the stored OpenAI API key scope here for automatically loading the API key
# for real time inference. See https://docs.databricks.com/security/secrets/index.html on
# how to add a scope and API key.
os.environ["MLFLOW_OPENAI_SECRET_SCOPE"] = "<scope-name>"

print(
"""
# ******************************************************************************
Expand Down

0 comments on commit e1fdea9

Please sign in to comment.