Reader small image

You're reading from  Enterprise GENERATIVE AI Well-Architected Framework & Patterns

Product typeBook
Published inApr 2024
PublisherPackt
ISBN-139781836202912
Edition1st Edition
Right arrow
Author (1)
Suvoraj Biswas
Suvoraj Biswas
author image
Suvoraj Biswas

Suvoraj Biswas is a Subject Matter Expert and thought leader in the Enterprise GENERATIVE AI and it's Architecture & Governance. Professionally, he works as a Solution Architect at a prominent Fortune 500 financial corporation. With an extensive Enterprise IT background spanning over 19+ years in countries like India, United States and Canada, he has held architectural positions & DevOps/DevSecOps Consultant at renowned companies like Thomson Reuters, IBM and Global Relay. Throughout his professional journey, he has amassed considerable expertise across diverse IT domains, specializing in the design of secure and scalable Enterprise systems, facilitating multi-Cloud adoption and migration, and driving digital transformation initiatives. He has overseen end-to-end solution development and the execution of large-scale Enterprise projects, leveraging advanced and specialized technologies including SAAS platform engineering, AWS cloud migration, Generative AI adoption & implementation and building smart IoT based platform.
Read more about Suvoraj Biswas

Right arrow

Some Best Practices for Effective Prompts:

Prompt engineering does not have a set of rigid, pre-established rules. There is no official rulebook available that specifies some guidelines for prompt engineering. However, by adhering to certain best practices and principles, we can enhance the likelihood of obtaining optimal output from the LLM, leading to customer satisfaction.

a) Provide Instructions which is CLEAR & SPECIFIC:

Let's see a couple of example code-snippets and the output.

In the 1st example we will provide some content to the LLM to summarize. The content has been copied from Wikipedia. The model is instructed to summarize the texts within the triple backticks (```)

from  langchain import  PromptTemplate ...

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Enterprise GENERATIVE AI Well-Architected Framework & Patterns
Published in: Apr 2024Publisher: PacktISBN-13: 9781836202912
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Author (1)

author image
Suvoraj Biswas

Suvoraj Biswas is a Subject Matter Expert and thought leader in the Enterprise GENERATIVE AI and it's Architecture & Governance. Professionally, he works as a Solution Architect at a prominent Fortune 500 financial corporation. With an extensive Enterprise IT background spanning over 19+ years in countries like India, United States and Canada, he has held architectural positions & DevOps/DevSecOps Consultant at renowned companies like Thomson Reuters, IBM and Global Relay. Throughout his professional journey, he has amassed considerable expertise across diverse IT domains, specializing in the design of secure and scalable Enterprise systems, facilitating multi-Cloud adoption and migration, and driving digital transformation initiatives. He has overseen end-to-end solution development and the execution of large-scale Enterprise projects, leveraging advanced and specialized technologies including SAAS platform engineering, AWS cloud migration, Generative AI adoption & implementation and building smart IoT based platform.
Read more about Suvoraj Biswas