This commit is contained in:
ishaan-jaff 2023-07-29 07:12:19 -07:00
parent 2cf949990e
commit a168cf8b9c
832 changed files with 161273 additions and 0 deletions

View file

@ -0,0 +1,12 @@
```python
from langchain.schema import HumanMessage
text = "What would be a good company name for a company that makes colorful socks?"
messages = [HumanMessage(content=text)]
llm.predict_messages(messages)
# >> Feetful of Fun
chat_model.predict_messages(messages)
# >> Socks O'Color
```