Skip to content

Commit

Permalink
Clean retreivethenread.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jeannotdamoiseaux committed Nov 19, 2024
1 parent eda6292 commit e25468c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/backend/approaches/retrievethenread.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,8 @@ def _initialize_templates(self):
self.env = Environment(loader=FileSystemLoader('approaches/prompts/ask'))
self.system_chat_template = self.env.get_template('system_message.jinja').render()
json_content = self.env.loader.get_source(self.env, 'few_shots.json')[0]
print(f"HOOOOI2: {json_content}")
self.few_shots = json.loads(json_content)

# self.few_shots = self._process_few_shots()

async def run(
self,
messages: list[ChatCompletionMessageParam],
Expand Down

0 comments on commit e25468c

Please sign in to comment.