eagle0504 commited on
Commit
ced194f
1 Parent(s): 28e97a7

Update helper.py

Browse files
Files changed (1) hide show
  1. helper.py +1 -1
helper.py CHANGED
@@ -84,7 +84,7 @@ class ChatGPTClient:
84
  self.body = body
85
  self.history: List[Dict[str, str]] = [
86
  {"role": "system", "content": self.protocol},
87
- {"role": "user", "content": f"The content provided: {self.body}"}
88
  ]
89
 
90
  def append_message(self, role: str, content: str) -> None:
 
84
  self.body = body
85
  self.history: List[Dict[str, str]] = [
86
  {"role": "system", "content": self.protocol},
87
+ {"role": "user", "content": f"""The content provided is from Optical Characters Recognition. Here it is: \n{self.body}"""}
88
  ]
89
 
90
  def append_message(self, role: str, content: str) -> None: