RikAI2 Prompting
Explainability
RikAI2 features our latest version of Explainability. While earlier models' response includes "Context", a probabilistic portion of the source document from which the answer was likely derived, RikAI2's response includes a description of how the model arrived at the answer. This is often more robust and offers more details about how the model interpreted the prompt and document together. Note that this response is also a probabilistic one.
Prompting Documents
Advanced Directions
RikAI2 can follow advanced directions. For instance, when prompting extraction tasks, this makes it possible to extract many fields at once.
In cases where you are asking the model to follow many instructions, steps, or complete several tasks at once, it is important to signal that to the model at the beginning of your prompt. For example, you can say "This is a multi-step task." or "I need to extract lots of information from this document."
Prompt Complex Tasks First
When prompting RikAI2 for several tasks or questions, experiment with prompting for your most complex tasks or fields first.
Example prompt: "I need to extract lots of data from this form. First, return the applicant's selection from the [xyz section of the document]. Then, extract all of the items in this list: [numbered list of tasks]."
Organize Your Prompt
When sending a complex prompt, it is important to keep it organized. You can label sections of your prompt with <XML> </XML>
tags. Make sure to close your tags.
Example: <Instructions>
[list of instructions] </Instructions>
Provide Room to "Think"
When asking RikAI2 to perform complex tasks, particularly where it is reasoning over the information in a document, you can ask the model to create a plan or "think through" the steps it should take to reach a conclusion.
In these cases, it is most effective to ask the model to also outline its thinking. You can contain this output by asking the model to explain its thinking between <thinking> </thinking>
tags, making it easy to postprocess this text out as needed.
Example prompt: "Based on the information in this application and site survey, provide a recommendation for whether this property is at risk of a loss under the insurance policy. Think through how you would come to this conclusion, supplying your reasoning in <thinking> </thinking>
tags. Then, provide your determination in <answer> </answer>
tags."
Prompting Images
RikAI2 can be prompted to analyze and describe images in PDFs. It can also interpret images in the context of a document or transcribe and summarize text within an image when submitted as a PDF.
To prompt across multiple images at once, submit them as a single combined PDF.