Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TLM] Fix get_trustworthiness_score_async type check #299

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

huiwengoh
Copy link
Contributor

This code snippet was erroring out due to a bad type check:

tlm = studio.TLM() 
trustworthiness_score = await tlm.get_trustworthiness_score_async("what is 1+1", response="2")

This PR should fix that.

@huiwengoh huiwengoh requested a review from jas2600 August 27, 2024 16:54
@huiwengoh huiwengoh merged commit 5ed28d0 into main Aug 27, 2024
25 checks passed
@huiwengoh huiwengoh deleted the tlm-async-hotfix branch September 12, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants