interview-coach / interview_logic.py
botcampusai's picture
add the code to capture response
689e672 verified
Raw History Blame Contribute Delete
176 Bytes
from local_models import run_model
def generate_response(job_role, model_choice, question):
prompt = f"[{job_role}] {question}"
return run_model(model_choice, prompt)