-


Fichier Détails

Cartes-fiches 368
Langue Français
Catégorie Informatique
Niveau Université
Crée / Actualisé 31.05.2025 / 09.06.2025
Lien de web
https://card2brain.ch/box/20250531_maio
Intégrer
<iframe src="https://card2brain.ch/box/20250531_maio/embed" width="780" height="150" scrolling="no" frameborder="0"></iframe>

How Master card Leverage Data? 

They use all data collected trought payments to create new servicies

How best buy leverage insights ? 

Best Buy survived against Amazon by using data analysis and AI to transform its operating model through insights, including:

  1. Personalized offers

  2. Pricing optimization

  3. Improved customer service

  4. Smart stock management

4. Smart stock managment 

What are the 3 Laws of Change ?

“Generalized” Moore’s: Law Information technology improves faster than humans
Metcalfe’s Law : Information technology connects increasingly valuable networks
Barabasi’s Law : Network evolution drives hub formation

Wath are the 6 takesaway for the course 3 ?

  1. Design your business around your customers, not your products or competitors
  2. Maximum gains from AI requires holistic transformation in Business & Operation Models
  3. Data and customers become critical assets of a company
  4. Competition is no longer defined by traditional industry boundaries 
  5. Complementary products and network effects provide strong competitive advantage
  6. A broader business scope requires building new capabilities

What Are Agents and give the associated terminology?

Different definitions exist:

  • Fully autonomous systems operating independently using tools
  • More prescriptive implementations following predefined workflows

Used terminology:

  • Workflows: LLMs and tools orchestrated through predefined code paths
  • Agents: LLMs dynamically direct their own processes and tool usage

When to Use Agents ? Answer these questions:

How to start ? 

What is the tread off ?

How to choose right technology ? 

  • Start simple: Find the simplest solution possible
  • Consider tradeoffs: Agents often exchange latency and cost for better task performance
  • Choose appropriately:
    • Workflows: When predictability and consistency are needed
    • Agents: When flexibility and model-driven decision-making are required
    • Simple LLM calls: Often sufficient with retrieval and in-context examples

Give some example of popular frameworks 

LangGraph from LangChain
Amazon Bedrock’s AI Agent framework
Rivet (drag and drop GUI)
Vellum (GUI for complex workflows)
n8n (drag and drop GUI)

What are the 3 considerations with Agent frameworks ? 

Frameworks simplify standard tasks but add abstraction layers
Abstractions can obscure prompts/responses and make debugging harder
Can encourage unnecessary complexit

What are the Building Blocks for The Augmented LLM ? 

  • Basic building block: LLM enhanced with augmentations
    • Retrieval
    • Tools
    • Memory
  • Current models can actively use these capabilities
    • Generate search queries
    • Select appropriate tools
    • Determine what information to retain
  • Implementation focus:
    • Tailor capabilities to specific use cases
    • Ensure easy, well-documented interface

Give a Workflow example for: Prompt Chaining

  • Decomposes tasks into sequential steps
  • Each LLM call processes output from previous one
  • Can add programmatic checks between step

When to use: When tasks can be cleanly decomposed into fixed subtasks

Example use cases:

  • Generating marketing copy then translating it
  • Writing document outlines then creating full documents

What are Basic building block for a LLM enhanced with augmentations ? 

Retrieval
Tools
Memory

Which capabilities current models ca actively use (The Augmented LLM) ? 

Generate search queries
Select appropriate tools
Determine what information to retain

What are the 2 implementation focus for the augmented LLM ? 

Tailor capabilities to specific use cases
Ensure easy, well-documented interface

What is the worflow of prompt chaining ? 

Decomposes tasks into sequential steps
Each LLM call processes output from previous one
Can add programmatic checks between steps

When use prompt chaining ? 

When tasks can be cleanly decomposed into fixed subtasks

Example use cases:
Generating marketing copy then translating it
Writing document outlines then creating full documents

What is the workflow for routing ? 

Classifies input and directs to specialized followup tasks
Allows for separation of concerns and specialized prompts

When to use the Workflow: Routing ?

When to use: For complex tasks with distinct categories better handled separately
Example use cases:
Directing different customer service query types
Routing simple questions to smaller models, complex ones to larger
models

What is the worflow Parallelization ? 

