Skip to content

Commit 73a7915

Browse files
committed
Fix minor typos
1 parent 3811db6 commit 73a7915

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pfd_toolkit/cleaner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def clean_reports(self) -> pd.DataFrame:
248248
cleaned_df.loc[df_index, column_name] = final_text_to_write
249249

250250
if self.verbose:
251-
logger.info(f"Finished batch cleaning for '{column_name}'. {modifications_count} entr(ies) were actively modified by the LLM.")
251+
logger.info(f"Finished batch cleaning for '{column_name}'. {modifications_count} entries were actively modified by the LLM.")
252252

253253
self.cleaned_reports = cleaned_df
254254
return cleaned_df

src/pfd_toolkit/llm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class LLM:
112112
"field_description": "the matters of concern",
113113
"field_contents_and_rules": "only the matters of concern—nothing else",
114114
"extra_instructions": (
115-
"Remove reference to boiletplate text, if any occurs. This is usually 1 or 2 non-specific sentences at the start of the string often ending with '...The Matters of Concern are as follows:' (which should also be removed),"
115+
"Remove reference to boilerplate text, if any occurs. This is usually 1 or 2 non-specific sentences at the start of the string often ending with '...The Matters of Concern are as follows:' (which should also be removed),"
116116
"If the string appears to need no cleaning, return it as is."
117117
),
118118
},
@@ -128,7 +128,7 @@ def __init__(
128128
tpm_limit: Optional[int] = 40000,
129129
max_workers: Optional[int] = None
130130
):
131-
"""Create an LLM object for use within pdf_toolkit
131+
"""Create an LLM object for use within pfd_toolkit
132132
133133
Args:
134134
api_key (str): api key for whatever openai sdk llm service you are using.

0 commit comments

Comments
 (0)