You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/api/optimizers/GEPA.md
+25-26Lines changed: 25 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ gepa = dspy.GEPA(
147
147
148
148
We invite community contributions of new instruction proposers for specialized domains as the [GEPA library](https://github.com/gepa-ai/gepa) continues to grow.
149
149
150
-
### How to Implement Custom Proposer
150
+
### How to Implement Custom Instruction Proposers
151
151
152
152
Custom instruction proposers must implement the `ProposalFn` protocol:
153
153
@@ -167,7 +167,7 @@ def __call__(
167
167
-`ReflectiveExample` TypedDict contains:
168
168
-`Inputs: dict[str, Any]` - Predictor inputs (may include dspy.Image objects)
@@ -243,7 +243,7 @@ class GenerateDocumentationQuery(dspy.Signature):
243
243
244
244
failure_patterns: str= dspy.OutputField(desc="Summarize the common failure patterns identified in the examples")
245
245
246
-
retrieval_queries: list[str] = dspy.OutputField(desc="Specific search query to find relevant documentation in the database that addresses the common issue patterns identified in the problematic examples")
246
+
retrieval_queries: list[str] = dspy.OutputField(desc="Specific search queries to find relevant documentation in the database that addresses the common issue patterns identified in the problematic examples")
0 commit comments