forked from phoenix/litellm-mirror
add everyting for docs
This commit is contained in:
parent
de45a738ee
commit
0fe8799f94
1015 changed files with 185353 additions and 0 deletions
13
docs/snippets/get_started/quickstart/import_llms.mdx
Normal file
13
docs/snippets/get_started/quickstart/import_llms.mdx
Normal file
|
@ -0,0 +1,13 @@
|
|||
```python
|
||||
from langchain.llms import OpenAI
|
||||
from langchain.chat_models import ChatOpenAI
|
||||
|
||||
llm = OpenAI()
|
||||
chat_model = ChatOpenAI()
|
||||
|
||||
llm.predict("hi!")
|
||||
>>> "Hi"
|
||||
|
||||
chat_model.predict("hi!")
|
||||
>>> "Hi"
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue