From f573a4d0b3adb713f7ef44ac18135a5925686b2c Mon Sep 17 00:00:00 2001 From: Joseph Martinez Date: Thu, 2 Nov 2023 18:38:21 -0700 Subject: [PATCH] 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 --- docs/docs/get_started/quickstart.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/docs/get_started/quickstart.mdx b/docs/docs/get_started/quickstart.mdx index 2c3ea21dc68..a4ac622b8ca 100644 --- a/docs/docs/get_started/quickstart.mdx +++ b/docs/docs/get_started/quickstart.mdx @@ -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? ```