MCPcopy Create free account
hub / github.com/AkaliKong/MiniOneRec / generate_example_prompt

Method generate_example_prompt

data.py:128–133  ·  view source on GitHub ↗
(self, data_point)

Source from the content-addressed store, hash-verified

126
127
128 def generate_example_prompt(self, data_point):
129 return f"""### Example {data_point["idx"]}:
130{data_point["input"]}
131
132### Response:\n{data_point["output"]}
133"""
134
135 def get_history(self, row):
136 row['history_item_title'] = eval(row['history_item_title'])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected