What are the stages in the Generative AI Application Lifecycle?
What are the capabilities of Gen AI?
Adaptability
Responsiveness
Simplicity
Creativity and exploration
Data efficiency
Personalization
Scalability
What are the risks of Gen AI?
Regulatory violations
Social risks
Data security and privacy concerns
Toxicity
Hallucinations
Interpretability
Nondeterminism
What is involved in the first stage of Gen AI App LC - i.e. Defining a use case?
What are the most common elements of a business case?
What sort of metrics can be used to set Gen AI application goals?
What are the various ways in which Gen AI can help businesses?
What are some of the factors to consider when choosing a pre-trained model for Gen AI?
What are the different ways to improve a model’s performance?
What is prompt engineering?
What are some of the key aspects of prompt engineering?
What is RAG or Retrieval Augmented Generation?
RAG is a natural language processing (NLP) technique that combines the capabilities of retrieval systems and generative language models to produce high-quality and informative text outputs.
a) Retrieval system - retrieves relevant information from a large corpus knowledge base; retrieval systems themselves can be quite complex with embeddings and vector databases that are built from customer specific content.
2. LLM - large pre-trained model to which the user prompt along with additional retrieved info is passed.
RAG does not alter a model’s parameter weights.
It is good for Q&A systems and generating high quality content.
What is Amazon Bedrock Knowledge Bases?
This is a complete workflow for RAG.
It helps organizations build a knowledge base, retrieve relevant information, and augment prompts to LLMs.
To build a knowledge base, you have to ingest data, turn it into embeddings, and store it in a Vector Database.
What is Fine Tuning?
Training a FM with domain specific data to make it more relevant to the task at hand - e.g. medical research
It does alter a model’s parameter weights and adds additional layers.
There are two ways to fine tune:
a) Instruction fine-tuning - uses examples of how the model should respond to a specific instruction
b) Reinforcement learning from human feedback (RLHF) provides human feedback data
What are Agents?
Agents are software components or entities designed to perform specific actions or tasks autonomously or semi-autonomously, based on predefined rules or algorithms.
In the case of Amazon Bedrock, agents are used to manage and carry out various multi-step tasks related to infrastructure provisioning, application deployment, and operational activities.
Their primary task is task coordination. They can also do additional reporting and logging.
What are the various ways in which FMs can be evaluated?