Added another set of iterations
This commit is contained in:
@@ -50,9 +50,10 @@ class FinetuneDatasetCreator:
|
||||
root = tree.getroot()
|
||||
|
||||
# Verify hashes
|
||||
if (root.get('system_prompt_hash') != self.system_prompt_hash or
|
||||
root.get('action_schema_hash') != self.action_schema_hash):
|
||||
print(f"Hash mismatch in {file_path}")
|
||||
if root.get('system_prompt_hash') != self.system_prompt_hash:
|
||||
print(f"System prompt hash mismatch in {file_path}")
|
||||
if root.get('action_schema_hash') != self.action_schema_hash:
|
||||
print(f"Action schema hash mismatch in {file_path}")
|
||||
|
||||
# Get context and response
|
||||
context = root.find('context').text
|
||||
|
||||
Reference in New Issue
Block a user