The Fifth Elephant 2023 Monsoon

On AI, industrial applications of ML, and MLOps



Piyush Makhija

Piyush Makhija


How "Not" to Add a Generative AI layer to Your Product

Submitted Jun 28, 2023


Artificial Intelligence, particularly generative models, are driving unprecedented transformations in products and services across industries. However, integrating generative AI is not just a matter of “plugging in” the technology.

In this talk, we will delve into the practical challenges and best practices of effectively incorporating these models into your product in a reliable and efficient way. We will focus on applications including text to SQL/JavaScript, text summarization, and retrieving relevant results from documentation, ensuring the outputs are accurate, domain-specific, secure, and performant. We will address the importance of avoiding hallucinations and handling prompt hacking/injection attacks in a real-world context.
(This is talk is based on my personal experience of implementing Generative AI layers into existing products)

Key Points:

  1. Introduction to Generative AI: Briefly explain generative AI models like LLMs (Language Learning Models), their strengths, weaknesses, and potential applications.
  2. Common Implementations:
    • Text to SQL/JavaScript: Generate insghts, analytic or code using only Natural language conversations.
    • Text Summarization: Get the gist of long 100 pager documents in seconds.
    • Retrieving Relevant Results: Imagine the exact color, shade and design of curtains that fit your living room and then NOT having to go through thousands of product listings on amazon to find it !!
  3. Pitfalls to Avoid: Discuss the risks and challenges of integrating generative AI into products, including hallucination, over-stepping domain boundaries, susceptibility to prompt hacking and injection attacks.
  4. Security and Privacy: Discuss strategies to protect your AI models from malicious attacks and data breaches.
  5. Performance Optimization: How to maximize accuracy and speed when integrating AI into your product.
  6. Best Practices and Case Studies: Review effective strategies for applying generative AI in various applications, supplemented by real-world examples and case studies.

Target Audience:

This talk is aimed at product managers, software engineers, data scientists, and AI enthusiasts interested in understanding the practicalities of integrating generative AI into their products and services.


By the end of the talk, participants will have a deeper understanding of the intricacies of implementing generative AI models. They will be equipped with a practical guide to avoiding common pitfalls and applying effective strategies to build reliable, secure, and high-performing AI-powered solutions.

Looking forward to sharing these insights and sparking engaging discussions on how to navigate the fascinating yet complex landscape of AI integration.


{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hybrid access (members only)

Hosted by

All about data science and machine learning

Supported by

E2E Cloud is India's first AI hyper scaler, a cloud computing platform providing accelerated cloud-based solutions at maximum optimization and lowest pricing