-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
Hi, I'm looking to optimize an existing system prompt we already have. How can I initialize the program with my existing prompt and have GEPA start from there? I tried something like:
state = program.signature.dump_state()
state["instructions"] = STARTING_INSTRUCTIONS
program.signature.load_state(state)
but GEPA seemed to just reinitialize the instructions.
A couple other features I'm interested in (and haven't found in tutorials or documentation):
- Freezing certain parts of the prompt
- Certain frozen parts can be re-ordered (ie I have a set of in-context learning examples that I don't want to be modified but GEPA can change the order of them
shiyongde
Metadata
Metadata
Assignees
Labels
No labels