Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearly separate the instruction and document context in prompts #16

Closed
daaain opened this issue Jun 30, 2024 · 0 comments
Closed

Clearly separate the instruction and document context in prompts #16

daaain opened this issue Jun 30, 2024 · 0 comments

Comments

@daaain
Copy link

daaain commented Jun 30, 2024

I kept getting this message when selecting a line of text and asking for action items:

Please provide me with the document so I can help you find the action items.  

Once you give me the text, I will analyze it and create a list of potential action items in the Markdown checkbox format you requested. 

Let me know if you have any other questions! 😊

Changing the prompt to this one fixed the issue:

Act as an assistant helping find action items inside a document. An action item is an extracted task or to-do found inside of an unstructured document. Use Markdown checkbox format: each line starts with "- [ ] "
Document:

I did this after noticing that it wasn't really clear where the instruction ended and the document context started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant