[](https://hamel.dev/blog/posts/prompt/#cb6-1)What kind of pet should I get and what should I name it? [](https://hamel.dev/blog/posts/prompt/#cb6-2) [](https://hamel.dev/blog/posts/prompt/#cb6-3) [](https://hamel.dev/blog/posts/prompt/#cb6-4)Given below is XML that describes the information to extract from this document and the tags to extract it into. [](https://hamel.dev/blog/posts/prompt/#cb6-5) [](https://hamel.dev/blog/posts/prompt/#cb6-6) [](https://hamel.dev/blog/posts/prompt/#cb6-7) [](https://hamel.dev/blog/posts/prompt/#cb6-8) [](https://hamel.dev/blog/posts/prompt/#cb6-9) [](https://hamel.dev/blog/posts/prompt/#cb6-10) [](https://hamel.dev/blog/posts/prompt/#cb6-11) [](https://hamel.dev/blog/posts/prompt/#cb6-12)ONLY return a valid JSON object (no other text is necessary), where the key of the field in JSON is the `name` attribute of the corresponding XML, and the value is of the type specified by the corresponding XML's tag. The JSON MUST conform to the XML format, including any types and format requests e.g. requests for lists, objects and specific types. Be correct and concise. [](https://hamel.dev/blog/posts/prompt/#cb6-13) [](https://hamel.dev/blog/posts/prompt/#cb6-14)Here are examples of simple (XML, JSON) pairs that show the expected behavior: [](https://hamel.dev/blog/posts/prompt/#cb6-15)- `` => `{'foo': 'example one'}` [](https://hamel.dev/blog/posts/prompt/#cb6-16)- `` => `{"bar": ['STRING ONE', 'STRING TWO', etc.]}` [](https://hamel.dev/blog/posts/prompt/#cb6-17)- `` => `{'baz': {'foo': 'Some String', 'index': 1}}`