Workflow: Parallelization
Two key variations:
Sectioning: Breaking tasks into independent parallel subtasks
Voting: Running the same task multiple times for diverse outputs

When to use the Workflow: Parallelization ? 

When to use: When subtasks can be parallelized for speed or when multiple perspectives improve confidence

Give 2 examples of the Workflow: Parallelization and describe them

Example use cases:
Sectioning:

  • Implementing separate guardrails and core responses
  • Automating evals for different aspects of performance

Voting:

  • Code vulnerability reviews from multiple prompts
  • Content moderation with different evaluation thresholds

What is the Workflow: Orchestrator-Workers ? 

Central LLM dynamically breaks down tasks
Delegates to worker LLMs
Synthesizes results

When to use he Workflow: Orchestrator-Workers ? 

When to use: For complex tasks with unpredictable subtasks
Example use cases:
Coding products requiring changes to multiple files
Search tasks gathering information from multiple sources

What is the Workflow: Evaluator-Optimizer ? 

One LLM generates responses
Another provides evaluation and feedback in a loop

When to use the Workflow: Evaluator-Optimizer ?

When to use: With clear evaluation criteria where iterative refinement adds value
Example use cases:
Literary translation with nuanced requirements
Complex search tasks requiring multiple rounds of refinement

For Agents: Advanced Implementation, what are the Key capabilities making agents feasible?

Understanding complex inputs
Reasoning and planning
Using tools reliably
Recovering from errors

What is the typical process flow for agents ? 

  1. Initial command or discussion with user
  2. Independent planning and operation
  3. Gaining ”ground truth” from environment at each step
  4. Pausing for human feedback when needed
  5. Task completion or reaching stopping conditions

When to Use Autonomous Agents?

Best for:
Open-ended problems with unpredictable steps
Situations where hardcoding paths isn’t possible
Tasks requiring multiple LLM operational turns
Trusted environments where scaling is important

What are the considerations with Autonomous Agents ? 

Higher costs
Potential for compounding errors
Need for extensive testing in sandboxed environments
Appropriate guardrails

Give 2 examples of Effective Agent Applications

Customer Support:

  • Natural conversation flow with external information access
  • Tool integration for customer data and knowledge base
  • Programmatic actions (refunds, ticket updates)
  • Clear success measurement through resolutions

Coding Agents:

  • Verifiable solutions through automated tests
  • Iteration based on test feedback
  • Well-defined and structured problem space
  • Objectively measurable output qualit

What are Tool design considerations: with the Prompt Engineering ?

Think about the model’s perspective when designing tools
Include example usage, edge cases, and format requirements
Name parameters clearly with precise descriptions
Test extensively and iterate based on model usage
”Poka-yoke” your tools to make mistakes harder

What are the format recommendations for prompt engineering ? 

Give the model enough tokens to ”think”
Use formats similar to natural internet text
Avoid formatting overhead like line counting or string escaping

What are the Core Principles for Success with prompt engineering ? 

1 Maintain simplicity in your agent’s design
2 Prioritize transparency by showing planning steps
3 Carefully craft your agent-computer interface (ACI)
Remember:
Success isn’t about the most sophisticated system
It’s about the right system for your needs
Start simple and add complexity only when it demonstrably improves outcomes

What is competitive strategy ? 

Competitive strategy is concerned with ”creating and maintaining a competitive advantage in each and every area of business

What concern competitive strategy ? 

Competitive strategy concerns the firm‘s actions that make it outperform its competitors

What are the tow drivers of competitive advantage ? 

Competitive Advantage Derives from Cost Leadership and Differentiation

What is Cost Leadership ? 

A company prices around the market average, and enjoys superior profits because its costs are lower than those of its rivals

What is Differentiation ? 

A company adds value in areas of significance for the customer, who then accepts a premium price for distinctiveness of products and services.

What are the 6 differents Sources of Cost Advantage ? 

Size differences and economies of scal

Experience and learning economies

Low-cost access to factors of production

Technology advantage

Policy choices

What is Economy of Scale ? 

The cost advantages are obtained due to size, or scale of operation, with cost per unit of output decreasing as fixed costs are spread out over more units.
→ Apply to manufacturing, sales, marketing, & administration

From what Economy of Scale result ? 

- Ability to purchase specialized and costly technology
- Division of labor and specialization
- Shared overhead cost