Skip to content

Commit

Permalink
Merge pull request #92 from arjbingly/sanchitvj-patch-1
Browse files Browse the repository at this point in the history
removing main from prompt class
  • Loading branch information
arjbingly authored Apr 23, 2024
2 parents 2bc1bb8 + 263c3fa commit 9e3faca
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/grag/components/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,3 @@ def validate_examples(cls, v) -> List[Dict[str, Any]]:
if not all(key in eg for key in cls.output_keys):
raise ValueError(f"output key(s) not in example {eg}")
return v


if __name__ == "__main__":
p = Prompt.load("../prompts/Llama-2_QA_1.json")

0 comments on commit 9e3faca

Please sign in to comment.