Skip to content

Commit

Permalink
removing main from prompt class
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchitvj authored Apr 23, 2024
1 parent b356186 commit 263c3fa
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 263c3fa

Please sign in to comment.