# 4.2. Output Parsers

Output parsers can be used when you want to get more structured information than just text back from ChatGPT. They allow you to customize and format the text responses into different types, such as Markdown, HTML, tables, etc. Output parsers can make your life easier and cut down on the amount of copy+paste+reformatting you have to do between ChatGPT and your documents.

{% content-ref url="/pages/f2p7r5jK9KGoSyiVZRPK" %}
[4.2.1. Markdown](/4.-ethical-guardrails-and-professional-responsibility/4.2.-output-parsers/4.2.1.-markdown.md)
{% endcontent-ref %}

{% content-ref url="/pages/O6AikmtpeDGQVgi0w8LF" %}
[4.2.2. HTML](/4.-ethical-guardrails-and-professional-responsibility/4.2.-output-parsers/4.2.2.-html.md)
{% endcontent-ref %}

{% content-ref url="/pages/SdUYAcko4IHrsfDF5kKI" %}
[4.2.3. Graphviz (Dot Language)](/4.-ethical-guardrails-and-professional-responsibility/4.2.-output-parsers/4.2.3.-graphviz-dot-language.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.legalpromptguide.com/4.-ethical-guardrails-and-professional-responsibility/4.2.-output-parsers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
