e768098d0e
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
21 lines
837 B
Django/Jinja
21 lines
837 B
Django/Jinja
# system:
|
|
Your task is to classify a given url into one of the following categories:
|
|
Movie, App, Academic, Channel, Profile, PDF or None based on the text content information.
|
|
The classification will be based on the url, the webpage text content summary, or both.
|
|
|
|
# user:
|
|
The selection range of the value of "category" must be within "Movie", "App", "Academic", "Channel", "Profile", "PDF" and "None".
|
|
The selection range of the value of "evidence" must be within "Url", "Text content", and "Both".
|
|
Here are a few examples:
|
|
{% for ex in examples %}
|
|
URL: {{ex.url}}
|
|
Text content: {{ex.text_content}}
|
|
OUTPUT:
|
|
{"category": "{{ex.category}}", "evidence": "{{ex.evidence}}"}
|
|
|
|
{% endfor %}
|
|
|
|
For a given URL and text content, classify the url to complete the category and indicate evidence:
|
|
URL: {{url}}
|
|
Text content: {{text_content}}.
|
|
OUTPUT: |