Here are the examples of step by step guides on how to extract the form key/value pairs in a certain Document AI custom extractors. Specifically in step 7 of Managing Document AI processors with Python you will be guided to create utility functions to print out the detected form fields as well as in step 9 of this codelabs of Use Document AI to Intelligently Process your Handwritten Forms (Node.js).