fix: fix the prompt in the prompt
Browse files
README.md
CHANGED
@@ -154,7 +154,7 @@ To use `ReaderLM-v2` locally:
|
|
154 |
instruction = "Extract the main content from the given HTML and convert it to Markdown format."
|
155 |
if schema:
|
156 |
instruction = "Extract the specified information from a list of news threads and present it in a structured JSON format."
|
157 |
-
prompt = f"{instruction}\n```html\n{text}\n```\nThe JSON schema is as follows:```json{schema}```"
|
158 |
else:
|
159 |
prompt = f"{instruction}\n```html\n{text}\n```"
|
160 |
|
|
|
154 |
instruction = "Extract the main content from the given HTML and convert it to Markdown format."
|
155 |
if schema:
|
156 |
instruction = "Extract the specified information from a list of news threads and present it in a structured JSON format."
|
157 |
+
prompt = f"{instruction}\n```html\n{text}\n```\nThe JSON schema is as follows:```json\n{schema}\n```"
|
158 |
else:
|
159 |
prompt = f"{instruction}\n```html\n{text}\n```"
|
160 |
|