-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
Gathering questions about assertions and suggestions from different users.
This will be most relevant for @Shangyint @manishshettym @arnavsinghvi11.
-
What's changing between different versions? What will be the final stable API for everything below?
-
Do users need to manually set
trace=[]. Can this be automated? -
Does
dspy.Assertretry? If not, shouldn't it? -
What happens if I don't set
target_module? Does it directly re-run the last module? What's confusing people here currently. -
Is it true that you can't really pass a module to the target_module , it must be it's signature?
-
I saved my compiled program with assertions. When I load it (like code below), I get
DSPySuggestionError.
loaded_compiled_module = MyModuleWithAssertions()
loaded_compiled_module.load(path="compiled_mods_assertions/BootstrapFewShotWithRandomSearch_With_Assertions.json")
# MyModuleWithAssertions embeds dspy.Suggest
module_with_assertions = assert_transform_module(MyModuleWithAssertions().map_named_predictors(Retry), backtrack_handler) CShorten, neoxelox, younes-io and thomasahle
Metadata
Metadata
Assignees
Labels
No labels