forked from phoenix/litellm-mirror
update docs
This commit is contained in:
parent
290796db31
commit
8af86419a6
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,8 @@ llm_dict = {
|
||||||
```
|
```
|
||||||
|
|
||||||
### Select LLM + Make Completion call
|
### 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
|
```python
|
||||||
from litellm import completion_with_split_tests
|
from litellm import completion_with_split_tests
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue