Logo

dev-resources.site

for different kinds of informations.

Prompt Engineering Techniques - AWS BedRock

Published at
12/30/2024
Categories
aws
bedrock
ai
Author
sampathkaran
Categories
3 categories in total
aws
open
bedrock
open
ai
open
Author
12 person written this
sampathkaran
open
Prompt Engineering Techniques - AWS BedRock

What is Prompt Engineering?

In simple terms add more context to the user request is Prompt Engineering. Adding more context will basic aid the LLMs to generate appropriate responses.

Let me illustrate by an example

Here I am using AWS Bedrock Claude 3 Haiku as an example.

  • First I am adding a context that I am an experienced pilot and I wanted the LLM to explain me about the use of Flaps in Aircraft and you could see the response from the LLM that is more suited for an experienced pilot.

Image description

  • Next I am adding a context to the LLM that I am a school student. The LLM have changed the response now that is more suited for the School student as below

Image description

Zero Shot Prompting

Here we provide the prompt without any specific examples and the response generated by LLMs are vry diverse.

Few Shot Prompting

Here we provide multiple examples for a request and example response such that the LLMs understand well about and produce expected results

Chain of Thought Prompting(COT)

COT prompting is basically used to breakdown a complex problem and try to produce the results step by step, basically it adds some thinking process to the LLMs.

bedrock Article's
30 articles in total
Favicon
Unlocking AI Potential: Simplifying Generative AI with AWS Bedrock
Favicon
Amazon Bedrock: Advanced Enterprise Implementation in 2024
Favicon
Prompt Engineering Techniques - AWS BedRock
Favicon
Building a Friends-Themed Chatbot: Exploring Amazon Bedrock for Dialogue Refinement
Favicon
AWS Bedrock Knowledge Base - An overview
Favicon
AWS workshop #2: Leveraging Amazon Bedrock to enhance customer service with AI-powered Automated Email Response
Favicon
Primeros pasos con AWS PartyRock
Favicon
Introduction to Amazon Bedrock: Building Generative AI Applications
Favicon
The Case against AGI
Favicon
Agentic AI Tools in AWS: What You Should Know
Favicon
Use Amazon Bedrock Models with OpenAI SDKs with a Serverless Proxy Endpoint - Without Fixed Cost!
Favicon
Gen-AI Powered Healthcare Queries with AWS Kendra & Bedrock
Favicon
Unveiling Amazon Nova Models: The Future of Generative AI πŸš€
Favicon
How to use rerank models in Amazon Bedrock
Favicon
Creating Smart AI Agents with AWS Bedrock
Favicon
Potenciando Aplicaciones de IA con AWS Bedrock y Streamlit
Favicon
Testing LLM Speed Across Cloud Providers: Groq, Cerebras, AWS & More
Favicon
AWS Serverless Generative AI: Amazon Nova Reel Foundation Model with Bedrock and Lambda
Favicon
AWS Serverless and Generative AI with Lambda and Bedrock!
Favicon
Amazon Bedrock Flows: Now Generally Available with Enhanced Safety and Traceability
Favicon
Understanding Amazon Bedrock's New Featureβ€Š-β€Š"Flows"
Favicon
Building a movie suggestion Bot using AWS Bedrock, Amazon Lex, and OpenSearch
Favicon
Save time with the Amazon Bedrock Converse API!
Favicon
Fine-Tuning and Deploying Custom AI Models on Amazon Bedrock: A Practical Guide
Favicon
Building smarter RSS feeds for my newsletter subscriptions with SES and Bedrock
Favicon
Unlocking the Power of AWS GenAI: A Comprehensive Journey
Favicon
Understanding Amazon Bedrock: Components, Pricing and Cost Optimization Strategies
Favicon
Build a Chatbot to streamline customer queries and automate tasks integrating amazon Lex and Bedrock
Favicon
CloudFormation template generator with LLMs/GenAI
Favicon
New features in Amazon Bedrock Prompt Management

Featured ones: