If you have read this blog or heard my talks, you probably know that I have incorporated ChatGPT into my workflow. The basic version of ChatGPT supports a lot of the mundane tasks I do, and in the “Crash Course on ChatGPT and…” book series, I am sharing lessons I learned and the prompts that were helpful.
This time, the tasks go beyond genealogy and into learning a new language. ChatGPT has the potential to be immensely helpful when beginning to learn a new language. It can also explain the intricacies of a language to an English-speaking person in an understandable manner. I was excited about what ChatGPT could do to help the process, and wanted to share it in this brief book, “Crash Course on ChatGPT and Learning A Language.” (A softcover book will follow soon!)
Have you ever wanted a private tutor to help you learn a foreign language? Have you wished for lessons that were customized just for you? While nothing can replace being part of a community of people fluent in a language, ChatGPT can tap into its vast knowledge to provide you with a patient and tireless personal tutor- all you have to do is ask. It can even map out an entire course for you to follow. You can learn using the suggested lessons, then have ChatGPT test you with quizzes and puzzles, or converse with you (in text). It can even generate written content in a different language for you to read or translate. The book will get you started with the skills needed in prompt engineering when learning a new language. In the sections of this book, you will learn how to get an account and start using ChatGPT. Then you will find ideas on how to use ChatGPT to learn a language. Last comes suggested prompts that are for you to use to get started. Throughout the book there will be privacy considerations and potential limitations you might face.
Did you know that OpenAI allows users to generate images with a free account? At the time of writing this blog post, ChatGPT allows the use of DALL·E to generate two images per day with a free account.
All you have to do is ask, by typing in the prompt.
CAVEAT: Always research the ownership of any images generated in an AI tool before you consider publishing them.
PROMPT: Create an image of an airplane flying over art deco buildings
ChatGPT spent a little time and created an image.
At the bottom of the image, ChatGPT gave me some suggestions on what I might ask it to do next.
You can hover your mouse over the image to see the icons for giving feedback, or downloading the image as a WEBP file.
In one experiment ChatGPT showed me that it was creating an image, and then pronounced it complete, but there was no image. So I asked: where is it?
ChatGPT proceeded to ensure that this time I received the image. This second try to get the image to me did not count against my two images per day.
I tried another experiment. I generated two images. When ChatGPT told me “Let me know if you’d like to modify or add anything!” after the second image, I was not sure if that would count toward my daily limit of two images.
So I asked ChatGPT to modify the image, and was given that modified image. Then I received this alert:
Converting WEBP to JPG file format
You might be wondering how to convert a WEBP file to another format. The simplest way in Windows 11 is to open the image using the Photos app.
Select “Edit.”
An alert pops up that the Photos app can not save in WEBP format (which is what I wanted), so select Save Options -> Save as copy.
The dialog box that opened offers a choice of formats in which to save the image.
I chose the .jpg extension to save the image in a JPEG format.
Have you wanted to learn more about Artificial Intelligence?
Recently I gave a talk about Using AI for Genealogy, and shared some of my sources for education about AI. You can find out more about the talk and if you want to learn from a genealogist who is a professor with a Ph.D. in Computer Science and Engineering, you might consider having your group book it.
There are many resources available to learn how to get started with generative AI, and some ideas for using it in genealogy. Among them are posts on this blog .
NOTE: DO NOT put any sensitive information into any AI tool.
The first recommendation is a paper that you can download. Genealogists need to learn about prompt engineering to use AI tools effectively. A great paper that offers a catalog of prompt patterns is a good place to start. These prompts presented in the paper are general in nature, but they can be applied to genealogy. The paper is “A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPT.” It is an academic paper, and they can look intimidating, but they do not have to be! You can copy-and-paste parts of it into ChatGPT (or another text-to-text AI tool) and ask it to create a summary or explain it. My specific advice is to look at the tables labeled “Contextual Statements” to learn the patterns. I actually copied text from these tables, and combined information about the patterns offered by a generative AI to create a personal cheat sheet.
If you want to dig deeper and understand more, you may want to look beyond genealogical applications and learn about the technology. Understanding what the tools are and how they work might help you be more comfortable with using them and applying them in genealogy.
In its “AI Ready” commitment, Amazon Web Services (AWS) has set a goal to train 2 million people. As part of this commitment, AWS offers free courses about AI. These courses are written for all different levels of knowledge. From the AWS webpage describing the commitment, scroll down to the section “Courses for business and nontechnical audiences” where you can follow the links to register for the courses. A free account is needed. “Introduction to Generative Artificial Intelligence” is a good starting point, with simple and understandable explanations and no formal assessments. (That means no tests!)
If you want to learn in a more structured way, there are online classes available. These are more formal, with structured lessons and activities that you have to turn in. That should not intimidate you, as these courses are designed for beginners who have little or no technical background. The beginner aspect should not dissuade people with more experience, as there is always something to learn in courses like these. I enjoyed the first and simplest course on the list, as well as courses in the series “Generative AU Learning Planning for Decision Makers” and the “Foundations of Prompt Engineering.”
Coursera
Coursera offers “Prompt Engineering for ChatGPT.” It is taught by the professor who wrote the article that I recommended. If you take this course for free, be sure to allocate time for it each week because the course materials are only available to paying participants after the end of the class. I found this to be a very enjoyable course, with the assignments being as simple as using ChatGPT 3.5 to try the patterns from lessons and submitting the prompt and response via a text box.
GALE Courses
Another course that I have begun is “Introduction to Artificial Intelligence” on GALE Courses (formerly known as Learn4Life). GALE Courses may be available from your local library website, or from a neighboring county for free by using a library card they issue. For those in Anne Arundel County, Maryland, you will find GALE Courses offered by the Howard County Public Library, so get a library card from them. (At Howard County Public Library this is the link to the description https://education.gale.com/l-howardmain/online-courses/introduction-to-artificial-intelligence/?tab=detail). These are 6-week courses, organized into two lessons per week, and there are discussion boards and ungraded quizzes. In order to obtain a certificate for this course, you have to pass a final containing multiple choice questions that appears to be based on the ungraded, optional quizzes for each lesson. Check on your library’s website for an alphabetical listing of online resources or contact a librarian.
This is a technology course about the science of how a computer can perform tasks that usually require human intelligence. It covers the forms of AI, how AIs learn, AI applications and ethics. It will not be something that you can use immediately for genealogy, but it will give a foundation as we go forward seeing more and more AIs.
No matter how you decide to learn, keep learning!
Let me know how you are learning about AI.
NOTE: I have no affiliation with any of the courses or services in this post.
Thanks for such a warm reception at the Western New York Genealogical Society this past weekend. It was a pleasure to be talking about “Using AI for Genealogy” as part of their year-long fiftieth anniversary celebration, conducted over Zoom. At least fifteen states and two countries were represented in the audience.
The lecture was for people who have not already used AI tools but wanted to learn about them and how to start, AND for those who were already using the tools to share ideas about how to be more effective and expand their use.
It took over a day to obtain the ChatGPT data export that I mentioned during the lecture, but it did arrive later in the afternoon. As a reminder, this data export of all your chats can be requested by clicking on the profile icon on the lower left -> Settings -> Data Controls tab -> Export data. The link allows you to download a zipped file, and when you open it, use an HTML file to access your chats.
I wanted to share some of the great feedback from the audience:
“Fantastic ‘Gen AI 101’ and how to apply it to research!!!”
“Thank you so much! Very clear. Makes me want to go out and try it.!”
“Fantastic program!”
“This was perfectly demonstrated. Thank you!”
“Wow! So much information. Thank you so much.”
“I learned so much. No longer afraid to try it. Thank you.”
” Hope I can find the time to watch this over and over and over!”
You can embark on a captivating exploration at the crossroads of genealogy and artificial intelligence with our lecture on “Using AI in Genealogy,” conducted over Zoom. Presented by a seasoned genealogist who holds a Ph.D. in Computer Science & Engineering and is the author of “Crash Course on ChatGPT and Genealogy ,” this session promises practical ways to get started using text-to-text artificial intelligence, prompt engineering and other AI tools, with some technological background. AI tools into your genealogical research, along with some technological background about generative AI.
The reasonable pricing ensures accessibility for your group, and participants will receive a thoughtfully curated 5+ page handout. Additionally, we’ve included some optional ‘Homework, but not to turn in’ for those who are ready to delve deeper into the subject. Contact us now to secure an engaging, informative, and educational Zoom lecture for your group.
The reasonable pricing ensures accessibility for your group, and participants will receive a thoughtfully curated 5+ page handout. Additionally, we’ve included some optional ‘Homework, but not to turn in’ for those who are ready to delve deeper into the subject. Contact us now to secure an engaging, informative, and educational Zoom lecture for your group.
Despite what you might have heard, there is progress being made on anything an AI can help with, including handwriting-to-text. In this blog post, we will cover just a few of the AI tools available for transcribing images of handwritten documents into text. The conversion can be done using digital images created by scanning or photographing handwritten documents.
Transcribing documents (or important parts of documents) is a thing that I always recommend. Reading a document is passive. The motion of writing or typing a document forces us to engage different parts of our brain with its content.
Even if a tool pulls the text out of an image, there is still work to be done in checking the accuracy and formatting the text.
While this can be done with a pencil and piece of paper, I always write the transcription into a word processing document. A word processing document is easier to share and extract the key pieces of data. Be sure to store the original image and the transcription together on your computer.
NOTE: Always consider any privacy concerns before uploading documents to a website. While the website may not store the image, it may be used to train the AI model. Anything uploaded to a website usually travels through several stops on its way through the internet to the website and back.
NOTE: The results from these experiments are certainly influenced by the quality of material that is input. This means that your results may vary.
I am not affiliated with any of the products mentioned in this review.
Always check usage rights for what is generated by a tool.
As the “Unofficial Historian for the 51st Pioneer Infantry Regiment,” we are always on the lookout for materials that add to the understanding of the Regiment’s service in World War I. We located some letters and decided to try out some handwriting-to-text AI tools.
The beginning of one of the letters was:
OCR2Edit
OCR2Edit has tools to extract text from scans, images and includes more features. Since the tools are focused on text, and there was no explicit tool for converting handwriting into text, I had low expectations that this would be the right tool for the task.
At the time of writing this blog post, 3 tasks per hour could be done for free.
I selected the Image to text tool and followed the directions to start the process.
When the tool was done, I could download the text file with the transcription.
The transcription of the letterhead was good, but the handwritten part was not helpful.
Aspose
Aspose OCR app is an online tool is for turning handwritten notes to text.
The interface on this webpage is slightly awkward.
The first page of a letter uploaded and the “Recognize” button clicked. Then it is time to wait. It took a while to process the request, but there was an option to bookmark the page and return to it.
There are buttons for several of their other Optical Character Recognition (OCR) apps that might be more useful.
The format for download was selectable from a drop-down menu.
There was also an option to apply Automated Text correction.
The results are downloaded into a file named “results” which is less useful than a file that has the original filename in it.
There is a button for Options on the Home Page, where you can select: Enhance Contrast, Deskew Image and Upscale Resolution.
All of the options were selected in an attempt to get better results, but there was no improvement.
Pen TO Print
Pen TO Print was the best tool in this set of experiments.
Only the first 10 pages are free, so check out the pricing if you need to do more.
Select Handwriting to Text Converter. Then Add Files, by dragging and dropping the file or clicking the plus to open a dialog box to navigate to and select a file (or files). Then select Convert.
The text can be Download as Text or Word document, or copied to the Clipboard. The filename of a downloaded files is the original filename with “Pen2Print-Export” added to it. This feature helps keep track of the transcribed files on your computer.
This was by far the best of the tools that were tried. The output needs some minor corrections, and formatting. Both of these tasks will engage the brain, and make us think about the content.
With the explosion of artificial intelligence (AI) tools available, have you considered how many tasks in genealogy might be made easier with its use? A type of AI is used to make suggestions based on your previous purchases. Search experiences are beginning to incorporate AI. AI tools can be used in the creative process to invent images and content. AI is already incorporated into many tasks already done in genealogy, such as translation and indexing.
In upcoming blog posts, we will explore a few ways that genealogical tasks that can be done more efficiently with AI. We will look for ways AI might help with a task that has been looming or to overcome hurdles in your way.
Think about tasks that you do in genealogy that could be automated or done more efficiently by using AIs. There is probably already an AI tool for that. Some potential ideas are:
Extracting text from:
Images of typewritten text
Images of handwritten text
Converting interviews to text
Editing images to:
Remove backgrounds
Remove parts elements in the pictures
Working with text
Summarizing text
Analyzing text
Formatting text
Formatting citations
Writing content
NOTE: There are many other AIs that can do amazing things. Check out recommended tools from sources that you trust. While you can search the web for tools but be sure to trust your antivirus software and only click on safe websites. The best suggestion is to always try before paying any fee.
NOTE: Do not upload sensitive information into any AI tool.