Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
s-jse committed May 22, 2024
1 parent 9708f2a commit 189344e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions chainlite/llm_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ def load_config_from_file(config_file: str):
config = yaml.unsafe_load(config_file)

prompt_dirs = config.get("prompt_dirs", ["./"])
prompt_log_file = config.get("promp_logging", {}).get(
prompt_log_file = config.get("prompt_logging", {}).get(
"log_file", "./prompt_logs.jsonl"
)
prompts_to_skip_for_debugging = set(
config.get("promp_logging", {}).get("prompts_to_skip", [])
config.get("prompt_logging", {}).get("prompts_to_skip", [])
)

litellm.set_verbose = config.get("litellm_set_verbose", False)
Expand Down
6 changes: 3 additions & 3 deletions chainlite/llm_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def write_prompt_logs_to_file(log_file: Optional[str] = None):
"input",
"output",
] # specifies the sort order of keys in the output, for a better viewing experience
}
),
ensure_ascii=False,
},
ensure_ascii=False,
)
)
f.write("\n")

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="chainlite",
version="0.1.1",
version="0.1.3",
author="Sina Semnani",
author_email="[email protected]",
description="A Python package that uses LangChain and LiteLLM to call large language model APIs easily",
Expand Down

0 comments on commit 189344e

Please sign in to comment.