XPath в ChatGPT: различия между версиями
Материал из Planfix
Artem (обсуждение | вклад) (Новая страница: «{{#seo: |title=XPath в ChatGPT |titlemode=append |keywords=планфикс, правила, email, почта, задачи, извлечение данных из письма, XPath, XML, ChatGPT |description=XPath }} Используйте ChatGPT, чтобы составить правильный XPath-запрос для парсинга нужных данных. Пример промта: <pre> you are also an xpath expert write xpath to get value...») |
Artem (обсуждение | вклад) Нет описания правки |
||
| Строка 8: | Строка 8: | ||
<pre> | <pre> | ||
you are also an xpath expert | you are also an xpath expert | ||
write xpath to get value on field with id 123, being given xml of the following type | write xpath to get value on field '''with id 123''', being given xml of the following type | ||
<response> | <response> | ||
<task> | <task> | ||
Версия от 12:51, 15 сентября 2023
Используйте ChatGPT, чтобы составить правильный XPath-запрос для парсинга нужных данных. Пример промта:
you are also an xpath expert
write xpath to get value on field '''with id 123''', being given xml of the following type
<response>
<task>
<customData>
<customValue>
<field>
<id>123</id>
<name>qasdasdasd</name>
</field>
<value>111111</value>
<text></text>
</customValue>
<customValue>
<field>
<id>456</id>
<name>wdqweqw</name>
</field>
<value>222222</value>
<text></text>
</customValue>
</customData>
</task>
<signature></signature>
</response>