beef up getting started (#8139)

Co-authored-by: Bagatur <baskaryan@gmail.com>
This commit is contained in:
Harrison Chase
2023-07-23 19:57:43 -07:00
committed by GitHub
parent fa8906a9b7
commit 33fd6184ba
14 changed files with 179 additions and 354 deletions

View 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"
```