Skip to content

Commit

Permalink
Fix openai.yaml example (#8282)
Browse files Browse the repository at this point in the history
Signed-off-by: harupy <hkawamura0130@gmail.com>
  • Loading branch information
harupy committed Apr 20, 2023
1 parent 07af200 commit 6a0157e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mlflow/openai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
.. code-block:: yaml
OPENAI_API_BASE: test:openai_api_base
OPENAI_API_KEY: test:openai_api_key
OPENAI_API_KEY_PATH: test:openai_api_key_path
OPENAI_API_TYPE: test:openai_api_type
OPENAI_ORGANIZATION: test:openai_organization
OPENAI_API_BASE: {scope}:openai_api_base
OPENAI_API_KEY: {scope}:openai_api_key
OPENAI_API_KEY_PATH: {scope}:openai_api_key_path
OPENAI_API_TYPE: {scope}:openai_api_type
OPENAI_ORGANIZATION: {scope}:openai_organization
- ``{scope}`` is the value of the ``MLFLOW_OPENAI_SECRET_SCOPE`` environment variable.
- The keys are the environment variables that the ``openai-python`` package uses to
Expand Down

0 comments on commit 6a0157e

Please sign in to comment.