From 8af86419a6a5845fed4ff3b5aa67b4e57f950003 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 1 Sep 2023 07:41:59 -0700 Subject: [PATCH] update docs --- docs/my-website/docs/tutorials/ab_test_llms.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/my-website/docs/tutorials/ab_test_llms.md b/docs/my-website/docs/tutorials/ab_test_llms.md index 13019dde129..93125408d90 100644 --- a/docs/my-website/docs/tutorials/ab_test_llms.md +++ b/docs/my-website/docs/tutorials/ab_test_llms.md @@ -25,7 +25,8 @@ llm_dict = { ``` ### Select LLM + Make Completion call -Use weighted selection, and call the model using litellm.completion +Call the model using litellm.completion_with_split_tests, this uses the weights passed in to randomly select one of your provided models. [See implementation code](https://github.com/BerriAI/litellm/blob/9ccdbcbd6f14dd18827f59f8a1f9fd52d70443bb/litellm/utils.py#L1928) + ```python from litellm import completion_with_split_tests