July AI SIG Notes

News:

Writing Basic Prompts

  • Steve Little’s 5 Components of a good prompt:
    • A Role: Begin by imagining you’re recruiting an expert for a specific task. What’s their profession? What expertise should they possess? By defining a role, you’re setting the stage and giving the LLM a context to operate within. (Why? https://symbio6.nl/en/blog/role-prompting-ai)
    • A Goal: What do you want to achieve? This is your endgame. Being explicit here ensures that the AI has a clear understanding of your expectations.
    • A Text: Since genealogy is grounded in factual research, provide the text you’d like the AI to process. By supplying the exact text, you mitigate the risk of the AI generating fictitious information (a phenomenon known as “hallucinating”).
    • A Task: Simplify your request. Break it down into manageable steps, just as you’d explain a process to a bright but inexperienced intern. This ensures the LLM knows the sequence of operations it should perform.
    • A Flask: While the term “flask” is playfully chosen for the rhyme, it represents the container or format you’d like your response in. This could range from a narrative report to a structured database table.
  • Lisa Lisson’s 4-Part Strategy:
    • Define the AI’s role
    • Provide Thorough Context
    • Make Specific Requests
    • Layer Your Prompts (layering means asking a question, getting the answer, then asking a followup question)
    • Example: “Act as an expert-level genealogy researcher to help me research my third great-grandmother. Here’s what I know: Her name was Joanna, possibly Barrett (maiden name unknown). She was born in Ireland around 1824 and immigrated to America between 1849-1851. Her port of entry is unknown. Her daughter, also named Joanna, was born in 1851, probably in Virginia or DC. By 1855, elder Joanna was married to WR Wilmouth and living in Surry County, North Carolina, where no other Irish immigrants are found. Please create a research plan to investigate her earlier life and immigration path.”
    • An example from Martijn Andrea on FB: ‘You are an expert genealogist.The goal is to paraphrase content of a genealogy source without altering its meaning to be included into a genealogy report. The writing style of genealogy reports is a formal, academic tone suitable for use in scholarly works. Summarize the following text into a narrative of 2-3 paragraphs. Maintain a dry, factual tone throughout the narrative. Avoid using emotive language or making subjective judgments. Use British English format.Use the English punctuation style. If names of people, family relationships and locations are mentioned, include them as they appear in the facts. If dates or specific time periods are mentioned in the facts, include them in your narrative. For dates, use the international convention and use 3 letter months (example: 2 Nov 1780).’

Try an AI prompt generator like https://originality.ai/blog/ai-prompt-generator

Resources