forked from langchain-ai/langchainjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e931f64
commit 5ac0236
Showing
8 changed files
with
261 additions
and
272 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
docs/extras/modules/model_io/output_parsers/how_to/_category_.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
label: 'How-to' | ||
position: 0 |
10 changes: 10 additions & 0 deletions
10
docs/extras/modules/model_io/output_parsers/how_to/use_with_llm_chain.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Use with LLMChains | ||
|
||
For convenience, you can add an output parser to an LLMChain. This will automatically call `.parse()` on the output. | ||
|
||
Don't forget to put the formatting instructions in the prompt! | ||
|
||
import CodeBlock from "@theme/CodeBlock"; | ||
import UseWithLLMChainExample from "@examples/prompts/use_with_llm_chain.ts"; | ||
|
||
<CodeBlock language="typescript">{UseWithLLMChainExample}</CodeBlock> |
Oops, something went wrong.