mirror of
https://github.com/hwchase17/langchain.git
synced 2025-12-15 20:04:15 +00:00
beef up getting started (#8139)
Co-authored-by: Bagatur <baskaryan@gmail.com>
This commit is contained in:
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
|
||||
```
|
||||
Reference in New Issue
Block a user