Converting LLM output from a string into a structured format that you can use in downstream tasks is important for building applications that allow LLMs to take actions.

Jupyter Notebook (to follow along): https://github.com/hwchase17/langchain-0.1-guides/blob/master/output_parsers.ipynb

JavaScript Notebook: https://github.com/bracesproul/langchainjs-0.1-guides/blob/main/output_parsers.ipynb

Links:

List of all output parsers: https://python.langchain.com/docs/modules/model_io/output_parsers/

OpenAI function calling: https://python.langchain.com/docs/modules/model_io/output_parsers/types/openai_functions

Add comment

Your email address will not be published. Required fields are marked *

Categories

All Topics