baconnier commited on
Commit
d528278
·
verified ·
1 Parent(s): 165d4a2

Update prompt_refiner.py

Browse files
Files changed (1) hide show
  1. prompt_refiner.py +2 -2
prompt_refiner.py CHANGED
@@ -15,7 +15,7 @@ class PromptRefiner:
15
  meta_prompt_choice,
16
  self.meta_prompts["star"] # Default to "star" if choice not found
17
  )
18
- print(selected_meta_prompt)
19
  messages = [
20
  {
21
  "role": "system",
@@ -26,7 +26,7 @@ class PromptRefiner:
26
  "content": selected_meta_prompt["template"].replace("[Insert initial prompt here]", prompt)
27
  }
28
  ]
29
- print(messagesmessages)
30
  response = self.client.chat_completion(
31
  model=prompt_refiner_model,
32
  messages=messages,
 
15
  meta_prompt_choice,
16
  self.meta_prompts["star"] # Default to "star" if choice not found
17
  )
18
+ #print(selected_meta_prompt)
19
  messages = [
20
  {
21
  "role": "system",
 
26
  "content": selected_meta_prompt["template"].replace("[Insert initial prompt here]", prompt)
27
  }
28
  ]
29
+ print(messages)
30
  response = self.client.chat_completion(
31
  model=prompt_refiner_model,
32
  messages=messages,