Skip to content

Commit

Permalink
made suggested change in chat completion response output
Browse files Browse the repository at this point in the history
  • Loading branch information
hgandhi2411 committed Dec 7, 2023
1 parent 558393b commit 89924f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exmol/exmol.py
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ def text_explain_generate(
model=llm_model, messages=messages, temperature=0.05
)

return response.choices[0].message["content"]
return response.choices[0].message.content


def text_explain(
Expand Down

0 comments on commit 89924f4

Please sign in to comment.