Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Mueller <[email protected]>
  • Loading branch information
huiwengoh and jwmueller authored Apr 16, 2024
1 parent 9768562 commit 75e2b8f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cleanlab_studio/studio/trustworthy_language_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ async def prompt_async(
This method is similar to the [`prompt()`](#method-prompt) method but operates asynchronously,
allowing for non-blocking concurrent operations.
Use this method if the prompts are streaming in one at a time, and you want to returs the results
for each input as quickly as possible, without the execution of any one TLM prompt blocking the execution of other TLM prompts.
Note that asynchronous methods do not block until completion, so you will need to fetch the results yourself later.
Use this method if prompts are streaming in one at a time, and you want to return results
for each one as quickly as possible, without the TLM execution of any one prompt blocking the execution of the others.
Asynchronous methods do not block until completion, so you will need to fetch the results yourself.
Args:
prompt (str | Sequence[str]): prompt (or list of multiple prompts) for the TLM
Expand Down Expand Up @@ -460,9 +460,9 @@ async def get_trustworthiness_score_async(
This method is similar to the [`get_trustworthiness_score()`](#method-get_trustworthiness_score) method but operates asynchronously,
allowing for non-blocking concurrent operations.
Use this method if the prompts-response pairs are streaming in one at a time, and you want to returs the results
for each input as quickly as possible, without the execution of any one TLM call blocking the execution of other TLM calls.
Note that asynchronous methods do not block until completion, so you will need to fetch the results yourself later.
Use this method if prompt-response pairs are streaming in, and you want to return TLM scores
for each pair as quickly as possible, without the TLM scoring of any one pair blocking the scoring of the others.
Asynchronous methods do not block until completion, so you will need to fetch the results yourself.
Args:
prompt (str | Sequence[str]): prompt (or list of prompts) for the TLM to evaluate
Expand Down

0 comments on commit 75e2b8f

Please sign in to comment.