Created
January 26, 2024 09:14
-
-
Save bjoerntx/917b3df437f0af6523c334a7a999d7fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string requestPrompt = "You will need to classify the documents into tags. "; | |
requestPrompt += "Possible tags are: 'invoice', 'receipt', 'contract', 'quotation', 'agreement', 'other'. "; | |
requestPrompt += "The tags are keywords that summarize the document's content. "; | |
requestPrompt += "For each tag provided, you must specify the probability that the document belongs to that tag. "; | |
requestPrompt += "The tags will be provided on a list. "; | |
requestPrompt += "You must limit yourself to the supplied tags. "; | |
requestPrompt += "You must not add other tags that are not in the list. "; | |
requestPrompt += "All of the tags must be included when you reply. "; | |
requestPrompt += "Only return the tags and no additional text. "; | |
requestPrompt += "The following is a sample of the output you must return. You must return the same list, but replace the symbol 'RANKING' with the associated probability: "; | |
requestPrompt += "invoice:RANKING, receipt:RANKING, contract:RANKING, quotation:RANKING, agreement:RANKING, other:RANKING "; | |
requestPrompt += "The following is the document to analyze: "; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment