Generative AI Use Case Registry
Wielding Generative AI Safely
With the release of the City’s Generative AI (Gen AI) Guidance 1.1 the Technology and Innovation Department prepared best practices around some more popular use cases for this transformative technology. Use this page as a guide to support and enhance your journey with Generative AI.
We believe that Gen AI, when used safely and responsibly, can positively impact City services, businesses, and operations. Below details five general use cases identified from City staff. Each use case contains unique example prompts, helpful don’ts, and ways to mitigate AI bias. For additional support in making Generative AI a practical tool for you, please reach out to smartcity@longbeach.gov
General Best Practices
Here are some helpful guidelines...
-
Do not submit any sensitive or private information to a Generative AI platform you wouldn’t want available to the public.
-
You should create an account just for City usage.
-
Protect your data by opting out of data collection whenever possible.
-
Please site or reference when you use Generative AI.
- Always review the output, the need for human review is essential in identifying AI bias and ensuring an optimal output.
Use Case Guide
-
Writing
Generative AI takes your writing to the next level, creating original content like articles, blog posts, and stories that captivate readers. AI-driven writing tools help you brainstorm ideas, overcome writer's block, and maintain a consistent voice. It also refines and enhances existing material, making your message clear and compelling. Whether you're brainstorming ideas, overcoming writer's block, or maintaining a consistent voice, AI-driven writing tools are here to help. Elevate your writing game with AI's precision and creativity at your fingertips.
(Written with assistance from ChatGPT on 8/7/24)
AI Solution
Public LLMs, such as ChatGPT, Google Gemini, Midjourney, MS CoPilot
Prompt
“Write a memo to the City Manager about the benefits of using gen AI in city government.”
“Write a simple, direct project summary for a request for proposals where the City of Long Beach Technology and Innovation Department is looking for vendors to provide digital inclusion services such as community outreach, digital literacy workshops, supply computer devices, advise on grant funding, and other services in order for the City to be ready for funding from BEAD and the Digital Equity Act.”
“Create a scope of work to evaluate the health of a fund.”
“Can you edit this email and check for clarity, grammar and tone? [insert text]”
“As an organizational development strategic planner, create a table that serves as a template for team and task analysis.”
Benefits of using AI
Saves time.
Helps the creative process.
Improves the style, consistency, and tone of the message.
Identifies and reduces grammatical errors.Don'ts
Don't include any PII, sensitive, or confidential information.
Don't use (rely on) for emergency situations.
Don't ignore ethical considerations.
Don't rely on Gen AI to provide error-free answers.
Don't accept any outputs that contain offensive or harmful language toward people.
Don't use the output as the final version without human review.
Don't use content in a language you do not understand before consulting someone with proficiency in the language.Addressing AI Bias / Mitigating Risks
Ensure human oversight for biases and misinformation in reviewing the output.
Provide as much context as possible, be specific with whom the target audience is in the prompt and what type of content you are creating or enhancing.
Ensure any produced content adheres to the City’s Social Media Best Practices.Data Requirements
Text needed for the prompt, for example: email, report, blog post, script, etc.
-
Analyzing
Unlock the potential of your data with generative AI's powerful analytical capabilities. Generative AI turns complex datasets and reports into clear, actionable insights. It dives deep into your data, uncovering patterns and trends that might otherwise go unnoticed. Whether you need comprehensive reports, predictive analysis, or data visualization, AI makes it all simpler and faster. By automating tedious tasks and enhancing decision-making, AI transforms data into valuable intelligence. Empower your team with AI to make smarter, data-driven decisions effortlessly.
(Written with assistance from ChatGPT on 8/7/24)
AI Solution
Public LLMs, such as ChatGPT, Google Gemini, Midjourney, MS CoPilot
Prompt
“Number each response from 1 to 5. Perform a thematic analysis with the 5 responses to investigate common themes to answer the following question: [insert research question]. For each of the found themes, provide a short definition and count of responses sorted into the theme. Each response can be sorted into one or more themes.”
“Analyze this [insert report] to identify trends and patterns then produce a predictive analysis of its proposed impacts.”
Benefits of using AI
Saves time.
Ensures precise results.
Identifies complex patterns and trends that might be overlooked by humans or manual qualitative analysis.
Provides actionable insights for informed decision-making.Don'ts
Don't include any PII, sensitive, or confidential information.
Don't rely solely on Gen AI for legal or policy decisions.
Don't use (rely on) for emergency situations.
Don't assume perfection.
Don't use the output as the final version without human review.Addressing AI Bias / Mitigating Risks
Ensure human oversight for biases and misinformation in reviewing the output.
Ensure the data used for analysis is complete and accurate.
Use AI findings as starting point for deeper investigation.Data Requirements
Content such as tabular data or open-ended text, both qualitative and quantitative. For example: survey data, social media engagement data, research publication, feedback modules, etc.
-
Translating
Break language barriers with generative AI’s advanced translation capabilities, making communication across multiple languages seamless. AI-driven translation keeps your communication clear and effective by translating text accurately, ensuring your message is understood by diverse audiences. Connect with the world more effortlessly than ever before with Gen AI.
(Written with assistance from ChatGPT on 8/7/24)
AI Solution
Public LLMs, such as ChatGPT, Google Gemini, Midjourney, MS CoPilot
Prompt
“Translate the following [insert text] into: Spanish, Tagalog, Khmer.”
Benefits of using AI
May provide accurate translations in a timely manner.Don'ts
Don't include any PII, sensitive, or confidential information.
Don't ignore ethical considerations.
Don't rely on Gen AI to provide error-free answers.
Don't accept any outputs that contain offensive or harmful language toward people.
Don't use the output as the final version without human review.
Don't use content in a language you do not understand before consulting someone with proficiency in the language.Addressing AI Bias / Mitigating Risks
Ensure human oversight for biases and misinformation in reviewing the output.
Share the outputs with native language speakers. Review any outputs with the Long Beach Language Access team.
Specify the specific dialect you want the text translated to.Data Requirements
Text or content in need of translation.
-
Coding
Generative AI is your coding companion, helping you write clean, efficient code and troubleshoot issues with ease. Whether you're developing new software, enhancing existing codebases, or debugging, AI provides intelligent suggestions and automates repetitive tasks. It accelerates the development process, allowing you to focus on creative problem-solving and innovation. From beginners to seasoned developers, AI supports your coding journey, making it more enjoyable and productive. Experience a smarter, more efficient way to code with AI by your side.
(Written with assistance from ChatGPT on 8/7/24)
AI Solution
Public LLMs, such as ChatGPT, Google Gemini, Midjourney, MS CoPilot.
Prompt
“Create automation in uipath that can send an email alert when a new file is added to a folder.”
“I want new folders to be named the same as the individual PDF files. For example, if there are PDFS named Test (1), Test (2), Test (3), I would want a new folder created that has the same name as each individual file. Create the Python code and teach me how to install and run the command.”
“Create a guide on how to replace a new button in a CRM (salesforce)”
“I am receiving an error message on the left outer join. Identify the error and fix it [insert programming language]”
Benefits of using AI
Saves time.
Quickly identifies and fixes bugs.
Beginner friendly, provides reasoning behind code improvements/fixes.Don'ts
Don't include any PII, sensitive, or confidential information.
Don't use (rely on) for emergency situations.
Don't assume perfection.
Don't use the output as the final version without human review.
Don't use content in a language you do not understand before consulting someone with proficiency in the languageAddressing AI Bias / Mitigating Risks
Ensure human oversight for biases and misinformation in reviewing the output.Data Requirements
Source codes, databases schemas, SQL command in need of improvement, etc.
-
Learning
Elevate your learning experience with generative AI, designed to enhance knowledge acquisition and provide clarity. AI-driven tools summarize complex information, making it easier to understand and retain. Whether you're a student, professional, or lifelong learner, AI empowers you to achieve your goals faster. Embrace the future of learning with AI, where knowledge is just a click away.
(Written with assistance from ChatGPT on 8/7/24)
AI Solution
Public LLMs, such as ChatGPT, Google Gemini, Midjourney, MS CoPilot
Prompt
“Clarify this bill [insert attachment] and give me the main points.”
“Is there a way to create multiple folders on Windows and rename them based on a folder of PDFs?”
“How can I view API log files in salesforces?”
“Explain in simple terms for a presentation what is task analysis.”
“What are some common change management tasks for a city modernizing their timesheets from paper to digital?”
Benefits of using AI
Saves time.
Makes learning interactive and engaging.
Instant feedback helps users learn quickly.
Consolidates multiple knowledge sources into cohesive summary.Don'ts
Don't Share Confidential Information
Don't Use for Legal or Policy Decisions
Don't Use for Emergency Communications
Don't Ignore Ethical Considerations
Don't Overlook Compliance RequirementsAddressing AI Bias / Mitigating Risks
Ensure human oversight for biases and misinformation in reviewing the output.Data Requirements
Files and text to be summarized or digested, including but not limited to: articles, research papers, webinars, etc.