Skip to content

Commit

Permalink
Disable cache in production and staging configs
Browse files Browse the repository at this point in the history
  • Loading branch information
htahir1 committed Nov 12, 2024
1 parent f007831 commit 499a7b1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion llm-complete-guide/configs/production/rag.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
enable_cache: True
enable_cache: False

# environment configuration
settings:
Expand Down
2 changes: 1 addition & 1 deletion llm-complete-guide/configs/staging/embeddings.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# enable_cache: False
enable_cache: False

# environment configuration
settings:
Expand Down
2 changes: 0 additions & 2 deletions llm-complete-guide/gh_action_rag.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ def main(
zenml_model_name (str): The ZenML model name.
zenml_model_version (str): The ZenML model version.
"""
pipeline_args = {"enable_cache": not no_cache}

client = Client()
config_path = Path(__file__).parent / "configs" / config

Expand Down

0 comments on commit 499a7b1

Please sign in to comment.