(subject)
| 47 | |
| 48 | def generate_few_shot_prompt(k, subject, dev_df): |
| 49 | def format_subject(subject): |
| 50 | l = subject.split("_") |
| 51 | s = "" |
| 52 | for entry in l: |
| 53 | s += " " + entry |
| 54 | return s.strip() |
| 55 | |
| 56 | prompt = "The following are multiple choice questions (with answers) about {}.\n\n".format( |
| 57 | format_subject(subject) |
no outgoing calls
no test coverage detected