Skip to content

Commit 7b325ad

Browse files
authored
Fix typo in comment in dspy/teleprompt/bettertogether.py (#8236)
* Fix typo in comment * Fix typo in two_step_adapter docstring
1 parent 1eb5c8a commit 7b325ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dspy/adapters/two_step_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from dspy.signatures.signature import Signature, make_signature
99

1010
"""
11-
NOTE/TODO/FIMXE:
11+
NOTE/TODO/FIXME:
1212
1313
The main issue below is that the second step's signature is entirely created on the fly and is invoked with a chat
1414
adapter explicitly constructed with no demonstrations. This means that it cannot "learn" or get optimized.

dspy/teleprompt/bettertogether.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def _compile_prompt_optimizer(self, student, trainset, valset_ratio) -> Program:
139139
# predictor.lm attributes. In particular,
140140
# BootstrapFewShotWithRandomSearch seems to be resetting these. We are
141141
# manually re-setting the LMs here to circumvent this issue, but we
142-
# should consider adressing it in BFRS.
142+
# should consider addressing it in BFRS.
143143
logger.info("Compiling the prompt optimizer...")
144144
pred_lms = [pred.lm for pred in student.predictors()]
145145
student = self.prompt_optimizer.compile(student, trainset=prompt_trainset, valset=prompt_valset)

0 commit comments

Comments
 (0)