Talk

Pagination Prompt for Long GPT Outputs

From Wikiprompt, the free prompt encyclopedia

宝玉
Contributed by宝玉XSource

Oct 12, 2024

Pagination Prompt for Long GPT Outputs A prompt recipe for paginating GPT responses to avoid summarization of long inputs, using few-shot examples and XML page tags.

Prompt ContentSave

🌐
Use a few-shot approach to ask GPT to paginate its output for long inputs. Provide examples for shorter and longer content, showing how to handle both complete and partial outputs. Incorporate XML tags like <page page="1" more="true"> to indicate the page number and whether there is more to come. This keeps everything in the same conversational thread, ensuring a uniform tone throughout. For code, GPT may struggle with pagination, so experiment with balancing module output versus partial snippets.

Sign in to see the full prompt

Continue with:

By logging in, you agree to our Terms of Use and Privacy Policy

Usage

This prompt is designed for use with productivity. Copy the prompt content above and paste it into your preferred AI tool.

For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.

References

Categories:productivity| twitter| gpt| pagination

Talk