Update quickstart.mdx (#12386)

**Description**
Removed confusing sentence. 
Not clear what "both" was referring to. The two required components
mentioned previously? The two methods listed below?

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
pull/12724/head
Joseph Martinez 11 months ago committed by GitHub
parent e112b2f2e6
commit f573a4d0b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,7 +83,9 @@ LangChain provides several objects to easily distinguish between different roles
If none of those roles sound right, there is also a `ChatMessage` class where you can specify the role manually.
For more information on how to use these different messages most effectively, see our prompting guide.
LangChain provides a standard interface for both, but it's useful to understand this difference in order to construct prompts for a given language model.
Langchain provides a common interface that's shared by both LLMs and ChatModels.
However it's useful to understand this difference in order to construct prompts for a given language model.
The standard interface that LangChain provides has two methods:
- `predict`: Takes in a string, returns a string
- `predict_messages`: Takes in a list of messages, returns a message.
@ -157,7 +159,7 @@ prompt = PromptTemplate.from_template("What is a good name for a company that ma
prompt.format(product="colorful socks")
```
```pycon
```python
What is a good name for a company that makes colorful socks?
```

Loading…
Cancel
Save