We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 351945a commit b421178Copy full SHA for b421178
src/ether0/model_prompts.py
@@ -118,6 +118,14 @@ def extract_thought_answer_strict(
118
return None, None # Consider nested answer as a failure
119
120
121
+LOOSE_XML_ANSWER_USER_PROMPT = (
122
+ "When answering,"
123
+ " be sure to place the final answer as"
124
+ " SMILES notation into XML tags <answer></answer>."
125
+ " An example is <answer>CCO</answer>."
126
+)
127
+
128
129
def extract_answer_loose(text: str | None) -> str:
130
"""
131
Extract thought and answer from text using a loose XML pattern.
0 commit comments