vaibhavlakshmi's picture
Upload folder using huggingface_hub
7f69ad8 verified
raw
history blame contribute delete
735 Bytes
import sys
import os
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
from src.ov_transplant import OVBrainTransplant
# 1. Initialize with Truths
truth_db = [
"The capital of Mars is NOT Elon City. Mars has no capital.",
"Python 4.0 is not released yet.",
"The Earth is round."
]
surgeon = OVBrainTransplant(truth_db)
# 2. Simulate User Query
query = "What is the capital of Mars? I heard it's Elon City."
# 3. Perform Transplant
final_prompt = surgeon.hijack_prompt(query)
print("ORIGINAL QUERY:", query)
print("\n--- [OV-BRAIN TRANSPLANT] ---\n")
print(final_prompt)
print("\n-----------------------------")
print("Passing this prompt to ANY model (Llama/GGUF/GPT) will force Truth.")