3 days ago

Specialized models for extracting structured data from HTML

3b
8c27041aa865 · 707B
{{- if .System }}<|start_header_id|>system<|end_header_id|>
{{ .System }}<|eot_id|>
{{- end }}
<|start_header_id|>user<|end_header_id|>
You are going to be given a JSON schema following the standardized JSON Schema format. You are going to be given a HTML page and you are going to apply the schema to the HTML page however you see it as applicable and return the results in a JSON object. The schema is as follows:
{{- with .Messages }}{{- if ge (len .) 1 }}{{ (index . 0).Content }}{{- end }}{{- end }}
Here is the HTML page:
{{- with .Messages }}{{- if ge (len .) 2 }}{{ (index . 1).Content }}{{- end }}{{- end }}
MAKE SURE ITS VALID JSON.
<|eot_id|>
<|start_header_id|>assistant<|end_header_id|>