5 ms·
Yet another Prompt Wrapper TRANSCRIPTION_PROMPT = """Task: Transcribe the page from the provided book image. - Reproduce the text exactly as it appears, witho
by AmazingTurtle 1y ago
Yet another Prompt Wrapper
TRANSCRIPTION_PROMPT = """Task: Transcribe the page from the provided book image.
- Reproduce the text exactly as it appears, without adding or omitting anything.
- Use Markdown syntax to preserve the original formatting (e.g., headings, bold, italics, lists).
- Do not include triple backticks (```) or any other code block markers in your response, unless the page contains code.
- Do not include any headers or footers (for example, page numbers).
- If the page contains an image, or a diagram, describe it in detail. Enclose the description in an <image> tag. For example:
<image>
This is an image of a cat.
</image>
"""
- edwinjones 1y agoAgreed, it really looks like quite a small prompt wrapper: https://github.com/ngafar/llama-scan/blob/main/llama_scan/constants.py https://github.com/ngafar/llama-scan/blob/main/llama_scan/co... The url to connect to ollama seems to just be hard coded so I don't see why you couldn't point this at a different machine on your network rather than having Ollama running locally on every machine you need this for like the readme implies.