diff --git a/pdf2md/server/src/models.rs b/pdf2md/server/src/models.rs index 24300ecfe9..3373329b31 100644 --- a/pdf2md/server/src/models.rs +++ b/pdf2md/server/src/models.rs @@ -74,7 +74,7 @@ pub struct UploadFileReqPayload { pub llm_api_key: Option, /// The System prompt that will be used for the conversion of the file. pub system_prompt: Option, - /// Optional webhook URL to receive notifications for each page processed. + /// Optional webhook URL to receive notifications for each page processed. Default is 'Convert the following PDF page to markdown. Return only the markdown with no explanation text. Do not exclude any content from the page.' pub webhook_url: Option, /// Optional webhook payload template with placeholder values. /// Supports the following template variables: diff --git a/pdf2md/server/src/templates/demo-ui.html b/pdf2md/server/src/templates/demo-ui.html index 15b9d74e59..75be9c76f2 100644 --- a/pdf2md/server/src/templates/demo-ui.html +++ b/pdf2md/server/src/templates/demo-ui.html @@ -21,20 +21,82 @@ {% endblock %} {% block body %}
-
+

OCR With Intelligence

-

+

Convert any PDF to LLM-ready Markdown using latest-gen vision models like GPT-4o.

+ +
@@ -76,7 +138,7 @@
@@ -88,7 +150,7 @@