mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
add v4
This commit is contained in:
parent
2cf949990e
commit
a168cf8b9c
832 changed files with 161273 additions and 0 deletions
9
docs/snippets/get_started/quickstart/input_string.mdx
Normal file
9
docs/snippets/get_started/quickstart/input_string.mdx
Normal file
|
@ -0,0 +1,9 @@
|
|||
```python
|
||||
text = "What would be a good company name for a company that makes colorful socks?"
|
||||
|
||||
llm.predict(text)
|
||||
# >> Feetful of Fun
|
||||
|
||||
chat_model.predict(text)
|
||||
# >> Socks O'Color
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue