Skip to content

Commit

Permalink
Removed prints
Browse files Browse the repository at this point in the history
  • Loading branch information
whitead committed Dec 11, 2024
1 parent 9547134 commit d7ef73a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/aviary/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,13 @@ async def extract_answer_llm(
proposed_answer=proposed,
)

print("prompt", prompt)
response = await acompletion(
model=config["model"],
temperature=config["temperature"],
messages=[{"content": prompt, "role": "user"}],
)

extracted = response.choices[0].message.content.strip()
print("here it is", extracted)
for option in options:
if extracted.casefold() == option.casefold().strip():
return option
Expand Down

0 comments on commit d7ef73a

Please sign in to comment.