Help or Idea?
Has anyone ever played with an AI to extract and format information by providing it with Gramps XML (or gedcom) and the right prompts? What is your experience?
I think I could format reports with this principle and with the right prompts. The idea is described in a draft project (Google fr→en translation bellow) that aims to regenerate the pages of my Notion website (biographies) with an AI, or even to increase the content with context if possible.
Automatically extract and format the content of my anscestors biographies on Notion
Goal and principles
What we are trying to achieve and the principles/constraints that must be taken into account
Background
- Extract an XML from Gramps (if I can avoid the Gedcom format, it’s better) on what I want to import into Notion
- Have an AI capable of analyzing it
- Have prompts to create a biography of each person from the information contained in the XML file.
- Same for families
- Same for surname lines in order to have a summary related to this surname
- Concerning the prompts, in addition to generating the previous information, they must be able to provide:
- Factually by only taking the data from the XML file:
- Have a Sources section to support the statements made.
- Have a gallery when I have the necessary photos
- Rather by looking at the side of sourced generative AIs (Liner, …):
- Add relevant information to that coming from my data: for example pages on a particular profession or municipality
- Format the texts around the person’s life according to their events
- Have historical context on the places and times when people lived
- Factually by only taking the data from the XML file:
- Determine what an AI can do with this data such as lifelines, create hotspots, and other interesting genealogical extracts
Form
- Use one or more AIs
- Use n8n for XML → AI(s) → Notion interactions
- The AI must have an API allowing to submit the prompt, the data (all the XML? Bits?) and return the result in JSON format, if possible for the text in a format resembling Markdown
- Maybe subscribe to BlueGPT which allows to interact with many different AIs from a single site and a single subscription
Final Vision
Expressed in the present tense, it describes the situation as if the project was fully completed, without any problems having arisen, and according to the greatest hopes that had been placed in it
I extract my Gramps data from an XML and the pages Généalogie de Patrice Legoux are regenerated by an AI analyzing them. The AI (or AIs) generate the blocks of the Notion pages that n8n assembles to publish the new pages. The AIs also generate content such as historical or geographical analysis related to the times and places of life of the members of the file.