New Jersey offers guidance for building generative AI tools

Nitat Termmee via Getty Images

One Garden State official hopes the gathered insights can benefit other public sector professionals.

As the public sector increasingly dabbles in generative artificial intelligence technology, New Jersey has released a guide to assist officials looking to develop their own gen AI tools. 

The state developed the guide in a bid to “help others be able to use [generative] AI to help their teams not hit the same sort of roadblocks that we've overcome,” said Jessica Lax, senior advisor for responsible AI for the New Jersey Office of Innovation and co-author of the guide. 

Released last week, the guide encourages users to consider if generative AI is an appropriate solution in the first place. 

“Not every government process is appropriate for AI, even if the technology could handle it,” the authors wrote. 

Generative AI is more suited for use cases like administrative tasks, writing user-friendly content, drafting translations and summarizing information, according to the guide. 

As an example, Lax pointed to the state’s generative AI tool that creates drafts of permit instructions with plain language and streamlined information to expedite the business creation process for residents. The product has reduced the time it takes to research and draft permit content by 3.5 hours, which could have taken up to eight hours previously, according to state officials. 

“There’s nearly 2,000 permits in the state that a business might need,” she said. The state’s generative AI-enabled Permit Drafter tool “looks to translate some of these complex permits into really simple plain language.” 

With the tool, officials gather research on a permit — including information like who should obtain it, its requirements, and necessary steps for applicants — to feed into a large language model. The model also considers prompts like how to format the document or relevant style guidelines, Lax said. 

The tool then outputs draft instructions for obtaining a permit that are reviewed and edited by human staff, she explained. The product “makes it easier to do business in New Jersey” and “saves us a lot of time,” Lax added. 

To help confirm if generative AI is efficient for a particular use case, staff can test it with an AI-enabled chat interface. New Jersey staff, for instance, leverage products like the state’s AI assistant, Microsoft Azure or Amazon Bedrock to do so, according to the guide. 

Such tools can output draft explanations of how AI could, for example, complete a certain task. Staff should also compare the outputs with human-made products, Lax explained. 

When comparing AI-generated outputs and human-made content, staff should ask themselves, “Does this look like what the content strategist created?” Lax said. “Sometimes it's yes, sometimes it's no. If the answer is no, [that] indicates either my prompt needs to be refined or maybe AI can't solve this issue.” 

Another critical step to building a successful generative AI tool is ensuring that it is processing data efficiently and correctly, according to the guide. 

“You won’t know if an LLM is reading your data or hallucinating without testing. When LLMs can’t access file data, they won’t tell you; instead, they make up responses without mentioning the problem,” the authors wrote. 

Staff need to do “proactive testing” by, for example, prompting the LLM to recite information found on a specific page of content, Lax said. This means that some data may need to be reprocessed into a format that the tool can properly read. 

The guide also suggests considering if certain processing approaches are more efficient for specific types of data. Optical character recognition, for example, is better for processing scanned, typewritten text images than sources like charts, images or page layouts, according to the guide. 

Staff also need to account for the different ways an LLM connects with an application programming interface, Lax said. Standard APIs, for example, are more useful for simple LLM implementations like “one-off” interactions, Lax said. 

For more complex LLMs, staff should consider leveraging agentic APIs, which enable LLMs to integrate with additional tools like databases or web crawling, according to the guide. 

Lax also highlighted the importance of addressing LLM timeouts, which were “one of the largest things that we had to navigate,” she said. Timeouts occur when a request to an LLM takes too long to process due to factors like a high server load or a complex query. 

As an example, the guide points to the Lambda service from Amazon Web Services. Staff can address timeouts in tools like Lambda through code optimization by reviewing it for inefficiencies, considering implementing asynchronous or parallel processing or improving database queries, according to the guide. 

Lax added that state leaders will continue to explore and experiment with navigating LLM timeouts, which could result in additional insights as they expand their work with the technology. 

More broadly, the guide “is a living document to us. We’re going to keep updating it as we do more work and discover more things,” said Jessica Lax, senior advisor for responsible AI for the New Jersey Office of Innovation. “AI is changing rapidly all the time, and I think a document that keeps that to light is so important.”

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.